[Qemu-devel] [PATCH] implement more INQUIRY command replies for scsi disk

2008-01-28 Thread Igor Kovalenko
>From what I see there are more bits of scsi INQUIRY command which are >mandatory, and this patch adds two mandatory and one optional scsi VPD page to that command reply. Also handled optional "command support data" request, with error reply. Please apply qemu-scsi-disk-inquiry-20080129-2.patch a

[Qemu-devel] [PATCH] APIC: add NMI and SMI IPI support

2008-01-28 Thread Jan Kiszka
While testing KGDB (yeah, it actually seem to make it into mainline!) under QEMU, I failed to get it running in SMP mode. Reason: NMI IPIs are not correctly handled by QEMU's emulated APIC. To overcome this, the patch below introduces a new interruption request, CPU_INTERRUPT_NMI, so that a VCPU c

[Qemu-devel] [PATCH] improve gdbstub for SMP debugging

2008-01-28 Thread Jan Kiszka
Hi, while trying to debug SMP kernel issues, I always wondered why the built-in debugger was so annoying unreliable in SMP mode. Finally I actually looked into the effect, and I found the gdbstub only being prepared for UP mode. So here comes an attempt to improve the situation. This patch gets r

[Qemu-devel] [PATCH] Fix an infinite loop in the emulated SB16 device

2008-01-28 Thread Aurelien Jarno
This patch from Tavis Ormandy <[EMAIL PROTECTED]> fixes an infinite loop in the emulated SB16 device. See http://taviso.decsystem.org/virtsec.pdf for more details. --- hw/sb16.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/sb16.c b/hw/sb16.c index c22de7a..b2a3

[Qemu-devel] [PATCH] CVE-2007-1320 - Cirrus LGD-54XX "bitblt" heap overflow

2008-01-28 Thread Aurelien Jarno
I have just noticed that patch for CVE-2007-1320 has never been applied to the QEMU CVS. Please find it below. | Multiple heap-based buffer overflows in the cirrus_invalidate_region | function in the Cirrus VGA extension in QEMU 0.8.2, as used in Xen and | possibly other products, might allow loca

[Qemu-devel] [PATCH] GNU/kFreeBSD support

2008-01-28 Thread Aurelien Jarno
The small patch below adds support for GNU/kFreeBSD (FreeBSD kernel with GNU userland). Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]> --- configure |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 96cf1d1..3f24645 100755 --- a/configure

[Qemu-devel] [PATCH] Do not set RTC frequency if already set

2008-01-28 Thread Aurelien Jarno
Do not set RTC frequency to 1024 or warn about this if it has already been set to the correct value. --- vl.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/vl.c b/vl.c index 8c63ad9..2d494c5 100644 --- a/vl.c +++ b/vl.c @@ -1307,11 +1307,14 @@ static void hpet_stop_

[Qemu-devel] [PATCH] Honor TMPDIR environment variable

2008-01-28 Thread Aurelien Jarno
The patch below adds support for the -snapshot option to use the TMPDIR environment variable. --- block.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/block.c b/block.c index 0f8ad7b..0730954 100644 --- a/block.c +++ b/block.c @@ -191,8 +191,12 @@ void get_tmp_fil

Re: [Qemu-devel] [PATCH] arm eabi TLS

2008-01-28 Thread Felipe Contreras
On Dec 13, 2007 3:15 AM, Thayne Harbaugh <[EMAIL PROTECTED]> wrote: > > > On Thu, 2007-12-13 at 01:21 +, Paul Brook wrote: > > > - It would be good to limit the changes in the CPU emulation code to > > > handle the TLS. For example, on MIPS, the TLS register must not be > > > stored in the CPU

Re: [Qemu-devel] [PATCH] mouse click simple queue

2008-01-28 Thread Stefano Stabellini
Samuel Thibault wrote: Ronan Keryell, le Mon 28 Jan 2008 13:24:27 +0100, a écrit : But is it possible to use higher-level queue constructions rather than inlining the queue behaviour in the code? There is QEMUFIFO code in console.c which could be shared for instance, yes. QEMUFIFO cannot be

Re: [Qemu-devel] [PATCH] mouse click simple queue

