[Qemu-devel] [PATCH] lsi53c895a: Add missing registers and workaround for OS/2 Warp SYM8XX.ADD driver

2010-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds support for using lsi53c895a HBA with SYM8XXX.ADD driver v4.10. This includes adding the missing SOCL and STIME1 registers from lsi_reg_readb(), and missing SOCL and a workaround for bogus SDID WRITE that is requred to function with the SYM8XXX.ADD driver.

[Qemu-devel] [PATCH] scsi-generic: Add reset handler

2010-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds NOP scsi_generic_reset() caller to fix an OOPs which is expected to be set by hw/lsi53895a.c code for both scsi-disk and scsi-generic operation. Signed-off-by: Nicholas A. Bellinger --- hw/scsi-generic.c |6 ++ 1 files changed, 6 insertions(+),

[Qemu-devel] [PATCH] lsi53c895a: Add support for OS/2 Warp SYM8XX.ADD driver

2010-09-29 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Greetings Paul, Jan, Kevin and co, This series is against my v0.12.5 qemu-kvm.git that contains QEMU SCSI layer SGL passthrough from Gerd Hoffman, 8708EM2 MegaSas emulation from Dr. Hannes Reinecke, and well as my own hw/scsi-bsg.c support. This tree is located here: h

[Qemu-devel] Han Wang invited you to Dropbox

2010-09-29 Thread Dropbox
Han Wang wants you to use Dropbox to sync and share files online and across computers. Get started here: http://www.dropbox.com/link/20.76C8LeLjs4/NjM2ODYxMzI1Nw - The Dropbox Team To stop receiving invites from Dropbox, please go to http:/

[Qemu-devel] QEMU throughput is down with SMP

