Re: [Qemu-devel] [Qemu-ppc] [PATCH] pseries: Correct vmx/dfp handling in both KVM and TCG cases

2011-10-24 Thread Alexander Graf
On 24.10.2011, at 10:55, Alexander Graf wrote: On 24.10.2011, at 10:25, Alexander Graf wrote: On 23.10.2011, at 22:29, David Gibson wrote: On Thu, Oct 20, 2011 at 11:49:40PM -0700, Alexander Graf wrote: On 20.10.2011, at 22:06, David Gibson wrote: On Thu, Oct 20, 2011 at

[Qemu-devel] Qemu on Windows rather ignores AltGr Key (de keyboard)

2011-10-24 Thread Robert
Hi, Qemu Manager 7.0 with QEMU 0.11.1 (last qemu with KQEMU accelerator) on German Windows XP, German Keyboard: I cannot type any characters which require the AltGr key. And | @ \ are very important! No reaction at all, when I press AltGr and any of the sensitive keys, so no wrong

[Qemu-devel] Windows 98 installer

2011-10-24 Thread Michael Karcher
Hello developers, there are plenty of reports in the internet that the Windows 98 installer crashes or hangs in qemu. I took the effort to track down what causes these problems, and I think I found out the core reason, which seems to be a bug in the Microsoft DOS Extender DOSX. The Windows

Re: [Qemu-devel] [PATCH v2 3/4] Add cap reduction support to enable use as SUID

2011-10-24 Thread Corey Bryant
On 10/24/2011 01:10 PM, Blue Swirl wrote: On Mon, Oct 24, 2011 at 14:13, Corey Bryantcor...@linux.vnet.ibm.com wrote: On 10/23/2011 09:22 AM, Blue Swirl wrote: On Fri, Oct 21, 2011 at 15:07, Corey Bryantcor...@linux.vnet.ibm.com wrote: The ideal way to use qemu-bridge-helper is to

Re: [Qemu-devel] [PATCH 0/4] add make check

2011-10-24 Thread Eduardo Habkost
On Mon, Sep 05, 2011 at 09:55:20AM +0200, Markus Armbruster wrote: Gerd Hoffmann kra...@redhat.com writes: Hi, This patch series intends to make unit testing easier. It adds a new make check target which can be used to run all unit tests which are currently in the tree. It also

[Qemu-devel] [PATCH] KVM: PPC: Override host vmx/vsx/dfp only when information known

2011-10-24 Thread Alexander Graf
The -cpu host feature tries to find out the host capabilities based on device tree information. However, we don't always have that available because it's an optional property in dt. So instead of force unsetting values depending on an unreliable source of information, let's just try to be clever

Re: [Qemu-devel] [PATCH 0/4] add make check

2011-10-24 Thread Anthony Liguori
On 10/24/2011 01:43 PM, Eduardo Habkost wrote: On Mon, Sep 05, 2011 at 09:55:20AM +0200, Markus Armbruster wrote: Gerd Hoffmannkra...@redhat.com writes: Hi, This patch series intends to make unit testing easier. It adds a new make check target which can be used to run all unit tests

Re: [Qemu-devel] [PATCH v2 3/4] Add cap reduction support to enable use as SUID

2011-10-24 Thread Blue Swirl
On Mon, Oct 24, 2011 at 18:38, Corey Bryant cor...@linux.vnet.ibm.com wrote: On 10/24/2011 01:10 PM, Blue Swirl wrote: On Mon, Oct 24, 2011 at 14:13, Corey Bryantcor...@linux.vnet.ibm.com  wrote: On 10/23/2011 09:22 AM, Blue Swirl wrote: On Fri, Oct 21, 2011 at 15:07, Corey

Re: [Qemu-devel] [PATCH v2 3/4] Add cap reduction support to enable use as SUID

2011-10-24 Thread Corey Bryant
On 10/24/2011 02:58 PM, Blue Swirl wrote: On Mon, Oct 24, 2011 at 18:38, Corey Bryantcor...@linux.vnet.ibm.com wrote: On 10/24/2011 01:10 PM, Blue Swirl wrote: On Mon, Oct 24, 2011 at 14:13, Corey Bryantcor...@linux.vnet.ibm.com wrote: On 10/23/2011 09:22 AM, Blue Swirl wrote: On

Re: [Qemu-devel] [PATCH v2 3/4] Add cap reduction support to enable use as SUID

2011-10-24 Thread Anthony Liguori
On 10/24/2011 09:13 AM, Corey Bryant wrote: On 10/23/2011 09:22 AM, Blue Swirl wrote: On Fri, Oct 21, 2011 at 15:07, Corey Bryantcor...@linux.vnet.ibm.com wrote: The ideal way to use qemu-bridge-helper is to give it an fscap of using: setcap cap_net_admin=ep qemu-bridge-helper

Re: [Qemu-devel] [PATCH v2 3/4] Add cap reduction support to enable use as SUID

2011-10-24 Thread Anthony Liguori
On 10/24/2011 02:13 PM, Corey Bryant wrote: Right, it's not desirable, but isn't that the best we can do without libcap or FS capabilities? I think the best we can do is not let it run in those cases. :) I'd like see if others in the community have an opinion on this though. IMHO, it should

[Qemu-devel] [PATCH] main-loop: Add missing include file

2011-10-24 Thread Stefan Weil
stdint.h defines the POSIX data types and is needed for MinGW-w64 (and maybe other hosts). Signed-off-by: Stefan Weil s...@weilnetz.de --- main-loop.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/main-loop.c b/main-loop.c index bfecdb7..d9585f8 100644 ---

Re: [Qemu-devel] [PATCH] main-loop: Add missing include file

2011-10-24 Thread Anthony Liguori
On 10/24/2011 02:39 PM, Stefan Weil wrote: stdint.h defines the POSIX data types and is needed for MinGW-w64 (and maybe other hosts). Signed-off-by: Stefan Weils...@weilnetz.de --- main-loop.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/main-loop.c b/main-loop.c

[Qemu-devel] [PATCH 01/12] Fix typo: buf - bus

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/audiodev.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/audiodev.h b/hw/audiodev.h index 8e930b2..d60c349 100644 --- a/hw/audiodev.h +++ b/hw/audiodev.h @@ -11,7 +11,7 @@ int Adlib_init(qemu_irq *pic);

[Qemu-devel] [PATCH 00/11] isa: preliminary work for multiple buses

2011-10-24 Thread Hervé Poussineau
Current patches are a rework of my patches already available at [1]. They don't provide full support for multiple ISA buses (yet), but add a ISABus or ISADevice argument to all ISA functions. They are mostly mechanically touching every instanciation of ISA devices, so number of lines is quite high

[Qemu-devel] [PATCH 02/11] isa: move ISABus structure definition to header file

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/isa-bus.c |5 - hw/isa.h |6 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index dcbb134..7c94f0b 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -22,11 +22,6 @@

[Qemu-devel] [PATCH 03/11] i8259: give ISA device to isa_register_ioport()

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/i8259.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i8259.c b/hw/i8259.c index 4446339..7331e0e 100644 --- a/hw/i8259.c +++ b/hw/i8259.c @@ -469,9 +469,9 @@ static int pic_initfn(ISADevice *dev)

[Qemu-devel] [PATCH] target-xtensa: handle cache options in the overlay tool

2011-10-24 Thread Max Filippov
Cache options must be enabled for the cores that have cache to avoid illegal instruction exceptions. Signed-off-by: Max Filippov jcmvb...@gmail.com --- target-xtensa/overlay_tool.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/target-xtensa/overlay_tool.h

Re: [Qemu-devel] [PATCH v2 3/4] Add cap reduction support to enable use as SUID

2011-10-24 Thread Corey Bryant
On 10/24/2011 03:21 PM, Anthony Liguori wrote: On 10/24/2011 02:13 PM, Corey Bryant wrote: Right, it's not desirable, but isn't that the best we can do without libcap or FS capabilities? I think the best we can do is not let it run in those cases. :) I'd like see if others in the community

[Qemu-devel] [PATCH 00/14] arm: more memory API and VMState conversion

2011-10-24 Thread Benoît Canet
These patches apply against akivity memory/master. They convert syborg to memory API and various arm related component to VMState. Omap boards where not modified because Linaro is currently refactoring them. Xscale was left apart too. Benoît Canet (14): mst_fpga: convert to memory API

[Qemu-devel] [PATCH 01/14] mst_fpga: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/mst_fpga.c | 29 - 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/hw/mst_fpga.c b/hw/mst_fpga.c index 7bcd5d7..cf9957b 100644 --- a/hw/mst_fpga.c +++ b/hw/mst_fpga.c @@ -34,6 +34,7 @@

[Qemu-devel] [PATCH] Fix compiler warning (always return a value)

2011-10-24 Thread Stefan Weil
For compilations with -DNDEBUG, the default case did not return a value which caused a compiler warning. Signed-off-by: Stefan Weil s...@weilnetz.de --- hw/ppce500_spin.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c

[Qemu-devel] [PATCH 08/14] syborg_timer: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_timer.c | 27 ++- 1 files changed, 10 insertions(+), 17 deletions(-) diff --git a/hw/syborg_timer.c b/hw/syborg_timer.c index 50c813e..dfee457 100644 --- a/hw/syborg_timer.c +++ b/hw/syborg_timer.c @@

[Qemu-devel] [PATCH 11/11] audio: remove unused parameter isa_pic

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- arch_init.c | 10 +- arch_init.h |2 +- hw/adlib.c |2 +- hw/audiodev.h |8 hw/cs4231a.c|2 +- hw/gus.c|2 +- hw/mips_jazz.c |2 +- hw/mips_malta.c |2 +- hw/pc.h

[Qemu-devel] [PATCH 06/14] syborg_rtc: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_rtc.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_rtc.c b/hw/syborg_rtc.c index 69f6ccf..375664f 100644 --- a/hw/syborg_rtc.c +++ b/hw/syborg_rtc.c @@ -35,12 +35,14

[Qemu-devel] [PATCH 07/11] fulong2e: give ISA bus to ISA methods

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/mips_fulong2e.c |6 ++ hw/vt82c686.c |4 ++-- hw/vt82c686.h |2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/hw/mips_fulong2e.c b/hw/mips_fulong2e.c index e6e120c..5e87665 100644 ---

[Qemu-devel] [PATCH 05/14] syborg_pointer: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_pointer.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_pointer.c b/hw/syborg_pointer.c index b91214d..a0f8b32 100644 --- a/hw/syborg_pointer.c +++

[Qemu-devel] [PATCH 07/14] syborg_serial: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_serial.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_serial.c b/hw/syborg_serial.c index c83f82c..b73a009 100644 --- a/hw/syborg_serial.c +++ b/hw/syborg_serial.c

[Qemu-devel] (no subject)

2011-10-24 Thread Benoît Canet
These patches apply against akivity memory/master. They convert syborg to memory API and various arm related component to VMState. Omap boards where not modified because Linaro is currently refactoring them. Xscale was left apart too. This version fix coding style issues. From Benoît Canet

[Qemu-devel] [PATCH 13/14] integratorcp: convert integratorcm to VMState

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/integratorcp.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 7ad68b7..1ffe7d8 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -35,6

[Qemu-devel] [PATCH 07/15] syborg_rtc: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_rtc.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_rtc.c b/hw/syborg_rtc.c index 69f6ccf..375664f 100644 --- a/hw/syborg_rtc.c +++ b/hw/syborg_rtc.c @@ -35,12 +35,14

[Qemu-devel] [PATCH 09/15] syborg_timer: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_timer.c | 27 ++- 1 files changed, 10 insertions(+), 17 deletions(-) diff --git a/hw/syborg_timer.c b/hw/syborg_timer.c index 50c813e..dfee457 100644 --- a/hw/syborg_timer.c +++ b/hw/syborg_timer.c @@

[Qemu-devel] [PATCH 11/15] pl181: add vmstate

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/pl181.c | 40 1 files changed, 36 insertions(+), 4 deletions(-) diff --git a/hw/pl181.c b/hw/pl181.c index e13ea8e..cef2530 100644 --- a/hw/pl181.c +++ b/hw/pl181.c @@ -38,20 +38,45 @@ typedef

[Qemu-devel] [PATCH 11/14] bitbang_i2c: convert to VMState

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/bitbang_i2c.c | 92 +++-- 1 files changed, 61 insertions(+), 31 deletions(-) diff --git a/hw/bitbang_i2c.c b/hw/bitbang_i2c.c index 431359d..453f1da 100644 --- a/hw/bitbang_i2c.c +++

[Qemu-devel] [PATCH 04/11] pc: give ISA bus to ISA methods

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/pc.h |2 +- hw/pc_piix.c |3 +-- hw/piix_pci.c |8 +--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/hw/pc.h b/hw/pc.h index c43fa73..127940c 100644 --- a/hw/pc.h +++ b/hw/pc.h @@ -181,7 +181,7

[Qemu-devel] [PATCH 10/15] syborg_virtio: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_virtio.c | 30 ++ 1 files changed, 14 insertions(+), 16 deletions(-) diff --git a/hw/syborg_virtio.c b/hw/syborg_virtio.c index 00c7be8..c2dbf36 100644 --- a/hw/syborg_virtio.c +++ b/hw/syborg_virtio.c

[Qemu-devel] [PATCH 03/14] syborg_interrupt: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_interrupt.c | 29 - 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/hw/syborg_interrupt.c b/hw/syborg_interrupt.c index 1b0f3bb..512910a 100644 --- a/hw/syborg_interrupt.c +++

[Qemu-devel] [PATCH 10/11] isa: always use provided ISA bus in isa_bus_irqs()

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/isa-bus.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index 3207680..5af790b 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -53,8 +53,10 @@ ISABus *isa_bus_new(DeviceState

[Qemu-devel] [PATCH 14/15] integratorcp: convert integratorcm to VMState

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/integratorcp.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 7ad68b7..39322cb 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -35,6

[Qemu-devel] [PATCH 01/15] marvell_88x8618_audio: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/marvell_88w8618_audio.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/marvell_88w8618_audio.c b/hw/marvell_88w8618_audio.c index f8c5242..67bb70b 100644 ---

[Qemu-devel] [PATCH V2 00/15] V2 arm: more memory API and VMState conversion

2011-10-24 Thread Benoît Canet
This version fix coding style issues. These patches apply against akivity memory/master. They convert syborg to memory API and various arm related component to VMState. Omap boards where not modified because Linaro is currently refactoring them. Xscale was left apart too. Benoît Canet (15):

[Qemu-devel] [PATCH 04/15] syborg_interrupt: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_interrupt.c | 29 - 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/hw/syborg_interrupt.c b/hw/syborg_interrupt.c index 1b0f3bb..512910a 100644 --- a/hw/syborg_interrupt.c +++

[Qemu-devel] [PATCH 08/15] syborg_serial: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_serial.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_serial.c b/hw/syborg_serial.c index c83f82c..b73a009 100644 --- a/hw/syborg_serial.c +++ b/hw/syborg_serial.c

[Qemu-devel] [PATCH 02/15] mst_fpga: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/mst_fpga.c | 29 - 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/hw/mst_fpga.c b/hw/mst_fpga.c index 7bcd5d7..cf9957b 100644 --- a/hw/mst_fpga.c +++ b/hw/mst_fpga.c @@ -34,6 +34,7 @@

[Qemu-devel] [PATCH 14/14] integratorcp: convert icp_pic to VMState

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/integratorcp.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 1ffe7d8..114907a 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -310,6 +310,19 @@

[Qemu-devel] [PATCH 05/11] alpha: give ISA bus to ISA methods

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/alpha_dp264.c |4 ++-- hw/alpha_sys.h |3 ++- hw/alpha_typhoon.c | 10 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/hw/alpha_dp264.c b/hw/alpha_dp264.c index a87d6ef..455f380 100644 ---

[Qemu-devel] [PATCH 15/15] integratorcp: convert icp_pic to VMState

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/integratorcp.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 39322cb..0212ed6 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -310,6 +310,19 @@

[Qemu-devel] [PATCH 05/15] syborg_keyboard: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_keyboard.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_keyboard.c b/hw/syborg_keyboard.c index 82b9dc0..03d2183 100644 --- a/hw/syborg_keyboard.c +++

[Qemu-devel] [PATCH 01/11] isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions

2011-10-24 Thread Hervé Poussineau
NULL is a valid bus/device, so there is no change in behaviour. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- arch_init.c|8 arch_init.h|2 +- hw/adlib.c |2 +- hw/alpha_dp264.c | 10 ++ hw/alpha_typhoon.c |7 ---

[Qemu-devel] [PATCH 13/15] realview: convert realview i2c to VMState

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/realview.c | 21 +++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/hw/realview.c b/hw/realview.c index 14281b0..bf95051 100644 --- a/hw/realview.c +++ b/hw/realview.c @@ -26,10 +26,26 @@ typedef struct

Re: [Qemu-devel] [PATCH v2 3/4] Add cap reduction support to enable use as SUID

2011-10-24 Thread Anthony Liguori
On 10/24/2011 03:20 PM, Corey Bryant wrote: On 10/24/2011 03:21 PM, Anthony Liguori wrote: On 10/24/2011 02:13 PM, Corey Bryant wrote: Right, it's not desirable, but isn't that the best we can do without libcap or FS capabilities? I think the best we can do is not let it run in those cases.

[Qemu-devel] [PATCH 06/11] sun4u: give ISA bus to ISA methods

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/sun4u.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/sun4u.c b/hw/sun4u.c index 1e45192..c67576a 100644 --- a/hw/sun4u.c +++ b/hw/sun4u.c @@ -530,10 +530,12 @@ static ISABus * pci_ebus_init(PCIBus

Re: [Qemu-devel] [PATCH 3/4] loader: Add rom_add_file_buf for adding roms from a buffer

2011-10-24 Thread Jordan Justen
On Sun, Oct 23, 2011 at 04:27, Blue Swirl blauwir...@gmail.com wrote: On Tue, Oct 18, 2011 at 21:17, Jordan Justen jljus...@gmail.com wrote: On Tue, Oct 18, 2011 at 11:05, Blue Swirl blauwir...@gmail.com wrote: On Mon, Oct 17, 2011 at 7:16 PM, Jordan Justen jordan.l.jus...@intel.com wrote:

[Qemu-devel] [PATCH 04/14] syborg_keyboard: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_keyboard.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_keyboard.c b/hw/syborg_keyboard.c index 82b9dc0..03d2183 100644 --- a/hw/syborg_keyboard.c +++

[Qemu-devel] [PATCH 02/14] syborg_fb: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_fb.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_fb.c b/hw/syborg_fb.c index ae3e0eb..3b71c72 100644 --- a/hw/syborg_fb.c +++ b/hw/syborg_fb.c @@ -65,6 +65,7 @@

[Qemu-devel] [PATCH 10/14] pl181: add vmstate

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/pl181.c | 40 1 files changed, 36 insertions(+), 4 deletions(-) diff --git a/hw/pl181.c b/hw/pl181.c index e13ea8e..cef2530 100644 --- a/hw/pl181.c +++ b/hw/pl181.c @@ -38,20 +38,45 @@ typedef

[Qemu-devel] [PATCH 12/14] realview: convert realview i2c to VMState

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/realview.c | 21 +++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/hw/realview.c b/hw/realview.c index 14281b0..4eb320e 100644 --- a/hw/realview.c +++ b/hw/realview.c @@ -26,10 +26,26 @@ typedef struct

[Qemu-devel] [PATCH 06/15] syborg_pointer: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_pointer.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_pointer.c b/hw/syborg_pointer.c index b91214d..a0f8b32 100644 --- a/hw/syborg_pointer.c +++

[Qemu-devel] [PATCH 08/11] malta: give ISA bus to ISA methods

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/mips_malta.c |3 +-- hw/pc.h |2 +- hw/piix4.c |3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/mips_malta.c b/hw/mips_malta.c index 98177f3..78d99e7 100644 --- a/hw/mips_malta.c +++

[Qemu-devel] [PATCH 09/11] isa: always use provided ISA bus when creating an isa device

2011-10-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/isa-bus.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index 7c94f0b..3207680 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -130,12 +130,11 @@ ISADevice

[Qemu-devel] [PATCH 03/15] syborg_fb: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_fb.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hw/syborg_fb.c b/hw/syborg_fb.c index ae3e0eb..3b71c72 100644 --- a/hw/syborg_fb.c +++ b/hw/syborg_fb.c @@ -65,6 +65,7 @@

[Qemu-devel] [PATCH 09/14] syborg_virtio: convert to memory API

2011-10-24 Thread Benoît Canet
Signed-off-by: Benoit Canet benoit.ca...@gmail.com --- hw/syborg_virtio.c | 26 ++ 1 files changed, 10 insertions(+), 16 deletions(-) diff --git a/hw/syborg_virtio.c b/hw/syborg_virtio.c index 00c7be8..af0c370 100644 --- a/hw/syborg_virtio.c +++ b/hw/syborg_virtio.c @@

[Qemu-devel] Executing from a rom device - Re: [PATCH 2/4] pc: Support system flash memory with pflash

2011-10-24 Thread Jordan Justen
Avi, Alex pointed out that my patch below should not work for kvm, because kvm currently does not support executing from a rom region. This surprised me, because I thought I had been testing with kvm enabled. But, it turns out I wasn't, and in fact this patch does not work with kvm enabled.

Re: [Qemu-devel] Executing from a rom device - Re: [PATCH 2/4] pc: Support system flash memory with pflash

2011-10-24 Thread Alexander Graf
On 24.10.2011, at 16:00, Jordan Justen wrote: Avi, Alex pointed out that my patch below should not work for kvm, because kvm currently does not support executing from a rom region. This surprised me, because I thought I had been testing with kvm enabled. But, it turns out I wasn't, and

Re: [Qemu-devel] [Qemu-ppc] [PATCH] pseries: Correct vmx/dfp handling in both KVM and TCG cases

2011-10-24 Thread David Gibson
[snip] Reading through the patch again I think I see your point now :). Yes, the kvmppc_host_cpu_def function only tries to fetch the host CPU capabilities. So yes, there is basically only the masking part with what we can actually virtualize missing. But for now we can just assume

Re: [Qemu-devel] [Qemu-ppc] [PATCH] KVM: PPC: Override host vmx/vsx/dfp only when information known

2011-10-24 Thread David Gibson
On Mon, Oct 24, 2011 at 08:53:54PM +0200, Alexander Graf wrote: The -cpu host feature tries to find out the host capabilities based on device tree information. However, we don't always have that available because it's an optional property in dt. So instead of force unsetting values depending

Re: [Qemu-devel] [Qemu-ppc] [PATCH] pseries: Correct vmx/dfp handling in both KVM and TCG cases

2011-10-24 Thread David Gibson
On Mon, Oct 24, 2011 at 10:25:26AM -0700, Alexander Graf wrote: On 23.10.2011, at 22:29, David Gibson wrote: On Thu, Oct 20, 2011 at 11:49:40PM -0700, Alexander Graf wrote: [snip] This gets further complicated in the case of the w-i-p patch I have to properly advertise page sizes, where

Re: [Qemu-devel] [Qemu-ppc] [PATCH] pseries: Correct vmx/dfp handling in both KVM and TCG cases

2011-10-24 Thread Alexander Graf
On 24.10.2011, at 16:08, David Gibson wrote: [snip] Reading through the patch again I think I see your point now :). Yes, the kvmppc_host_cpu_def function only tries to fetch the host CPU capabilities. So yes, there is basically only the masking part with what we can actually virtualize

Re: [Qemu-devel] [RFC 3/8] qapi: add QemuFileInputVisitor

2011-10-24 Thread Chris Krumme
On 09/19/2011 09:41 AM, Michael Roth wrote: Visitor interfaces to read values from a QEMUFile Signed-off-by: Michael Rothmdr...@linux.vnet.ibm.com --- Makefile.objs |1 + qapi/qemu-file-input-visitor.c | 350

Re: [Qemu-devel] [Qemu-ppc] [PATCH] pseries: Correct vmx/dfp handling in both KVM and TCG cases

2011-10-24 Thread David Gibson
On Mon, Oct 24, 2011 at 04:43:18PM -0700, Alexander Graf wrote: On 24.10.2011, at 16:08, David Gibson wrote: [snip] Reading through the patch again I think I see your point now :). Yes, the kvmppc_host_cpu_def function only tries to fetch the host CPU capabilities. So yes,

Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async

2011-10-24 Thread Luiz Capitulino
On Mon, 24 Oct 2011 19:29:37 +0200 Alon Levy al...@redhat.com wrote: On Mon, Oct 24, 2011 at 01:45:16PM -0200, Luiz Capitulino wrote: On Mon, 24 Oct 2011 17:13:14 +0200 Gerd Hoffmann kra...@redhat.com wrote: On 10/24/11 14:02, Alon Levy wrote: Make screen_dump monitor command an

Re: [Qemu-devel] [Qemu-ppc] [PATCH] pseries: Correct vmx/dfp handling in both KVM and TCG cases

2011-10-24 Thread Alexander Graf
On 24.10.2011, at 17:09, David Gibson da...@gibson.dropbear.id.au wrote: On Mon, Oct 24, 2011 at 04:43:18PM -0700, Alexander Graf wrote: On 24.10.2011, at 16:08, David Gibson wrote: [snip] Reading through the patch again I think I see your point now :). Yes, the kvmppc_host_cpu_def

Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest

2011-10-24 Thread Wen Congyang
At 10/24/2011 11:58 PM, Dave Anderson Write: - Original Message - No, an ELF image of the guest's physical memory. Well then that should be pretty straight forward to support. Depending upon how similar it would be to the standard kdump ELF format, the only other issue is how

Re: [Qemu-devel] [PATCH] Add Qemu A15 minimal support for ARM KVM

2011-10-24 Thread bill4carson
On 2011年10月24日 22:09, Peter Maydell wrote: On 29 September 2011 08:30,bill4car...@gmail.com wrote: From: Bill Carsonbill4car...@gmail.com This patch add some A15 codes which enables ARM KVM could run Guest OS build with Versatile Express Cortex-A15x4 tile. Thanks for sending this; I have

[Qemu-devel] [PATCH] ppc: Alter CPU state to mask out TCG unimplemented instructions as appropriate

2011-10-24 Thread David Gibson
The CPU state contains two bitmaps, initialized from the CPU spec which describes which instructions are implemented on the CPU. A couple of bits are defined which cover instructions (VSX and DFP) which are not currently implemented in TCG. So far, these are only used to handle the case of -cpu

[Qemu-devel] buildbot failure in qemu on qmp_i386_debian_6_0

2011-10-24 Thread qemu
The Buildbot has detected a new failure on builder qmp_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/qmp_i386_debian_6_0/builds/71 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build

[Qemu-devel] buildbot failure in qemu on qmp_x86_64_debian_6_0

2011-10-24 Thread qemu
The Buildbot has detected a new failure on builder qmp_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/qmp_x86_64_debian_6_0/builds/71 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build

Re: [Qemu-devel] [RFC v2 PATCH 5/4 PATCH] virtio-net: send gratuitous packet when needed

2011-10-24 Thread Jason Wang
On 10/24/2011 01:25 PM, Michael S. Tsirkin wrote: On Mon, Oct 24, 2011 at 02:54:59PM +1030, Rusty Russell wrote: On Sat, 22 Oct 2011 13:43:11 +0800, Jason Wang jasow...@redhat.com wrote: This make let virtio-net driver can send gratituous packet by a new config bit - VIRTIO_NET_S_ANNOUNCE in

Re: [Qemu-devel] [Qemu-ppc] [PATCH] ppc: Alter CPU state to mask out TCG unimplemented instructions as appropriate

2011-10-24 Thread David Gibson
On Tue, Oct 25, 2011 at 01:33:49PM +1100, David Gibson wrote: The CPU state contains two bitmaps, initialized from the CPU spec which describes which instructions are implemented on the CPU. A couple of bits are defined which cover instructions (VSX and DFP) which are not currently

[Qemu-devel] [PATCH] ppc: Alter CPU state to mask out TCG unimplemented instructions as appropriate

2011-10-24 Thread David Gibson
The CPU state contains two bitmaps, initialized from the CPU spec which describes which instructions are implemented on the CPU. A couple of bits are defined which cover instructions (VSX and DFP) which are not currently implemented in TCG. So far, these are only used to handle the case of -cpu

[Qemu-devel] [PATCH] target-sparc: Fix use of g_new0 / g_free

2011-10-24 Thread Stefan Weil
g_malloc0 needs g_free instead of free. While fixing this, I also replaced g_malloc0 by g_new0 as was suggested by Stuart Brady. Cc: Blue Swirl blauwir...@gmail.com Signed-off-by: Stefan Weil s...@weilnetz.de --- target-sparc/cpu_init.c |8 1 files changed, 4 insertions(+), 4

<    1   2