2008-01-28 Thread Samuel Thibault
Ronan Keryell, le Mon 28 Jan 2008 13:24:27 +0100, a écrit : > But is it possible to use higher-level queue constructions rather than > inlining the queue behaviour in the code? There is QEMUFIFO code in console.c which could be shared for instance, yes. Samuel

Re: [Qemu-devel] [PATCH] mouse click simple queue

2008-01-28 Thread Ronan Keryell
> On Mon, 28 Jan 2008 11:48:00 +, Stefano Stabellini <[EMAIL > PROTECTED]> said: Stefano> Hi all, qemu doesn't enqueue mouse events, just records the Stefano> latest mouse state. This can cause some lost mouse double Stefano> clicks if the events are not processed fast en

[Qemu-devel] ARM VFPv2 support in qemu?

2008-01-28 Thread karin
Hi, Does QEMU0.9.1 include full support of ARM VFPv2, vector floating point version 2? According to info on ARM web page, http://infocenter.arm.com/help/topic/com.arm.doc.dui0068b/DUI0068.pdf, the additional instructions included in v2, FMDRR and FMRRD, FMRRS & FMSRR, transfer two 32-bit words bet

Re: [Qemu-devel] [PATCH] mouse click simple queue

2008-01-28 Thread Stefano Stabellini
Sorry for the format of the patch, this time I have generated it using diff -uNp. Stefano Stabellini wrote: Hi all, qemu doesn't enqueue mouse events, just records the latest mouse state. This can cause some lost mouse double clicks if the events are not processed fast enought. I am attaching

[Qemu-devel] [PATCH] mouse click simple queue

2008-01-28 Thread Stefano Stabellini
Hi all, qemu doesn't enqueue mouse events, just records the latest mouse state. This can cause some lost mouse double clicks if the events are not processed fast enought. I am attaching a patch that implements a simple queue for left mouse click events. Best Regards, Stefano Stabellini Index

Re: [Qemu-devel] [PATCH] CPPFLAGS+= in Makefile.target

2008-01-28 Thread Thiemo Seufer
Ronan Keryell wrote: > > On Fri, 25 Jan 2008 14:39:57 +, Paul Brook <[EMAIL PROTECTED]> said: > > >> Saying CPPFLAGS+= is much more convenient if for any reason the > >> external build environment would like to pass unusual CPPFLAGS. > > Paul> No. This doesn't do what you thin

Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4

2008-01-28 Thread Brad Campbell
Stefano Stabellini wrote: Brad Campbell wrote: Carlo Marcelo Arenas Belon wrote: On Sun, Jan 27, 2008 at 06:01:22PM +, Stefano Stabellini wrote: I can confirm this, I have the same problem on Kubuntu 7.10 i386 using either gcc-3.4 or gcc-3.3. architectural limitation for x86 triggered by

Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4

2008-01-28 Thread Stefano Stabellini
Brad Campbell wrote: Carlo Marcelo Arenas Belon wrote: On Sun, Jan 27, 2008 at 06:01:22PM +, Stefano Stabellini wrote: I can confirm this, I have the same problem on Kubuntu 7.10 i386 using either gcc-3.4 or gcc-3.3. architectural limitation for x86 triggered by cpu-exec.c version 1.131,

Re: [Qemu-devel] [PATCH] CPPFLAGS+= in Makefile.target

2008-01-28 Thread Ronan Keryell
> On Fri, 25 Jan 2008 14:39:57 +, Paul Brook <[EMAIL PROTECTED]> said: >> Saying CPPFLAGS+= is much more convenient if for any reason the >> external build environment would like to pass unusual CPPFLAGS. Paul> No. This doesn't do what you thing it does. The most common way

Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4

2008-01-28 Thread Brad Campbell
Carlo Marcelo Arenas Belon wrote: On Sun, Jan 27, 2008 at 06:01:22PM +, Stefano Stabellini wrote: I can confirm this, I have the same problem on Kubuntu 7.10 i386 using either gcc-3.4 or gcc-3.3. architectural limitation for x86 triggered by cpu-exec.c version 1.131, reverting to 1.130 all