2010-09-29 Thread Venkateswararao Jujjuri (JV)
Code: Mainline QEMU (git://git.qemu.org/qemu.git) Machine: LS21 blade. Disk: Local disk through VirtIO. Did not select any cache option. Defaulting to writethrough. Command tested: 3 parallel instances of : dd if=/dev/zero of=/pmnt/my_pw bs=4k count=10 QEMU with smp=1 19.3 MB/s + 19.2 MB/s

Re: [Qemu-devel] [PATCH] eepro100: Add support for multiple individual addresses (multiple IA)

2010-09-29 Thread Edgar E. Iglesias
On Wed, Sep 29, 2010 at 09:59:55PM +0200, Stefan Weil wrote: > I reviewed the latest sources of Linux, FreeBSD and NetBSD. > They all reset the multiple IA bit (multi_ia in BSD) to zero, > but I did not find code which sets this bit to one > (like it is done by some routers). > > Running Windows g

Re: [Qemu-devel] [PATCH] console: Fix crash with missing active_console (null pointer access)

2010-09-29 Thread Andreas Färber
Hi, Am 29.09.2010 um 21:29 schrieb Stefan Weil: Console selection crashed qemu when there was no active console. Run "qemu -nodefaults" with SDL configured and press alt-ctrl-2 to reproduce this bug. Check active_console before trying to get the dimensions of it (this was obviously the last lo

[Qemu-devel] [PATCH] eepro100: Add support for multiple individual addresses (multiple IA)

2010-09-29 Thread Stefan Weil
I reviewed the latest sources of Linux, FreeBSD and NetBSD. They all reset the multiple IA bit (multi_ia in BSD) to zero, but I did not find code which sets this bit to one (like it is done by some routers). Running Windows guests also did not set this bit. Intel's Open Source Software Developer

[Qemu-devel] [PATCH] console: Fix crash with missing active_console (null pointer access)

2010-09-29 Thread Stefan Weil
Console selection crashed qemu when there was no active console. Run "qemu -nodefaults" with SDL configured and press alt-ctrl-2 to reproduce this bug. Check active_console before trying to get the dimensions of it (this was obviously the last location which did not do this check). Signed-off-by:

[Qemu-devel] [PATCH] Reverse VNC connections: Avoid segmentation fault.

2010-09-29 Thread Eddie Kohler
Hi -vnc HOST:PORT,reverse connections are currently broken, because vnc_refresh_server_surface is called before the guest is actually available. The following patch fixes reverse connections. Eddie >From 32fe1bc61ee9f2f1a8220642a48acb05b5be7322 Mon Sep 17 00:00:00 2001 From: Eddie Kohler Date:

Re: [Qemu-devel] eepro100 multicast

2010-09-29 Thread Stefan Weil
Am 25.09.2010 21:11, schrieb Dunc: Hi all, I've been trying to set up some olives running inside qemu to practice for Juniper exam. I came across the multicast issue when enabling VRRP After lots of googling and reading forums, where people have being doing hacky patches, I found a page that su

Re: [Qemu-devel] Installing XP - case sensitive file names

2010-09-29 Thread Andreas Färber
Am 29.09.2010 um 10:28 schrieb Library Web: Installing an XP virtual machine -- I'm getting a file not found error (a '.sif. file), I'm guessing but it looks like setup.exe is looking for a lowercase file name, while the name lookup is case insensitive and files on the CD are uppercase. What'

Re: [Qemu-devel] [PATCH, RFT] mingw32: use ASLR, no-SEH and DEP if available

2010-09-29 Thread Blue Swirl
On Wed, Sep 29, 2010 at 2:38 AM, TeLeMan wrote: > GDB can not insert breakpoints on Windows Vista/7 because of the flag > -dynamicbase. I'd suppose that is a bug in GDB, or rather a missing feature. ASLR is automatically disabled by GDB 7, but that and "set disable-randomization on" seems to work

[Qemu-devel] Re: PATCH: debugging apic

2010-09-29 Thread Sam King
Thanks for the info. I started looking at the APIC logic and fixing the behavior is going to take me a little bit of time to make sure that I keep all of the APIC states consistent. In the meantime, TeLeMan suggested a patch a few years ago that would fix this (and potentially other) problem

[Qemu-devel] Re: [PATCH] tap: Remove double include of util.h

2010-09-29 Thread Blue Swirl
Thanks, applied. On Tue, Sep 28, 2010 at 9:48 PM, Andreas Färber wrote: > If neither of __FreeBSD__, __FreeBSD_kernel__ and __DragonFly__ is defined, > util.h is included from tap-bsd.c. > Don't include it again if __OpenBSD__ is defined. > > Cc: Blue Swirl > Signed-off-by: Andreas Färber > ---

Re: [Qemu-devel] Re: "Bad ram offset"?

2010-09-29 Thread Blue Swirl
On Tue, Sep 28, 2010 at 8:42 PM, Andreas Färber wrote: > Am 28.09.2010 um 22:24 schrieb Blue Swirl: > >> On Tue, Sep 28, 2010 at 8:02 PM, Andreas Färber >> wrote: >>> >>> Am 28.09.2010 um 21:31 schrieb Artyom Tarasenko: >>> 2010/9/28 Blue Swirl : > > On Mon, Sep 27, 2010 at 9:19 PM,

Re: [Qemu-devel] [PATCH 05/18] Monitor: Drop is_async_return()

2010-09-29 Thread Anthony Liguori
On 09/29/2010 08:28 AM, Luiz Capitulino wrote: On Wed, 29 Sep 2010 13:21:08 +0200 Markus Armbruster wrote: Luiz Capitulino writes: If I understood it correcty, the is_async_return() logic was only used to prevent QMP from issuing duplicated success responses for asynchronous handl

Re: [Qemu-devel] [PATCH 05/18] Monitor: Drop is_async_return()

2010-09-29 Thread Anthony Liguori
On 09/29/2010 08:28 AM, Luiz Capitulino wrote: On Wed, 29 Sep 2010 13:21:08 +0200 Markus Armbruster wrote: Luiz Capitulino writes: If I understood it correcty, the is_async_return() logic was only used to prevent QMP from issuing duplicated success responses for asynchronous handl

Re: [Qemu-devel] [PATCH 09/18] QMP: Introduce command dispatch table

2010-09-29 Thread Markus Armbruster
Luiz Capitulino writes: > On Wed, 29 Sep 2010 13:31:13 +0200 > Markus Armbruster wrote: > >> Luiz Capitulino writes: >> >> > Also update QMP functions to use it. The table is generated >> > from the qemu-monitor-qmp.hx file. >> > >> >>From now on, QMP and HMP have different command dispatch >>

[Qemu-devel] [PATCH 1/2] powerpc: Add a ppc-440x5 Xilinx model

2010-09-29 Thread Edgar E. Iglesias
Add a powerpc 440x5 with the model ID on the Xilinx virtex5. Connect the 440x5 to the 40x interrupt logic. Signed-off-by: Edgar E. Iglesias --- target-ppc/translate_init.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/trans

[Qemu-devel] [PATCH 2/2] powerpc: Add a virtex5 ml507 refdesign board

2010-09-29 Thread Edgar E. Iglesias
Signed-off-by: Edgar E. Iglesias --- Makefile.target|8 + default-configs/ppc-softmmu.mak|2 + default-configs/ppc64-softmmu.mak |2 + default-configs/ppcemb-softmmu.mak |2 + hw/virtex_ml507.c | 278

[Qemu-devel] [PATCH 0/2] powerpc: Add a virtex5 ml507 refdesign board (v2)

2010-09-29 Thread Edgar E. Iglesias
v2: * Address review comments from A. Graf. Edgar E. Iglesias (2): powerpc: Add a ppc-440x5 Xilinx model powerpc: Add a virtex5 ml507 refdesign board Makefile.target|8 + default-configs/ppc-softmmu.mak|2 + default-configs/ppc64-softmmu.mak |2 + default

Re: [Qemu-devel] [PATCH 09/18] QMP: Introduce command dispatch table

2010-09-29 Thread Luiz Capitulino
On Wed, 29 Sep 2010 13:31:13 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > Also update QMP functions to use it. The table is generated > > from the qemu-monitor-qmp.hx file. > > > >>From now on, QMP and HMP have different command dispatch > > tables. > > > > Signed-off-by: Luiz

Re: [Qemu-devel] [PATCH 05/18] Monitor: Drop is_async_return()

2010-09-29 Thread Luiz Capitulino
On Wed, 29 Sep 2010 13:21:08 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > If I understood it correcty, the is_async_return() logic was only > > used to prevent QMP from issuing duplicated success responses > > for asynchronous handlers. > > > > However, QMP doesn't use do_info

[Qemu-devel] Re: [PATCH 2/2] trace: avoid unnecessary recompilation if nothing changed

2010-09-29 Thread Paolo Bonzini
On 09/28/2010 10:58 AM, Markus Armbruster wrote: That was from memory. And my example makefile to illustrate the problem was flawed. So your patch might work reliably after all. The common make voodoo incantation for this is a stamp file, though, as Paolo pointed out. FWIW, Autoconf manual s

Re: [Qemu-devel] [PATCH 00/18] Monitor: split HMP and QMP dispatch tables

2010-09-29 Thread Markus Armbruster
Anthony Liguori writes: > On 09/16/2010 03:20 PM, Luiz Capitulino wrote: >> The subject says it all: with this series applied we'll get different >> dispatch tables for HMP and QMP, which has the side effect of making >> QMP commands (such as qmp_capabilities) disappear from HMP's scope. >> >> Th

Re: [Qemu-devel] [PATCH 09/18] QMP: Introduce command dispatch table

2010-09-29 Thread Markus Armbruster
Luiz Capitulino writes: > Also update QMP functions to use it. The table is generated > from the qemu-monitor-qmp.hx file. > >>From now on, QMP and HMP have different command dispatch > tables. > > Signed-off-by: Luiz Capitulino > --- > Makefile.target |7 +-- > monitor.c | 11 +

Re: [Qemu-devel] [PATCH 05/18] Monitor: Drop is_async_return()

2010-09-29 Thread Markus Armbruster
Luiz Capitulino writes: > If I understood it correcty, the is_async_return() logic was only > used to prevent QMP from issuing duplicated success responses > for asynchronous handlers. > > However, QMP doesn't use do_info() anymore so this is dead logic > and (hopefully) can be safely dropped. L

Re: [Qemu-devel] [PATCH 03/18] QMP: Don't use do_info()

2010-09-29 Thread Markus Armbruster
Luiz Capitulino writes: > Since its inception, QMP has been using HMP's do_info() function > to run query commands. > > This was a bad choice, as it made do_info() more complex and > contributed to couple QMP and HMP. > > This commit fixes that by doing the following changes: > > 1. Introduce q

Re: [Qemu-devel] [PATCH 01/18] Monitor: Introduce find_dispatch_table()

2010-09-29 Thread Markus Armbruster
Luiz Capitulino writes: > It's a generic version of monitor_find_command() which searches > the dispatch table passed as an argument. > > Future commits will introduce new dispatch tables, so we need > common code to search them. > > Signed-off-by: Luiz Capitulino > --- > monitor.c | 10 +

[Qemu-devel] Re: [PATCH] console: Avoid dereferencing NULL active_console

2010-09-29 Thread Gerd Hoffmann
On 09/20/10 15:11, Stefan Hajnoczi wrote: The console_select() function does not check that active_console is non-NULL before dereferencing it. When invoked with qemu -nodefaults it is possible to hit this case. This patch checks that active_console is non-NULL before stashing away the old cons

[Qemu-devel] Installing XP - case sensitive file names

2010-09-29 Thread Library Web
Installing an XP virtual machine -- I'm getting a file not found error (a '.sif. file), I'm guessing but it looks like setup.exe is looking for a lowercase file name, while the name lookup is case insensitive and files on the CD are uppercase. Gareth Osler http://libraryweb.info "What makes peop

Re: [Qemu-devel] Re: [PATCH RFC V4 10/14] Introduce qemu_ram_ptr_unlock.

2010-09-29 Thread Gerd Hoffmann
On 09/28/10 17:14, Anthony Liguori wrote: On 09/28/2010 10:01 AM, anthony.per...@citrix.com wrote: From: Anthony PERARD This function allows to unlock a ram_ptr give by qemu_get_ram_ptr. After a call to qemu_ram_ptr_unlock, the pointer may be unmap from QEMU when used with Xen. Signed-off-by: