[Qemu-devel] Does Qemu simulate the softmmu for memory data access?

2012-08-15 Thread Steven
Hi, I tried to trace the quest memory access for the load instructions. However, it seems that the softmmu of qemu only works when qemu fetches the guest code, like ldub_code? Is there any place that will call the softmmu for quest memory access, like ldub_data? Thanks. Steven

[Qemu-devel] buildbot failure in qemu on ppc-next_i386_debian_6_0

2012-08-15 Thread qemu
The Buildbot has detected a new failure on builder ppc-next_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/ppc-next_i386_debian_6_0/builds/361 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Bu

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Gerd Hoffmann
Hi, > Today is the hard freeze for 1.2. If you have any pull requests and/or > patches targetted for the hard freeze, please send them by 3pm > US/Central time today and clearly mark them "for-1.2". > > If there are existing patches and/or pull requests on the mailing list > that you think sho

Re: [Qemu-devel] [PATCH] ehci: Fix setting of halt bit from usbcmd register updates

2012-08-15 Thread Gerd Hoffmann
On 08/15/12 17:08, Hans de Goede wrote: > This fixes linux guests started without any USB devices not seeing newly > plugged devices until "lsusb" is done inside the guest. Patch added to usb patch queue. thanks, Gerd

[Qemu-devel] buildbot failure in qemu on xen_x86_64_debian_6_0

2012-08-15 Thread qemu
The Buildbot has detected a new failure on builder xen_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/xen_x86_64_debian_6_0/builds/361 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build Re

[Qemu-devel] buildbot failure in qemu on xen_i386_debian_6_0

2012-08-15 Thread qemu
The Buildbot has detected a new failure on builder xen_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/xen_i386_debian_6_0/builds/362 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build Reason

[Qemu-devel] buildbot failure in qemu on trivial-patches_i386_debian_6_0

2012-08-15 Thread qemu
The Buildbot has detected a new failure on builder trivial-patches_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/trivial-patches_i386_debian_6_0/builds/361 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Bu

[Qemu-devel] buildbot failure in qemu on trivial-patches_x86_64_debian_6_0

2012-08-15 Thread qemu
The Buildbot has detected a new failure on builder trivial-patches_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/trivial-patches_x86_64_debian_6_0/builds/361 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for thi

[Qemu-devel] buildbot failure in qemu on qmp_x86_64_debian_6_0

2012-08-15 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/360 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build Re

Re: [Qemu-devel] [PATCH 18/18] vm-snapshot-save: add force parameter

2012-08-15 Thread Eric Blake
On 08/15/2012 01:41 AM, Pavel Hrdina wrote: > HMP command "savevm" now takes extra optional force parameter to specifi > whether s/specifi/specify/ > replace existing snapshot or not. > > QMP command "vm-snapshot-save" has also extra optional force parameter and > name parameter isn't optional

[Qemu-devel] buildbot failure in qemu on qmp_i386_debian_6_0

2012-08-15 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/360 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build Reason

Re: [Qemu-devel] [PATCH 17/18] hmp: allow "bool" parameter to be optional

2012-08-15 Thread Eric Blake
On 08/15/2012 01:41 AM, Pavel Hrdina wrote: > Signed-off-by: Pavel Hrdina > --- > monitor.c | 3 +++ > 1 file changed, 3 insertions(+) NACK. See patch 18 why I think you don't need this. > > diff --git a/monitor.c b/monitor.c > index db9a8d0..a538e6a 100644 > --- a/monitor.c > +++ b/monitor.c

Re: [Qemu-devel] [PATCH 16/18] qapi: Convert info snapshots

2012-08-15 Thread Eric Blake
On 08/15/2012 01:41 AM, Pavel Hrdina wrote: > Signed-off-by: Pavel Hrdina > --- > hmp.c| 33 + > hmp.h| 1 + > monitor.c| 2 +- > qapi-schema.json | 34 ++ > qmp-commands.hx | 30 +++

Re: [Qemu-devel] [PATCH 14/18] qapi: Convert loadvm

2012-08-15 Thread Eric Blake
On 08/15/2012 09:31 PM, Eric Blake wrote: > >> + >> +## >> +# @vm-snapshot-load: >> +# >> +# Set the whole virtual machine to the snapshot identified by the tag >> +# 'tag' or the unique snapshot ID 'id'. >> +# >> +# @name: tag or id of existing snapshot >> +# >> +# Returns: Nothing on success >>

Re: [Qemu-devel] [PATCH 14/18] qapi: Convert loadvm

2012-08-15 Thread Eric Blake
On 08/15/2012 01:41 AM, Pavel Hrdina wrote: > Signed-off-by: Pavel Hrdina > --- > hmp-commands.hx | 2 +- > hmp.c| 10 + > hmp.h| 1 + > monitor.c| 12 --- > qapi-schema.json | 15 ++ > qmp-commands.hx | 25 ++ >

Re: [Qemu-devel] memory: could we add extra input param for memory_region_init_io()?

2012-08-15 Thread liu ping fan
On Tue, Aug 14, 2012 at 6:49 PM, Avi Kivity wrote: > On 08/14/2012 11:30 AM, liu ping fan wrote: >> To make memoryRegion survive without the protection of qemu big lock, >> we need to pin its based Object. >> In current code, the type of mr->opaque are quite different. Lots of >> them are Object,

Re: [Qemu-devel] [PATCH V3 2/2] qemu-img: Add json output option to the info command.

2012-08-15 Thread Wenchao Xia
I was busy in coding libqblock so forgot to move forward on qemu json info patches, thanks for your advance. one suggestion: how about folder all human printf into function: dump_human_image_info(image_info), and at the end, make the final output functions as mirror: if (human) {

Re: [Qemu-devel] [PATCH 00/21] target-i386: convert CPU features into properties

2012-08-15 Thread Eduardo Habkost
On Wed, Aug 15, 2012 at 06:13:20PM +0200, Igor Mammedov wrote: > build and run tested in FC17 host with x86_64-linux-user, x86_64-softmmu > targets > > changes since RFC are documented in idividual patch descriptions > Thanks Andreas, Blue, Eduardo for reviews and suggestions. > > git tree for te

Re: [Qemu-devel] [Qemu-ppc] [PATCH v8 2/2] Add USB enablement on sPAPR platform.

2012-08-15 Thread Li Zhang
On Thu, Aug 16, 2012 at 10:06 AM, David Gibson wrote: > On Thu, Aug 16, 2012 at 11:52:11AM +1000, Benjamin Herrenschmidt wrote: >> On Thu, 2012-08-16 at 09:29 +0800, Li Zhang wrote: >> > > Yes, that's pretty much what I was asking for (here and for the >> > mac99 u3 machine). Just base your patch

Re: [Qemu-devel] [Qemu-ppc][PATCH v8 2/2] Add USB enablement on sPAPR platform.

2012-08-15 Thread Li Zhang
On Thu, Aug 16, 2012 at 9:52 AM, Benjamin Herrenschmidt wrote: > On Thu, 2012-08-16 at 09:29 +0800, Li Zhang wrote: >> > Yes, that's pretty much what I was asking for (here and for the >> mac99 u3 machine). Just base your patch on ppc-next. My patches are in >> there. >> That's great. Thanks a lot

Re: [Qemu-devel] [Qemu-ppc] [PATCH v8 2/2] Add USB enablement on sPAPR platform.

2012-08-15 Thread David Gibson
On Thu, Aug 16, 2012 at 11:52:11AM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2012-08-16 at 09:29 +0800, Li Zhang wrote: > > > Yes, that's pretty much what I was asking for (here and for the > > mac99 u3 machine). Just base your patch on ppc-next. My patches are in > > there. > > That's great.

Re: [Qemu-devel] [PATCH] device_tree: load_device_tree(): Allow NULL sizep

2012-08-15 Thread David Gibson
On Wed, Aug 15, 2012 at 02:41:56PM +0100, Stefan Hajnoczi wrote: > On Sat, Aug 11, 2012 at 01:33:42PM +0100, Stefan Hajnoczi wrote: > > On Sat, Aug 11, 2012 at 12:11 AM, Peter Crosthwaite > > wrote: > > > On Fri, Aug 10, 2012 at 11:42 PM, Stefan Hajnoczi > > > wrote: > > >> On Fri, Aug 10, 2012

[Qemu-devel] [PATCH] pseries: Instantiate USB interface when required

2012-08-15 Thread David Gibson
The pseries machine already supports the -vga std option, creating a graphics adapter. However, this is not very useful without being able to add a keyboard and mouse as well. This patch addresses this by adding a USB interface when requested, and automatically adding a USB keyboard and mouse whe

Re: [Qemu-devel] [Qemu-ppc][PATCH v8 2/2] Add USB enablement on sPAPR platform.

2012-08-15 Thread Benjamin Herrenschmidt
On Thu, 2012-08-16 at 09:29 +0800, Li Zhang wrote: > > Yes, that's pretty much what I was asking for (here and for the > mac99 u3 machine). Just base your patch on ppc-next. My patches are in > there. > That's great. Thanks a lot! Note that you missed the hard freeze for qemu 1.2, it was today. S

Re: [Qemu-devel] [Qemu-ppc][PATCH v8 2/2] Add USB enablement on sPAPR platform.

2012-08-15 Thread Li Zhang
On 2012年08月15日 15:02, Alexander Graf wrote: > > On 15.08.2012, at 08:00, Li Zhang wrote: > >> On 2012年08月15日 02:09, Alexander Graf wrote: >>> On 14.08.2012, at 19:49, Li Zhang wrote: >>> USB is enabled as default on sPAPR platform because it needs USB keyboard and USB mouse when VGA is

Re: [Qemu-devel] [PATCH 06/10] block: Enable qemu_open/close to work with fd sets

2012-08-15 Thread Peter Maydell
On 15 August 2012 14:56, Kevin Wolf wrote: > From: Corey Bryant > +/* Set/unset flags that we can with fcntl */ > +setfl_flags = O_APPEND | O_ASYNC | O_DIRECT | O_NOATIME | O_NONBLOCK; > +dup_flags &= ~setfl_flags; > +dup_flags |= (flags & setfl_flags); > +if (fcntl(ret, F_SET

[Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2012-08-15 Thread qemu
The Buildbot has detected a new failure on builder default_openbsd_4.9 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_openbsd_4.9/builds/347 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_openbsd49 Bu

[Qemu-devel] buildbot failure in qemu on default_openbsd_current

2012-08-15 Thread qemu
The Buildbot has detected a new failure on builder default_openbsd_current while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_openbsd_current/builds/344 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: brad_openbsd

[Qemu-devel] [PATCH 4/4] Command line support for seccomp with -sandbox (v8)

2012-08-15 Thread Anthony Liguori
From: Eduardo Otubo Signed-off-by: Eduardo Otubo Signed-off-by: Anthony Liguori --- v7 -> v8 - Parse options correctly (aliguori) --- qemu-config.c | 14 ++ qemu-config.h |1 + qemu-options.hx | 10 ++ vl.c| 38 ++--

[Qemu-devel] [PATCH 0/4] Add -sandbox option to enable seccomp mode 2

2012-08-15 Thread Anthony Liguori
Hi, I attempted to apply Eduardo's seccomp patches and ran into a number of problems. In the interest of time, I thought it would be easier for me to fix them and just respin the series myself. I've tested this as best I can--I don't have a seccomp capable kernel. But since the option is availa

[Qemu-devel] [PATCH 3/4] Adding seccomp calls to vl.c (v8)

2012-08-15 Thread Anthony Liguori
From: Eduardo Otubo Signed-off-by: Eduardo Otubo Signed-off-by: Anthony Liguori --- v1: - Full seccomp calls and data included in vl.c v1 -> v2: - Full seccomp calls and data removed from vl.c and put into separate qemu-seccomp.[ch] file. --- vl.c | 13 + 1 files changed, 1

[Qemu-devel] [PATCH 1/4] Adding support for libseccomp in configure and Makefile (v8)

2012-08-15 Thread Anthony Liguori
From: Eduardo Otubo Adding basic options to the configure script to use libseccomp or not. The default is set to 'no'. If the flag --enable-libseccomp is used, the script will check for its existence using pkg-config. Signed-off-by: Eduardo Otubo Signed-off-by: Anthony Liguori --- v1 -> v2: -

[Qemu-devel] [PATCH 2/4] Adding qemu-seccomp.[ch] (v8)

2012-08-15 Thread Anthony Liguori
From: Eduardo Otubo Signed-off-by: Eduardo Otubo Signed-off-by: Anthony Liguori --- v1: - I added a syscall struct using priority levels as described in the libseccomp man page. The priority numbers are based to the frequency they appear in a sample strace from a regular qemu guest run u

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Markus Armbruster writes: > Anthony Liguori writes: > >> Markus Armbruster writes: >> >>> Anthony Liguori writes: >>> Peter Maydell writes: > On 15 August 2012 20:25, Alexander Graf wrote: >> On 15.08.2012, at 21:17, Markus Armbruster wrote: >> >>> We create a numbe

Re: [Qemu-devel] [PATCH 08/21] target-i386: convert 'hv_spinlocks' feature into property

2012-08-15 Thread Igor Mammedov
On Wed, 15 Aug 2012 17:43:31 -0300 Eduardo Habkost wrote: > > On 15/08/2012, at 13:13, Igor Mammedov wrote: > > > Signed-off-by: Igor Mammedov > > --- > > target-i386/cpu.c | 31 +++ > > 1 file changed, 31 insertions(+) > > > > diff --git a/target-i386/cpu.c b/targ

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Anthony Liguori writes: > Markus Armbruster writes: > >> Anthony Liguori writes: >> >>> Peter Maydell writes: >>> On 15 August 2012 20:25, Alexander Graf wrote: > On 15.08.2012, at 21:17, Markus Armbruster wrote: > >> We create a number of default drives for machines to use:

Re: [Qemu-devel] [PULL 00/24] ppc patch queue 2012-08-15

2012-08-15 Thread Anthony Liguori
Alexander Graf writes: > Hi Blue / Aurelien, > > This is my current patch queue for ppc. Please pull. > Pulled. Thanks. Regards, Anthony Liguori > Alex > > > The following changes since commit 03834e22abafbc8dc4052d46a5ccd6dd135a54a3: > Anthony Liguori (1): > Merge remote-tracking

Re: [Qemu-devel] [PULL 0/2] s390 patch queue 2012-08-15

2012-08-15 Thread Anthony Liguori
Alexander Graf writes: > Hi Blue / Aurelien, > > This is my current patch queue for s390. Please pull. > Pulled. Thanks. Regards, Anthony Liguori > Alex > > > The following changes since commit 03834e22abafbc8dc4052d46a5ccd6dd135a54a3: > Anthony Liguori (1): > Merge remote-tracking

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Peter Maydell
On 15 August 2012 21:57, Anthony Liguori wrote: > http://ozlabs.org/~rusty/index.cgi/tech/2007-05-04.html > > It's not that I disagree with you. I think this is good feedback for a > series like this. > > I just don't want people sending out single sentence "Nack" emails for > patch series just b

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Anthony Liguori
Peter Maydell writes: > On 15 August 2012 20:58, Anthony Liguori wrote: >> Peter Maydell writes: >>> On 15 August 2012 20:25, Alexander Graf wrote: Nack from my POV. Too late for 1.2. Better get this in early for 1.3. >> >> No, it's not too late for 1.2. >> >> The release process is prett

Re: [Qemu-devel] [PATCH for-1.2 v3 2/3] json-parser: don't replicate tokens at each level of recursion

2012-08-15 Thread Michael Roth
On Wed, Aug 15, 2012 at 02:04:52PM -0600, Eric Blake wrote: > On 08/15/2012 12:45 PM, Michael Roth wrote: > > Currently, when parsing a stream of tokens we make a copy of the token > > list at the beginning of each level of recursion so that we do not > > modify the original list in cases where we

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Anthony Liguori
Markus Armbruster writes: > Anthony Liguori writes: > >> Peter Maydell writes: >> >>> On 15 August 2012 20:25, Alexander Graf wrote: On 15.08.2012, at 21:17, Markus Armbruster wrote: > We create a number of default drives for machines to use: floppy, > CD-ROM, SD card. Machi

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Anthony Liguori
Eric Blake writes: > On 08/15/2012 08:22 AM, anth...@codemonkey.ws wrote: >> >> Hi, >> >> Today is the hard freeze for 1.2. If you have any pull requests and/or >> patches targetted for the hard freeze, please send them by 3pm >> US/Central time today and clearly mark them "for-1.2". >> >> If

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Peter Maydell
On 15 August 2012 20:58, Anthony Liguori wrote: > Peter Maydell writes: >> On 15 August 2012 20:25, Alexander Graf wrote: >>> Nack from my POV. Too late for 1.2. Better get this in early for 1.3. > > No, it's not too late for 1.2. > > The release process is pretty clear. Major features needed t

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Anthony Liguori writes: > Peter Maydell writes: > >> On 15 August 2012 20:25, Alexander Graf wrote: >>> On 15.08.2012, at 21:17, Markus Armbruster wrote: >>> We create a number of default drives for machines to use: floppy, CD-ROM, SD card. Machines can suppress the ones they don't u

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Peter Maydell
On 15 August 2012 20:25, Alexander Graf wrote: > On 15.08.2012, at 21:17, Markus Armbruster wrote: > >> We create a number of default drives for machines to use: floppy, >> CD-ROM, SD card. Machines can suppress the ones they don't use, but >> few do. Fix that. >> v2: >> Make default drives op

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Anthony Liguori
Peter Maydell writes: > On 15 August 2012 20:25, Alexander Graf wrote: >> On 15.08.2012, at 21:17, Markus Armbruster wrote: >> >>> We create a number of default drives for machines to use: floppy, >>> CD-ROM, SD card. Machines can suppress the ones they don't use, but >>> few do. Fix that. > >

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Alexander Graf
Am 15.08.2012 um 21:58 schrieb Anthony Liguori : > Peter Maydell writes: > >> On 15 August 2012 20:25, Alexander Graf wrote: >>> On 15.08.2012, at 21:17, Markus Armbruster wrote: >>> We create a number of default drives for machines to use: floppy, CD-ROM, SD card. Machines can su

Re: [Qemu-devel] [PATCH 08/21] target-i386: convert 'hv_spinlocks' feature into property

2012-08-15 Thread Eduardo Habkost
On 15/08/2012, at 13:13, Igor Mammedov wrote: > Signed-off-by: Igor Mammedov > --- > target-i386/cpu.c | 31 +++ > 1 file changed, 31 insertions(+) > > diff --git a/target-i386/cpu.c b/target-i386/cpu.c > index 440e724..777b8ce 100644 > --- a/target-i386/cpu.c > +++

[Qemu-devel] [PATCH v2 for-1.2 02/27] leon mips_fulong2e: Give QEMUMachine internal linkage

2012-08-15 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- hw/leon3.c | 2 +- hw/mips_fulong2e.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/leon3.c b/hw/leon3.c index 878d3aa..7a9729d 100644 --- a/hw/leon3.c +++ b/hw/leon3.c @@ -210,7 +210,7 @@ static void leon3_generic_hw_init(

[Qemu-devel] [PATCH v2 for-1.2 09/27] kzm: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Peter Chubb Suppress default floppy, CD-ROM and SD card drives. Signed-off-by: Markus Armbruster --- hw/kzm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/kzm.c b/hw/kzm.c index a471048..6a5e9df 100644 --- a/hw/kzm.c +++ b/hw/kzm.c @@ -144,9 +144,6 @@ static QEMUMachine kzm_mac

[Qemu-devel] [PATCH v2 for-1.2 17/27] m68k: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Paul Brook --- hw/an5206.c | 3 --- hw/dummy_m68k.c | 3 --- hw/mcf5208.c| 3 --- 3 files changed, 9 deletions(-) diff --git a/hw/an5206.c b/hw/an5206.c index 4a0aebb..25407c0 100644 --- a/hw/an5206.c +++ b/hw/an5206.c @@ -86,9 +86,6 @@ static QEMUMachine an5206_machine = { .nam

[Qemu-devel] [PATCH v2 for-1.2 01/27] puv3: Require -kernel

2012-08-15 Thread Markus Armbruster
Without it, puv3_load_kernel() asserts. Cc: Guan Xuetao Suppress default floppy, CD-ROM and SD card drives for machine puv3. Signed-off-by: Markus Armbruster --- hw/puv3.c | 5 + 1 file changed, 5 insertions(+) diff --git a/hw/puv3.c b/hw/puv3.c index 43f7216..8aad17f 100644 --- a/hw/puv

[Qemu-devel] [PATCH v2 for-1.2 18/27] microblaze: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Peter Crosthwaite Suppress default floppy, CD-ROM and SD card drives for machines petalogix-ml605 and petalogix-s3adsp1800. Signed-off-by: Markus Armbruster --- hw/petalogix_ml605_mmu.c | 3 --- hw/petalogix_s3adsp1800_mmu.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/hw/pe

[Qemu-devel] [PATCH v2 for-1.2 25/27] sparc: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Blue Swirl Suppress default floppy drive for machines leon3_generic, SS-600MP, SS-1000, SS-2000. Suppress default CD-ROM drive for machine leon3_generic. Suppress default SD card drive for machines leon3_generic, SS-5, SS-10, SS-600MP, SS-20, Voyager, LX, SS-4, SPARCClassic, SPARCbook, SS-1

Re: [Qemu-devel] [PATCH for-1.2 v3 1/3] qlist: add qlist_size()

2012-08-15 Thread Michael Roth
On Wed, Aug 15, 2012 at 01:52:33PM -0600, Eric Blake wrote: > On 08/15/2012 12:45 PM, Michael Roth wrote: > > Signed-off-by: Michael Roth > > --- > > qlist.c | 13 + > > qlist.h |1 + > > 2 files changed, 14 insertions(+) > > No cover-letter? Started off as 1 patch with the ex

Re: [Qemu-devel] [PULL for-1.2] PReP patch queue 2012-08-15

2012-08-15 Thread Andreas Färber
Am 15.08.2012 22:27, schrieb Andreas Färber: > Hello Anthony, > > Please pull the PowerPC Reference Platform (PReP) queue into qemu.git master. > > With Alex' and Hervé's blessing this contains both fixes for runtime errors > trying to use -M prep on qemu-system-ppc64 [as] well as some progress

[Qemu-devel] [PATCH 2/3] prep: Add pc87312 Super I/O emulation

2012-08-15 Thread Andreas Färber
From: Hervé Poussineau This provides floppy and IDE controllers as well as serial and parallel ports. However, dynamic configuration of devices is not yet supported. Signed-off-by: Hervé Poussineau [AF: QOM'ify, split out header, create CharDriverState if absent] Signed-off-by: Andreas Färber

[Qemu-devel] [PATCH 1/3] prep: Include devices for ppc64 as well

2012-08-15 Thread Andreas Färber
Allows running qemu-system-ppc64 -M prep for consistency. Reported-by: Markus Armbruster Signed-off-by: Andreas Färber Acked-by: Hervé Poussineau --- default-configs/ppc64-softmmu.mak |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/default-configs/ppc64-softmmu.mak

[Qemu-devel] [PULL] PReP patch queue 2012-08-15

2012-08-15 Thread Andreas Färber
Hello Anthony, Please pull the PowerPC Reference Platform (PReP) queue into qemu.git master. With Alex' and Hervé's blessing this contains both fixes for runtime errors trying to use -M prep on qemu-system-ppc64 and well as some progress QOM'ifying the pc87312 Super I/O chipset. The following ch

[Qemu-devel] [PATCH 3/3] prep: Use pc87312 device instead of collection of random ISA devices

2012-08-15 Thread Andreas Färber
From: Hervé Poussineau We can't however replace the built-in IDE controller, as the one in pc87312 is only single-channel and can use only IRQ 14. Therefore the pc87312's IDE function gets disabled via the config property. PReP emulation also gains a parallel port emulation this way. Signed-off

[Qemu-devel] [PATCH v2 for-1.2 21/27] mips_fulong2e, mips_mipssim: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Suppress default floppy and SD card drive for machines fulong2e, mipssim. Suppress default CD-ROM drive for machine mipssim. Signed-off-by: Markus Armbruster --- hw/mips_fulong2e.c | 2 -- hw/mips_mipssim.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/hw/mips_fulong2e.c b/hw/mips_ful

[Qemu-devel] [PATCH v2 for-1.2 06/27] highbank: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Mark Langsdorf Suppress default floppy, CD-ROM and SD-card drives. Signed-off-by: Markus Armbruster --- hw/highbank.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/highbank.c b/hw/highbank.c index c1b404b..11aa131 100644 --- a/hw/highbank.c +++ b/hw/highbank.c @@ -326,9 +326,6 @

[Qemu-devel] [PATCH v2 for-1.2 27/27] xtensa: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Max Filippov Suppress default floppy, CD-ROM and SD card drives for machines lx60, lx200, sim. Signed-off-by: Markus Armbruster --- hw/xtensa_lx60.c | 6 -- hw/xtensa_sim.c | 3 --- 2 files changed, 9 deletions(-) diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c index 7276e08..3653f6

[Qemu-devel] [PATCH v2 for-1.2 20/27] mips_malta mips_r4k: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Aurelien Jarno Suppress default SD card drive for machines malta, mips. Suppress default floppy drive for machine mips. Signed-off-by: Markus Armbruster --- hw/mips_malta.c | 1 - hw/mips_r4k.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/hw/mips_malta.c b/hw/mips_malta.c index

Re: [Qemu-devel] [PATCH for-1.2 v3 2/3] json-parser: don't replicate tokens at each level of recursion

2012-08-15 Thread Eric Blake
On 08/15/2012 12:45 PM, Michael Roth wrote: > Currently, when parsing a stream of tokens we make a copy of the token > list at the beginning of each level of recursion so that we do not > modify the original list in cases where we need to fall back to an > earlier state. > > In the worst case, we

[Qemu-devel] [PATCH v2 for-1.2 08/27] omap_sx1: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Peter Maydell Suppress default floppy and CD-ROM drives for machines sx1, sx1-v1. Signed-off-by: Markus Armbruster --- hw/omap_sx1.c | 4 1 file changed, 4 deletions(-) diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c index a5d7b85..6643a8e 100644 --- a/hw/omap_sx1.c +++ b/hw/omap_sx1.c @@

[Qemu-devel] [PATCH v2 for-1.2 13/27] collie gumstix mainstone tosa vexpress z2: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Suppress default floppy and CD-ROM drives for machines collie, connex, verdex, mainstone, tosa, vexpress-a9, vexpress-a15, z2. Suppress default SD card drive for machine collie. Signed-off-by: Markus Armbruster --- hw/collie.c| 3 --- hw/gumstix.c | 4 hw/mainstone.c | 2 -- hw/tosa.

[Qemu-devel] [PATCH v2 for-1.2 14/27] axis-dev88: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Edgar E. Iglesias Suppress default floppy, CD-ROM and SD card drives. Signed-off-by: Markus Armbruster --- hw/axis_dev88.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/axis_dev88.c b/hw/axis_dev88.c index 982b921..eab6327 100644 --- a/hw/axis_dev88.c +++ b/hw/axis_dev88.c @@ -3

Re: [Qemu-devel] [PATCH for-1.2 v3 1/3] qlist: add qlist_size()

2012-08-15 Thread Eric Blake
On 08/15/2012 12:45 PM, Michael Roth wrote: > Signed-off-by: Michael Roth > --- > qlist.c | 13 + > qlist.h |1 + > 2 files changed, 14 insertions(+) No cover-letter? Reviewed-by: Eric Blake -- Eric Blake ebl...@redhat.com+1-919-301-3266 Libvirt virtualization library

Re: [Qemu-devel] [PATCH 13/18] qapi: Convert savevm

2012-08-15 Thread Eric Blake
On 08/15/2012 01:41 AM, Pavel Hrdina wrote: > Signed-off-by: Pavel Hrdina > --- I'm focusing my review more on the public interface (since that's what affects libvirt), and therefore glanced through 1 through 12 but did not pay close attention to them. > hmp-commands.hx | 2 +- > hmp.c

Re: [Qemu-devel] [PULL 0/9 for-1.2] Trivial patches for 11 to 15 August 2012

2012-08-15 Thread Anthony Liguori
Stefan Hajnoczi writes: > The last pull request for QEMU 1.2! > > The following changes since commit 03834e22abafbc8dc4052d46a5ccd6dd135a54a3: > > Merge remote-tracking branch 'origin/master' into staging (2012-08-14 > 15:19:50 -0500) > Pulled. Thanks. Regards, Anthony Liguori > are availa

Re: [Qemu-devel] [PULL 00/10] Block patches

2012-08-15 Thread Anthony Liguori
Kevin Wolf writes: > The following changes since commit 03834e22abafbc8dc4052d46a5ccd6dd135a54a3: > > Merge remote-tracking branch 'origin/master' into staging (2012-08-14 > 15:19:50 -0500) > > are available in the git repository at: > > http://repo.or.cz/r/qemu/kevin.git for-anthony > Pull

Re: [Qemu-devel] [PATCH 0/4] [PULL] qemu-kvm.git uq/master queue

2012-08-15 Thread Anthony Liguori
Marcelo Tosatti writes: > The following changes since commit 873359d411eeb380906761e46839a2b705dbcf75: > > Merge branch 'linux-user.next' of > git://git.linaro.org/people/pmaydell/qemu-arm (2012-08-14 19:50:22 +) > > are available in the git repository at: > > git://git.kernel.org/pub/sc

[Qemu-devel] [PATCH v2 for-1.2 19/27] mips_jazz: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Hervé Poussineau Suppress default SD card drive for machines magnum, pica61. Signed-off-by: Markus Armbruster --- hw/mips_jazz.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index 0e203cb..d5dffb6 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@ -

[Qemu-devel] [PATCH v2 for-1.2 15/27] pc xen: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Anthony Liguori Cc: Stefano Stabellini Suppress default SD card drive for machines pc-*, isapc, xenfv, xenpv. Signed-off-by: Markus Armbruster --- hw/pc_piix.c| 11 --- hw/xen_machine_pv.c | 1 - 2 files changed, 12 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c i

[Qemu-devel] [PATCH v2 for-1.2 23/27] ppc: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Alexander Graf Cc: Andreas Färber Cc: qemu-...@nongnu.org Suppress default floppy drive for machines ref405ep, taihu, bamboo, mac99, g3beige, mpc8544ds, pseries, virtex-ml507. Suppress default CD-ROM drive for machines ref405ep, taihu, bamboo, mpc8544ds, virtex-ml507. Suppress default SD c

[Qemu-devel] [PATCH v2 for-1.2 16/27] lm32: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Michael Walle Suppress default floppy and CD-ROM drives for machines lm32-evr, lm32-uclinux, milkymist. Suppress default SD card drive for machines lm32-evr, lm32-uclinux. Signed-off-by: Markus Armbruster --- hw/lm32_boards.c | 6 -- hw/milkymist.c | 2 -- 2 files changed, 8 deletio

[Qemu-devel] [PATCH v2 for-1.2 03/27] hw: Make default drives opt-in instead of opt-out for boards

2012-08-15 Thread Markus Armbruster
Cc: Alexander Graf Cc: Andreas Färber Cc: Andrzej Zaborowski Cc: Anthony Liguori Cc: Aurelien Jarno Cc: Blue Swirl Cc: Dmitry Solodkiy Cc: Edgar E. Iglesias Cc: Evgeny Voevodin Cc: Guan Xuetao Cc: Hervé Poussineau Cc: Igor Mitsyanko Cc: Jan Kiszka Cc: Magnus Damm Cc: Maksim Kozlov Cc

[Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Markus Armbruster
We create a number of default drives for machines to use: floppy, CD-ROM, SD card. Machines can suppress the ones they don't use, but few do. Fix that. I split this into parts that share target and maintainer for review. Cc: Alexander Graf Cc: Andreas Färber Cc: Andrzej Zaborowski Cc: Anthon

Re: [Qemu-devel] [PATCH v2 for-1.2 00/27] Suppress unused default drives

2012-08-15 Thread Alexander Graf
On 15.08.2012, at 21:17, Markus Armbruster wrote: > We create a number of default drives for machines to use: floppy, > CD-ROM, SD card. Machines can suppress the ones they don't use, but > few do. Fix that. > > I split this into parts that share target and maintainer for review. > > Cc: Alex

[Qemu-devel] [PATCH v2 for-1.2 10/27] musicpal: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Jan Kiszka Suppress default floppy, CD-ROM and SD card drives. Signed-off-by: Markus Armbruster --- hw/musicpal.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/musicpal.c b/hw/musicpal.c index 3861056..ad725b5 100644 --- a/hw/musicpal.c +++ b/hw/musicpal.c @@ -1658,9 +1658,6 @@

[Qemu-devel] [PATCH v2 for-1.2 05/27] nseries palm spitz: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Andrzej Zaborowski Suppress default floppy and CD-ROM drives for machines n800, n810, cheetah, akita, spitz, borzoi, terrier. Signed-off-by: Markus Armbruster --- hw/nseries.c | 4 hw/palm.c| 2 -- hw/spitz.c | 8 3 files changed, 14 deletions(-) diff --git a/hw/nserie

[Qemu-devel] [PATCH v2 for-1.2 26/27] unicore32: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Guan Xuetao Suppress default floppy, CD-ROM and SD card drives for machine puv3. Signed-off-by: Markus Armbruster --- hw/puv3.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/puv3.c b/hw/puv3.c index bf03336..8aad17f 100644 --- a/hw/puv3.c +++ b/hw/puv3.c @@ -124,9 +124,6 @@ stat

[Qemu-devel] [PATCH v2 for-1.2 24/27] sh4: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Magnus Damm Suppress default floppy, CD-ROM and SD card drives for machines r2d, shix. Signed-off-by: Markus Armbruster --- hw/r2d.c | 3 --- hw/shix.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/hw/r2d.c b/hw/r2d.c index e4812ea..0f16e81 100644 --- a/hw/r2d.c +++ b/hw/r2d.c @@

[Qemu-devel] [PATCH v2 for-1.2 22/27] or32-sim: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Suppress default floppy, CD-ROM and SD card drive. Signed-off-by: Markus Armbruster --- hw/openrisc_sim.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/openrisc_sim.c b/hw/openrisc_sim.c index 2b77846..55e97f0 100644 --- a/hw/openrisc_sim.c +++ b/hw/openrisc_sim.c @@ -139,9 +139,6 @@

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Eduardo Otubo
On Wed, Aug 15, 2012 at 09:22:20AM -0500, anth...@codemonkey.ws wrote: > > Hi, > > Today is the hard freeze for 1.2. If you have any pull requests and/or > patches targetted for the hard freeze, please send them by 3pm > US/Central time today and clearly mark them "for-1.2". > > If there are ex

[Qemu-devel] [PATCH v2 for-1.2 11/27] exynos4: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Evgeny Voevodin Cc: Maksim Kozlov Cc: Igor Mitsyanko Cc: Dmitry Solodkiy Suppress default floppy, CD-ROM and SD card drives for machines nuri, smdkc210. Signed-off-by: Markus Armbruster --- hw/exynos4_boards.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/hw/exynos4_boards.c

[Qemu-devel] [PATCH v2 for-1.2 07/27] integratorcp, realview, stellaris, versatilepb: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Paul Brook Cc: Peter Maydell Suppress default floppy drive for machines integratorcp, realview-eb, realview-eb-mpcore, realview-pb-a8, realview-pbx-a9, lm3s811evb, lm3s6965evb, versatilepb, versatileab. Suppress default CD-ROM drive for machines integratorcp, realview-pb-a8, realview-pbx-a9

[Qemu-devel] [PATCH v2 for-1.2 12/27] xilinx-zynq: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Cc: Peter Crosthwaite Suppress default floppy and CD-ROM drives. SD card was already suppressed. Signed-off-by: Markus Armbruster --- hw/xilinx_zynq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c index 1f16a34..b532953 100644 --- a/hw/xilinx_zynq.c

[Qemu-devel] [PATCH v2 for-1.2 04/27] alpha_dp264: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Suppress default floppy and SD-card drives. Signed-off-by: Markus Armbruster --- hw/alpha_dp264.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/alpha_dp264.c b/hw/alpha_dp264.c index 06661e3..836fb41 100644 --- a/hw/alpha_dp264.c +++ b/hw/alpha_dp264.c @@ -169,9 +169,7 @@ static QEMUMa

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Marcelo Tosatti
On Wed, Aug 15, 2012 at 09:22:20AM -0500, anth...@codemonkey.ws wrote: > > Hi, > > Today is the hard freeze for 1.2. If you have any pull requests and/or > patches targetted for the hard freeze, please send them by 3pm > US/Central time today and clearly mark them "for-1.2". > > If there are ex

Re: [Qemu-devel] [PATCH v2] kvm-all.c: Move init of irqchip_inject_ioctl out of kvm_irqchip_create()

2012-08-15 Thread Marcelo Tosatti
On Wed, Aug 15, 2012 at 12:08:13PM +0100, Peter Maydell wrote: > Move the init of the irqchip_inject_ioctl field of KVMState out of > kvm_irqchip_create() and into kvm_init(), so that kvm_set_irq() > can be used even when no irqchip is created (for architectures > that support async interrupt notif

[Qemu-devel] [PATCH V3 2/2] qemu-img: Add json output option to the info command.

2012-08-15 Thread Benoît Canet
This additionnal --machine=json option make qemu-img info output on stdout a JSON formated representation of the image informations. --machine=json was choosen instead of --format=json because the info command already have a -f parameter. example: { "backing-filename-format": "raw", "snap

[Qemu-devel] [PATCH V3 0/2] Add JSON output to qemu-img info

2012-08-15 Thread Benoît Canet
This patchset add a JSON output mode to the qemu-img info command. It's a rewrite from scratch of the original patchset by Wenchao Xia following Anthony Liguori advices on JSON formating. To use it simply add --machine=json to the command line. Benoît Canet (3): qapi: Add SnapshotInfo. qapi:

[Qemu-devel] [PATCH V3 1/2] qapi: Add SnapshotInfo and ImageInfo.

2012-08-15 Thread Benoît Canet
Signed-off-by: Benoit Canet --- qapi-schema.json | 60 ++ 1 file changed, 60 insertions(+) diff --git a/qapi-schema.json b/qapi-schema.json index a92adb1..fbf61e7 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -126,6 +126,66 @@

[Qemu-devel] [PATCH for-1.2 v3 3/3] check-qjson: add test for large JSON objects

2012-08-15 Thread Michael Roth
Signed-off-by: Michael Roth --- tests/check-qjson.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/tests/check-qjson.c b/tests/check-qjson.c index 526e25e..3b896f5 100644 --- a/tests/check-qjson.c +++ b/tests/check-qjson.c @@ -466,6 +46

[Qemu-devel] [PATCH for-1.2 v3 2/3] json-parser: don't replicate tokens at each level of recursion

2012-08-15 Thread Michael Roth
Currently, when parsing a stream of tokens we make a copy of the token list at the beginning of each level of recursion so that we do not modify the original list in cases where we need to fall back to an earlier state. In the worst case, we will only read 1 or 2 tokens off the list before recursi

[Qemu-devel] [PATCH for-1.2 v3 1/3] qlist: add qlist_size()

2012-08-15 Thread Michael Roth
Signed-off-by: Michael Roth --- qlist.c | 13 + qlist.h |1 + 2 files changed, 14 insertions(+) diff --git a/qlist.c b/qlist.c index 88498b1..b48ec5b 100644 --- a/qlist.c +++ b/qlist.c @@ -124,6 +124,19 @@ int qlist_empty(const QList *qlist) return QTAILQ_EMPTY(&qlist->he

Re: [Qemu-devel] [PATCH for-1.2 v2 2/3] json-parser: don't replicate tokens at each level of recursion

2012-08-15 Thread Michael Roth
On Wed, Aug 15, 2012 at 12:09:09PM -0600, Eric Blake wrote: > On 08/15/2012 11:56 AM, Michael Roth wrote: > > Currently, when parsing a stream of tokens we make a copy of the token > > list at the beginning of each level of recursion so that we do not > > modify the original list in cases where we

  1   2   3   4   >