[Qemu-devel] qemu-system-mips broke in ec990eb622ad46

2010-12-19 Thread Rob Landley
Before that commit, my mips kernel booted to a shell prompt. After, qemu segfaults immediately. To test this, you can grab my system image at http://landley.net/aboriginal/downloads/binaries/system-image-mips.tar.bz2 and ./run-emulator.sh out off that. Rob -- GPLv3: as worthy a successor as

[Qemu-devel] Re: [PATCH 1/4] prep: Remove bogus BIOS size check

2010-12-19 Thread Alexander Graf
On 14.12.2010, at 01:49, Andreas Färber wrote: r3480 added this check to account for the entry vector 0xfff00100 to be available for CPUs that need it. Today however, the NIP is not yet initialized at this point (zero), so the check always triggers. Cc: Hervé Poussineau

[Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation

2010-12-19 Thread Alexander Graf
On 14.12.2010, at 01:49, Andreas Färber wrote: Hello, Based on an earlier attempt of mine to make OpenBIOS work with -M prep, with kind support from Hervé Poussineau here's an initial stab at fixing the long-broken PReP emulation and preparing migration from abandoned OpenHack'Ware to

[Qemu-devel] [PATCH 1/2] cirrus_vga: Declare as little endian

2010-12-19 Thread Blue Swirl
This patch replaces explicit bswaps with endianness hints to the mmio layer. CC: Alexander Graf ag...@suse.de Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/cirrus_vga.c | 112 ++- 1 files changed, 12 insertions(+), 100 deletions(-)

[Qemu-devel] [PATCH 2/2] serial: Declare as little endian

2010-12-19 Thread Blue Swirl
This patch replaces explicit bswaps with endianness hints to the mmio layer. CC: Alexander Graf ag...@suse.de Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/serial.c | 86 -- 1 files changed, 18 insertions(+), 68 deletions(-) diff

[Qemu-devel] Re: [PATCH 2/2] ahci: delete write-only variables (v2)

2010-12-19 Thread Blue Swirl
Thanks for the ack, applied. On Sat, Dec 18, 2010 at 8:10 PM, Alexander Graf ag...@suse.de wrote: On 18.12.2010, at 21:00, Blue Swirl wrote: Avoid these warnings with GCC 4.6.0: /src/qemu/hw/ide/ahci.c: In function 'ahci_reset_port': /src/qemu/hw/ide/ahci.c:810:14: error: variable 'tfd' set

Re: [Qemu-devel] [PATCH v3 1/7] apic: Don't use SoftFloat uint32 type

2010-12-19 Thread Blue Swirl
On Sat, Dec 18, 2010 at 4:25 PM, Andreas Färber andreas.faer...@web.de wrote: softfloat.h's uint32 type has least-width semantics, whereas surrounding code uses uint32_t, so use uint32_t too. I think patches 1 to 3 don't have much to do with softfloat, the type uses are just general sloppiness

Re: [Qemu-devel] [PATCH v3 4/7] softfloat: Resolve type mismatches between declaration and implementation

2010-12-19 Thread Blue Swirl
On Sat, Dec 18, 2010 at 4:25 PM, Andreas Färber andreas.faer...@web.de wrote: The original SoftFloat 2.0b library avoided the use of custom integer types in its public headers. This requires the definitions of int{8,16,32,64} to match the assumptions in the declarations. This breaks on BeOS R5

Re: [Qemu-devel] [PATCH v3 4/7] softfloat: Resolve type mismatches between declaration and implementation

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 12:28 schrieb Blue Swirl: On Sat, Dec 18, 2010 at 4:25 PM, Andreas Färber andreas.faer...@web.de wrote: The original SoftFloat 2.0b library avoided the use of custom integer types in its public headers. This requires the definitions of int{8,16,32,64} to match the

[Qemu-devel] Re: [PATCH] qbus: register reset handler for qbus whose parent is NULL

2010-12-19 Thread Michael S. Tsirkin
On Sun, Dec 19, 2010 at 10:22:50AM +0900, Isaku Yamahata wrote: Stefan Weil reported the regression caused by ec990eb622ad46df5ddcb1e94c418c271894d416 as follows The second regression also occurs with MIPS malta. Networking no longer works with the default pcnet nic. This is caused

[Qemu-devel] Re: [PATCH 1/4] prep: Remove bogus BIOS size check

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 10:52 schrieb Alexander Graf: On 14.12.2010, at 01:49, Andreas Färber wrote: r3480 added this check to account for the entry vector 0xfff00100 to be available for CPUs that need it. Today however, the NIP is not yet initialized at this point (zero), so the check always

Re: [Qemu-devel] Re: [PATCH v3 2/7] wdt_ib700: Don't use SoftFloat int64 type

2010-12-19 Thread Andreas Färber
Am 18.12.2010 um 17:47 schrieb Richard W.M. Jones: On Sat, Dec 18, 2010 at 05:25:26PM +0100, Andreas Färber wrote: softfloat.h's int64 type has least-width semantics, but this doesn't seem intended here, so use plain int64_t. v3: * Split off. Cc: Richard W.M. Jones rjo...@redhat.com

Re: [Qemu-devel] qemu-system-mips broke in ec990eb622ad46

2010-12-19 Thread Stefan Weil
Am 19.12.2010 09:26, schrieb Rob Landley: Before that commit, my mips kernel booted to a shell prompt. After, qemu segfaults immediately. To test this, you can grab my system image at http://landley.net/aboriginal/downloads/binaries/system-image-mips.tar.bz2 and ./run-emulator.sh out off

[Qemu-devel] Re: [PATCH] qbus: register reset handler for qbus whose parent is NULL

2010-12-19 Thread Michael S. Tsirkin
On Sun, Dec 19, 2010 at 10:22:50AM +0900, Isaku Yamahata wrote: Stefan Weil reported the regression caused by ec990eb622ad46df5ddcb1e94c418c271894d416 as follows The second regression also occurs with MIPS malta. Networking no longer works with the default pcnet nic. This is caused

[Qemu-devel] Re: [PATCH] qbus: register reset handler for qbus whose parent is NULL

2010-12-19 Thread Michael S. Tsirkin
On Sun, Dec 19, 2010 at 03:19:22PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 19, 2010 at 10:22:50AM +0900, Isaku Yamahata wrote: Stefan Weil reported the regression caused by ec990eb622ad46df5ddcb1e94c418c271894d416 as follows The second regression also occurs with MIPS malta.

[Qemu-devel] Re: Problems executing qemu-ppc

2010-12-19 Thread Stefano Bonifazi
Hi! I am answering myself hoping that my solution may help somebody other who has to face the same problem: In QEMU home page, under downloads section you can find QEMU Linux user mode tests: http://wiki.qemu.org/download/linux-user-test-0.3.tar.gz Inside there are also examples for qemu-ppc

Re: [Qemu-devel] [PATCH v2 2/6] qdev: reset qdev along with qdev tree

2010-12-19 Thread Michael S. Tsirkin
Michael, my patch (which fixes the first regression / crash) is needed, too. Please add it to your git queue. Stefan Could you pls review/test the pci branch of my tree? This should have all the necessary bits. -- Thanks, MST

Re: [Qemu-devel] Re: [PATCH v3 2/7] wdt_ib700: Don't use SoftFloat int64 type

2010-12-19 Thread Richard W.M. Jones
On Sun, Dec 19, 2010 at 01:51:22PM +0100, Andreas Färber wrote: Am 18.12.2010 um 17:47 schrieb Richard W.M. Jones: On Sat, Dec 18, 2010 at 05:25:26PM +0100, Andreas Färber wrote: softfloat.h's int64 type has least-width semantics, but this doesn't seem intended here, so use plain int64_t.

Re: [Qemu-devel] Re: Problems executing qemu-ppc

2010-12-19 Thread Mulyadi Santosa
Hi :) On Sun, Dec 19, 2010 at 03:29, Stefano Bonifazi stefboombas...@email.it wrote: Hi! I am answering myself hoping that my solution may help somebody other who has to face the same problem: I am not PPC user by myself, but I think it is a good candidate to be written in either Qemu web

Re: [Qemu-devel] Re: [PATCH v3 2/7] wdt_ib700: Don't use SoftFloat int64 type

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 15:16 schrieb Richard W.M. Jones: On Sun, Dec 19, 2010 at 01:51:22PM +0100, Andreas Färber wrote: Am 18.12.2010 um 17:47 schrieb Richard W.M. Jones: On Sat, Dec 18, 2010 at 05:25:26PM +0100, Andreas Färber wrote: softfloat.h's int64 type has least-width semantics, but this

[Qemu-devel] libqemu.a not made with version 0.13

2010-12-19 Thread Stefano Bonifazi
Hi all! version 0.13 of qemu does not make libqemu.a Is this some choice of developers, or due to any problem? How to fix that? Thank you in advance! Stefano B.

Re: [Qemu-devel] Re: [PATCH v3 2/7] wdt_ib700: Don't use SoftFloat int64 type

2010-12-19 Thread Blue Swirl
On Sun, Dec 19, 2010 at 2:28 PM, Andreas Färber andreas.faer...@web.de wrote: Am 19.12.2010 um 15:16 schrieb Richard W.M. Jones: On Sun, Dec 19, 2010 at 01:51:22PM +0100, Andreas Färber wrote: Am 18.12.2010 um 17:47 schrieb Richard W.M. Jones: On Sat, Dec 18, 2010 at 05:25:26PM +0100,

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-19 Thread Michael S. Tsirkin
On Wed, Dec 15, 2010 at 12:59:45PM +, Stefan Hajnoczi wrote: I'm concerned that the tests were done on qemu.git. Could you check block with qemu-kvm too please? The following results show qemu-kvm with virtio-ioeventfd v3 for both aio=native and aio=threads:

[Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 10:54 schrieb Alexander Graf: On 14.12.2010, at 01:49, Andreas Färber wrote: Hello, Based on an earlier attempt of mine to make OpenBIOS work with -M prep, with kind support from Hervé Poussineau here's an initial stab at fixing the long-broken PReP emulation and

Re: [Qemu-devel] Re: [PATCH v3 2/7] wdt_ib700: Don't use SoftFloat int64 type

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 15:38 schrieb Blue Swirl: On Sun, Dec 19, 2010 at 2:28 PM, Andreas Färber andreas.faer...@web.de wrote: Am 19.12.2010 um 15:16 schrieb Richard W.M. Jones: On Sun, Dec 19, 2010 at 01:51:22PM +0100, Andreas Färber wrote: Am 18.12.2010 um 17:47 schrieb Richard W.M. Jones:

Re: [Qemu-devel] Re: [PATCH v3 2/7] wdt_ib700: Don't use SoftFloat int64 type

2010-12-19 Thread Blue Swirl
On Sun, Dec 19, 2010 at 3:07 PM, Andreas Färber andreas.faer...@web.de wrote: Am 19.12.2010 um 15:38 schrieb Blue Swirl: On Sun, Dec 19, 2010 at 2:28 PM, Andreas Färber andreas.faer...@web.de wrote: Am 19.12.2010 um 15:16 schrieb Richard W.M. Jones: On Sun, Dec 19, 2010 at 01:51:22PM

[Qemu-devel] Re: [PATCH 2/2] serial: Declare as little endian

2010-12-19 Thread Alexander Graf
On 19.12.2010, at 11:46, Blue Swirl wrote: This patch replaces explicit bswaps with endianness hints to the mmio layer. CC: Alexander Graf ag...@suse.de Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/serial.c | 86 -- 1

[Qemu-devel] Re: [PATCH 1/4] prep: Remove bogus BIOS size check

2010-12-19 Thread Alexander Graf
On 19.12.2010, at 13:26, Andreas Färber wrote: Am 19.12.2010 um 10:52 schrieb Alexander Graf: On 14.12.2010, at 01:49, Andreas Färber wrote: r3480 added this check to account for the entry vector 0xfff00100 to be available for CPUs that need it. Today however, the NIP is not yet

[Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation

2010-12-19 Thread Alexander Graf
On 19.12.2010, at 16:04, Andreas Färber wrote: Am 19.12.2010 um 10:54 schrieb Alexander Graf: On 14.12.2010, at 01:49, Andreas Färber wrote: Hello, Based on an earlier attempt of mine to make OpenBIOS work with -M prep, with kind support from Hervé Poussineau here's an initial stab at

Re: [Qemu-devel] Re: Problems executing qemu-ppc

2010-12-19 Thread Alexander Graf
On 19.12.2010, at 15:19, Mulyadi Santosa wrote: Hi :) On Sun, Dec 19, 2010 at 03:29, Stefano Bonifazi stefboombas...@email.it wrote: Hi! I am answering myself hoping that my solution may help somebody other who has to face the same problem: I am not PPC user by myself, but I think it

Re: [Qemu-devel] [PATCH v2] win32: Fix CRLF problem in make_device_config.sh

2010-12-19 Thread Stefan Weil
Am 18.12.2010 19:59, schrieb Blue Swirl: Thanks, applied. On Sat, Dec 18, 2010 at 5:09 PM, Andreas Färber andreas.faer...@web.de wrote: Am 18.12.2010 um 17:34 schrieb Stefan Weil: QEMU source code with CRLF line endings which is quite common on windows hosts fails with current

Re: [Qemu-devel] [PATCH v2] win32: Fix CRLF problem in make_device_config.sh

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 16:42 schrieb Stefan Weil: Am 18.12.2010 19:59, schrieb Blue Swirl: Thanks, applied. On Sat, Dec 18, 2010 at 5:09 PM, Andreas Färber andreas.faer...@web.de wrote: Am 18.12.2010 um 17:34 schrieb Stefan Weil: QEMU source code with CRLF line endings which is quite common on

Re: [Qemu-devel] libqemu.a not made with version 0.13

2010-12-19 Thread Blue Swirl
On Sun, Dec 19, 2010 at 2:29 PM, Stefano Bonifazi stefboombas...@gmail.com wrote: Hi all!  version 0.13 of qemu does not make libqemu.a Is this some choice of developers, or due to any problem? The API provided by libqemu.a is not supported, so when the compile system was improved so that

Re: [Qemu-devel] [PATCH v2] win32: Fix CRLF problem in make_device_config.sh

2010-12-19 Thread Blue Swirl
On Sun, Dec 19, 2010 at 3:42 PM, Stefan Weil w...@mail.berlios.de wrote: Am 18.12.2010 19:59, schrieb Blue Swirl: Thanks, applied. On Sat, Dec 18, 2010 at 5:09 PM, Andreas Färber andreas.faer...@web.de wrote: Am 18.12.2010 um 17:34 schrieb Stefan Weil: QEMU source code with CRLF line

[Qemu-devel] [PATCH v4 1/3] apic: Fix accidental use of SoftFloat uint32 type

2010-12-19 Thread Andreas Färber
softfloat.h's uint32 type has least-width semantics. Surrounding code uses uint32_t, so use uint32_t here, too. v4: * Summary change. v3: * Split off. Signed-off-by: Andreas Färber andreas.faer...@web.de --- hw/apic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[Qemu-devel] [PATCH v4 3/3] target-i386: Fix accidental use of SoftFloat uint64 type

2010-12-19 Thread Andreas Färber
softfloat.h's uint64 type has least-width semantics. Use uint64_t instead since that is used in helpers. v4: * Summary change. v3: * Split off. Cc: Huang Ying ying.hu...@intel.com Signed-off-by: Andreas Färber andreas.faer...@web.de Acked-by: Juan Quintela quint...@redhat.com ---

[Qemu-devel] [PULL 0/3] Prepare removal of SoftFloat integer types

2010-12-19 Thread Andreas Färber
Hello, The following patches are split off from the softfloat series and updated as requested. The following changes since commit 4fd37a98d1248bae54a9f71ee1c252d2b2f1efd5: Avoid a warning from OpenBSD linker (2010-12-19 14:05:43 +) are available in the git repository at:

[Qemu-devel] [PATCH v4 2/3] wdt_ib700: Fix accidental use of SoftFloat int64 type

2010-12-19 Thread Andreas Färber
softfloat.h's int64 type has least-width semantics. Since we're assigning an int64_t, use plain int64_t. v4: * Summary change. v3: * Split off. Signed-off-by: Andreas Färber andreas.faer...@web.de Acked-by: Richard W.M. Jones rjo...@redhat.com --- hw/wdt_ib700.c |2 +- 1 files changed, 1

Re: [Qemu-devel] libqemu.a not made with version 0.13

2010-12-19 Thread Stefano Bonifazi
On 12/19/2010 05:10 PM, Blue Swirl wrote: On Sun, Dec 19, 2010 at 2:29 PM, Stefano Bonifazi stefboombas...@gmail.com wrote: Hi all! version 0.13 of qemu does not make libqemu.a Is this some choice of developers, or due to any problem? The API provided by libqemu.a is not supported, so when

Re: [Qemu-devel] [PATCH v2] win32: Fix CRLF problem in make_device_config.sh

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 17:21 schrieb Blue Swirl: On Sun, Dec 19, 2010 at 3:42 PM, Stefan Weil w...@mail.berlios.de wrote: Am 18.12.2010 19:59, schrieb Blue Swirl: Thanks, applied. On Sat, Dec 18, 2010 at 5:09 PM, Andreas Färber andreas.faer...@web.de wrote: Am 18.12.2010 um 17:34 schrieb

Re: [Qemu-devel] libqemu.a not made with version 0.13

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 17:32 schrieb Stefano Bonifazi: I need to create an application that execute a PPC binary on a i386 host with some input, and get the result from that binary.. I thought I could use libqemu in some user mode way (i do not need the full system emulation) .. I can't simply

Re: [Qemu-devel] libqemu.a not made with version 0.13

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 17:10 schrieb Blue Swirl: On Sun, Dec 19, 2010 at 2:29 PM, Stefano Bonifazi stefboombas...@gmail.com wrote: Hi all! version 0.13 of qemu does not make libqemu.a Is this some choice of developers, or due to any problem? The API provided by libqemu.a is not supported, so when

[Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 16:34 schrieb Alexander Graf: On 19.12.2010, at 16:04, Andreas Färber wrote: Am 19.12.2010 um 10:54 schrieb Alexander Graf: On 14.12.2010, at 01:49, Andreas Färber wrote: Hello, Based on an earlier attempt of mine to make OpenBIOS work with -M prep, with kind support

Re: [Qemu-devel] Re: [PATCH] sparc32: ledma extra registers

2010-12-19 Thread Bob Breuer
Andreas Färber wrote: Am 18.12.2010 um 19:53 schrieb Blue Swirl: On Sat, Dec 18, 2010 at 5:09 PM, Bob Breuer breu...@mc.net wrote: ledma has 0x20 bytes of registers according to OBP, and at least Solaris9 reads the 5th register which is beyond what we've mapped. So let's setup a flag

[Qemu-devel] [PATCH] sparc32: ledma extra registers need tracing too

2010-12-19 Thread Bob Breuer
Also trace the extra registers, and call them undocumented instead. Signed-off-by: Bob Breuer breu...@mc.net diff --git a/hw/sparc32_dma.c b/hw/sparc32_dma.c index 56be8c8..0325a55 100644 --- a/hw/sparc32_dma.c +++ b/hw/sparc32_dma.c @@ -170,7 +170,9 @@ static uint32_t dma_mem_readl(void

Re: [Qemu-devel] libqemu.a not made with version 0.13

2010-12-19 Thread Stefano Bonifazi
On 12/19/2010 05:51 PM, Andreas Färber wrote: Am 19.12.2010 um 17:32 schrieb Stefano Bonifazi: I need to create an application that execute a PPC binary on a i386 host with some input, and get the result from that binary.. I thought I could use libqemu in some user mode way (i do not need the

Re: [Qemu-devel] libqemu.a not made with version 0.13

2010-12-19 Thread Stefano Bonifazi
On 12/19/2010 06:03 PM, Andreas Färber wrote: In particular, on some platforms libqemu.a would seem to compile okay but the resulting QEMU executable would simply crash. We got around these --whole-archive issues by putting together lists of object files in Makefile.objs et al. that we can

[Qemu-devel] Re: Problems executing qemu-ppc

2010-12-19 Thread Stefano Bonifazi
On 12/19/2010 04:38 PM, Alexander Graf wrote: On 19.12.2010, at 15:19, Mulyadi Santosa wrote: Hi :) On Sun, Dec 19, 2010 at 03:29, Stefano Bonifazistefboombas...@email.it wrote: Hi! I am answering myself hoping that my solution may help somebody other who has to face the same problem: I

[Qemu-devel] Patches for OpenBSD support.

2010-12-19 Thread Brad
Here are a few patches for OpenBSD support. From 0477858c78d7e377bf6db8a498f7745a937c799d Mon Sep 17 00:00:00 2001 From: Brad Smith b...@comstyle.com Date: Sun, 19 Dec 2010 15:17:42 -0500 Subject: [PATCH 1/3] Add support for OpenBSD to QEMU's tap driver. --- net/tap-bsd.c |8 ++-- 1

Re: [Qemu-devel] [PATCH 5/6] [RFC] Emulation of Leon3.

2010-12-19 Thread Edgar E. Iglesias
On Fri, Dec 17, 2010 at 07:14:20PM +, Blue Swirl wrote: On Wed, Dec 15, 2010 at 5:47 PM, Fabien Chouteau chout...@adacore.com wrote: On 12/13/2010 07:18 PM, Blue Swirl wrote: On Mon, Dec 13, 2010 at 3:51 PM, Fabien Chouteauchout...@adacore.com  wrote: On 12/11/2010 10:56 AM, Blue

[Qemu-devel] Re: [PATCH v3 3/7] target-i386: Don't use SoftFloat uint64 type

2010-12-19 Thread Huang Ying
On Sun, 2010-12-19 at 00:25 +0800, Andreas Färber wrote: softfloat.h's uint64 type has least-width semantics, which seems unintended here since uint64_t is used in helpers. v3: * Split off. Cc: Huang Ying ying.hu...@intel.com Cc: Juan Quintela quint...@redhat.com Signed-off-by: Andreas

Re: [Qemu-devel] [PATCH] disable sigcld handling before calling pclose()

2010-12-19 Thread Wen Congyang
At 12/14/2010 05:23 PM, Wen Congyang Write: At 2010-12-09 11:41, Wen Congyang Write: When I use the command 'virsh save' to save the domain state, I receive the following error message: operation failed: Migration unexpectedly failed. I debug the qemu by adding some printf(), and find the

Re: [Qemu-devel] Re: Problems executing qemu-ppc

2010-12-19 Thread Mulyadi Santosa
Hi Stefano :) On Mon, Dec 20, 2010 at 03:22, Stefano Bonifazi stefboombas...@email.it wrote: As part of my project I am writing a good QEMU technical documentation, .. I want to insert also this in it someway.. Then if my teacher's policy allows it I'll make my documentation public..I am

Re: [Qemu-devel] help

2010-12-19 Thread Mulyadi Santosa
Is it a request of help or you simply just want to reforward the digest? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

[Qemu-devel] Re: [PATCH V2] qemu, kvm: Enable user space NMI injection for kvm guest

2010-12-19 Thread Lai Jiangshan
On 12/10/2010 04:41 PM, Jan Kiszka wrote: Am 10.12.2010 08:42, Lai Jiangshan wrote: Make use of the new KVM_NMI IOCTL to send NMIs into the KVM guest if the user space raised them. (example: qemu monitor's nmi command) Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- diff --git

[Qemu-devel] Re: [PATCH] qbus: register reset handler for qbus whose parent is NULL

2010-12-19 Thread Isaku Yamahata
On Sun, Dec 19, 2010 at 03:24:32PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 19, 2010 at 03:19:22PM +0200, Michael S. Tsirkin wrote: On Sun, Dec 19, 2010 at 10:22:50AM +0900, Isaku Yamahata wrote: Stefan Weil reported the regression caused by ec990eb622ad46df5ddcb1e94c418c271894d416 as

[Qemu-devel] [PATCH v2] qbus: register reset handler for qbus whose parent is NULL

2010-12-19 Thread Isaku Yamahata
Stefan Weil reported the regression caused by ec990eb622ad46df5ddcb1e94c418c271894d416 as follows The second regression also occurs with MIPS malta. Networking no longer works with the default pcnet nic. This is caused because the reset function for pcnet is no longer called during system

Re: [Qemu-devel] Re: [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-19 Thread Lai Jiangshan
On 12/17/2010 11:25 PM, Avi Kivity wrote: On 12/17/2010 01:22 PM, Luiz Capitulino wrote: I think Avi's suggest is better, and I will use inject-nmi (without cpu-index argument) to send NMI to all cpus, like physical GUI. If some one want to send NMI to a set of cpus, he can use

[Qemu-devel] [PATCH 2/3] nmi: make cpu-index argument optional

2010-12-19 Thread Lai Jiangshan
When the argument cpu-index is not given, then nmi command will inject NMI on all CPUs. This simulate the nmi button on physical machine. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- diff --git a/hmp-commands.hx b/hmp-commands.hx index 8de7aa3..d8fe4c0 100644 --- a/hmp-commands.hx +++

[Qemu-devel] [PATCH 1/3] nmi: convert cpu_index to cpu-index

2010-12-19 Thread Lai Jiangshan
cpu-index is better name. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- diff --git a/hmp-commands.hx b/hmp-commands.hx index 4befbe2..8de7aa3 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -721,7 +721,7 @@ ETEXI #if defined(TARGET_I386) { .name = nmi, -

[Qemu-devel] [PATCH V4 3/3] qmp, nmi: convert do_inject_nmi() to QObject, QError

2010-12-19 Thread Lai Jiangshan
Make we can inject NMI via qemu-monitor-protocol. We use inject-nmi for the qmp command name, the meaning is clearer. When cpu-index is found invalid in runtime, it will report QERR_INVALID_PARAMETER_VALUE. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- diff --git a/hmp-commands.hx

Re: [Qemu-devel] [PATCH] disable sigcld handling before calling pclose()

2010-12-19 Thread Andreas Färber
Am 20.12.2010 um 02:25 schrieb Wen Congyang: At 12/14/2010 05:23 PM, Wen Congyang Write: At 2010-12-09 11:41, Wen Congyang Write: When I use the command 'virsh save' to save the domain state, I receive the following error message: operation failed: Migration unexpectedly failed. I debug the

[Qemu-devel] Re: [PATCH v2] qbus: register reset handler for qbus whose parent is NULL

2010-12-19 Thread Michael S. Tsirkin
On Mon, Dec 20, 2010 at 02:33:35PM +0900, Isaku Yamahata wrote: Stefan Weil reported the regression caused by ec990eb622ad46df5ddcb1e94c418c271894d416 as follows The second regression also occurs with MIPS malta. Networking no longer works with the default pcnet nic. This is caused

Re: [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ

2010-12-19 Thread Andreas Färber
Am 14.12.2010 um 01:49 schrieb Andreas Färber: Calling isa_ide_init() twice with the same IRQ 13 fails: qemu: hardware error: isa irq 13 already assigned Use a different IRQ (14) for the second one to avoid this. Signed-off-by: Hervé Poussineau hpous...@reactos.org Cc: Alexander Graf

[Qemu-devel] Re: [PATCH v2] qbus: register reset handler for qbus whose parent is NULL

2010-12-19 Thread Isaku Yamahata
On Mon, Dec 20, 2010 at 08:35:24AM +0200, Michael S. Tsirkin wrote: diff --git a/hw/qdev.h b/hw/qdev.h index aaaf55a..b239bb4 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -199,6 +199,8 @@ int qdev_walk_children(DeviceState *dev, qdev_walkerfn *devfn,

Re: [Qemu-devel] [PATCH v4 3/3] target-i386: Fix accidental use of SoftFloat uint64 type

2010-12-19 Thread Andreas Färber
Am 19.12.2010 um 17:22 schrieb Andreas Färber: softfloat.h's uint64 type has least-width semantics. Use uint64_t instead since that is used in helpers. v4: * Summary change. v3: * Split off. Cc: Huang Ying ying.hu...@intel.com Signed-off-by: Andreas Färber andreas.faer...@web.de Acked-by: