[Qemu-devel] [PATCH] Makefile: drop recursive libcacard clean

2013-01-14 Thread Stefan Hajnoczi
Commit eb8eb53e5846a957cf333f2e1ec8cb6e0c04 ("libcacard: rewrite Makefile in non-recursive style") refactored libcacard/Makefile so it can be included by the top-level Makefile. The top-level clean target still loops over subdirectories, including libcacard/, to invoke recursive clean. Remove lib

Re: [Qemu-devel] [PATCH V3 02/11] block: add bdrv_get_filename() function

2013-01-14 Thread Wenchao Xia
于 2013-1-15 1:08, Luiz Capitulino 写道: On Mon, 14 Jan 2013 15:09:38 +0800 Wenchao Xia wrote: This function will simply return the uri or filename used to open the image. Reviewed-by: Eric Blake Signed-off-by: Wenchao Xia --- block.c |5 + include/block/block.h |

Re: [Qemu-devel] [PATCH V3 01/11] qemu-img: remove unused parameter in collect_image_info()

2013-01-14 Thread Wenchao Xia
于 2013-1-15 1:08, Luiz Capitulino 写道: On Mon, 14 Jan 2013 15:09:37 +0800 Wenchao Xia wrote: Parameter *fmt was not used, so remove it. Reviewed-by: Eric Blake Signed-off-by: Wenchao Xia --- qemu-img.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/qemu-im

Re: [Qemu-devel] [PATCH 2/2] dataplane: fix build breakage on set_guest_notifiers()

2013-01-14 Thread Stefan Hajnoczi
On Mon, Jan 14, 2013 at 01:20:13PM -0600, Michael Roth wrote: > virtio_pci_set_guest_notifiers() now takes an additional argument to > specify the number of virtqueues to assign a guest notifier for. This > causes a build breakage for CONFIG_VIRTIO_BLK_DATA_PLANE builds: > > /home/mdroth/w/qemu2.g

Re: [Qemu-devel] [PATCH 1/2] sheepdog: multiplex the rw FD to flush cache

2013-01-14 Thread Stefan Hajnoczi
On Mon, Jan 14, 2013 at 02:01:02PM +0800, Liu Yuan wrote: > From: Liu Yuan > > This will reduce sockfds connected to the sheep server to one, which simply > the > future hacks. > > Cc: MORITA Kazutaka > Cc: Kevin Wolf > Cc: Stefan Hajnoczi > Signed-off-by: Liu Yuan > --- > block/sheepdog.c

Re: [Qemu-devel] [PATCH V2 07/10] snapshot: qmp use new internal API for external snapshot transaction

2013-01-14 Thread Wenchao Xia
于 2013-1-14 18:06, Stefan Hajnoczi 写道: On Mon, Jan 14, 2013 at 10:56:30AM +0800, Wenchao Xia wrote: 于 2013-1-11 17:12, Stefan Hajnoczi 写道: On Fri, Jan 11, 2013 at 02:22:28PM +0800, Wenchao Xia wrote: 于 2013-1-10 20:41, Stefan Hajnoczi 写道: On Thu, Jan 10, 2013 at 11:21:22AM +0800, Wenchao Xia

Re: [Qemu-devel] [PATCH] virtio-9p: fix compilation error.

2013-01-14 Thread Michael S. Tsirkin
On Tue, Jan 15, 2013 at 01:44:32AM -, Anthony Liguori wrote: > Thanks, applied. > > Regards, > > Anthony Liguori OK so one must have libcap-devel and libattr-devel on a development box too.

[Qemu-devel] [PATCH v5 2/2] target-i386: change some dr7 related functions

2013-01-14 Thread liguang
logic of some original dr7 related functions are not so readable, so try to clearify them. Signed-off-by: liguang --- target-i386/cpu.h| 13 - target-i386/helper.c | 76 + 2 files changed, 63 insertions(+), 26 deletions(-) diff --g

[Qemu-devel] [PATCH v5 1/2] target-i386: define dr7 bit field

2013-01-14 Thread liguang
implictly use of dr7 bit field is a little hard to understand, so try to define them and use the defined name. Signed-off-by: liguang --- target-i386/cpu.h |6 ++ target-i386/machine.c |5 +++-- target-i386/misc_helper.c |4 ++-- target-i386/seg_helper.c |9 +

[Qemu-devel] [PATCH v5 0/2] target-i386: define dr7 bit filed and change dr7 related functions

2013-01-14 Thread liguang
the breakpoint related functions are a little hard to read for their implicit dr7 bit filed and not well organized logic, so try to define more readable bit filed for dr7 and clarify the breakpoint logic. changes v4->v5 - fix some not well formated changes. - split functional and non-functional c

Re: [Qemu-devel] [PATCH] target-i386: clarify logic of breakpoint functions

2013-01-14 Thread li guang
在 2013-01-15二的 04:26 +0100,Andreas Färber写道: > Am 15.01.2013 03:13, schrieb liguang: > > the breakpoint related functions are a little > > hard to read for their implicit dr7 bit filed > > and not well organized logic, so try to define > > more readable bit filed for dr7 and clarify > > the breakpo

Re: [Qemu-devel] [PATCH 2/2] pixman: fix warning

2013-01-14 Thread Andreas Färber
Am 09.01.2013 10:17, schrieb Gerd Hoffmann: > Cc: afaer...@suse.de > Cc: ag...@suse.de > Signed-off-by: Gerd Hoffmann > --- > include/ui/qemu-pixman.h |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h > index 3

[Qemu-devel] [PATCH v3] Enable and Handle in-kernel watchdog emulation

2013-01-14 Thread Bharat Bhushan
This Patch enables and handle the in-kernel watchdog emulation if KVM supports. Initially there were 3 patches, 2 of them are already applied so sending the 3rd patch now. Bharat Bhushan (1): Enable kvm emulated watchdog hw/ppc_booke.c | 48 - targe

[Qemu-devel] [PATCH v3] Enable kvm emulated watchdog

2013-01-14 Thread Bharat Bhushan
Enable the KVM emulated watchdog if KVM supports (use the capability enablement in watchdog handler). Also watchdog exit (KVM_EXIT_WATCHDOG) handling is added. Watchdog state machine is cleared whenever VM state changes to running. This is to handle the cases like return from debug halt etc. Signe

Re: [Qemu-devel] [PATCH] bswap: improve gluing

2013-01-14 Thread Andreas Färber
Am 13.01.2013 17:35, schrieb Blue Swirl: > OpenBSD system compiler (gcc 4.2.1) has problems with concatenation > of macro arguments in macro functions: > CCaes.o > In file included from /src/qemu/include/qemu-common.h:126, > from /src/qemu/aes.c:30: > /src/qemu/include/qemu/b

[Qemu-devel] [Bug 1077838] Update Released

2013-01-14 Thread Scott Kitterman
The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression

Re: [Qemu-devel] [PATCH qom-cpu 00/17] x86 CPU cleanup, part 3

2013-01-14 Thread Andreas Färber
Am 11.01.2013 03:10, schrieb Igor Mammedov: > Igor Mammedov (17): > target-i386: move setting defaults out of cpu_x86_parse_featurestr() > target-i386: cpu_x86_register() consolidate freeing resources > target-i386: move kvm_check_features_against_host() check to realize > time Thanks, I

[Qemu-devel] [RFC PATCH 2/2] qemu vfio-pci: Graphics device quirks

2013-01-14 Thread Alex Williamson
Apparently graphics vendors need to come up with new ways to retrieve PCI BAR addresses on every revision of their chip. These are the ones that I've found on the following assortment of cards: Advanced Micro Devices [AMD] nee ATI Cedar PRO [Radeon HD 5450/6350] Advanced Micro Devices [AMD] nee A

[Qemu-devel] [RFC PATCH 1/2] qemu vfio-pci: Add support for VGA MMIO and I/O port access

2013-01-14 Thread Alex Williamson
Most VGA cards need some kind of quirk to fully operate since they hide backdoors to get to other registers outside of PCI config space within the registers, but this provides the base infrastructure. If we could identity map PCI resources for assigned devices we would need a lot fewer quirks. To

[Qemu-devel] [RFC PATCH 0/2] qemu vfo-pci: VGA support + initial round of device quirks

2013-01-14 Thread Alex Williamson
This series make use of the recently posted kernel-side vfio-pci support for accessing VGA ranges. This enables a handful of devices to be used as the primary (only) VM console. See patch 2 for a list of devices. These show seabios text mode output and work with standard VGA drivers. Accelerate

Re: [Qemu-devel] [PATCH] define qemukvm-1.2 machine type

2013-01-14 Thread Cole Robinson
On 12/12/2012 05:39 PM, Marcelo Tosatti wrote: > > To allow migration from qemu-kvm-1.2, where cirrus device has 16 megabytes > of RAM. > > Signed-off-by: Marcelo Tosatti > Hi Marcelo, I'm trying to sort through this again. > diff --git a/hw/pc_piix.c b/hw/pc_piix.c > index 19e342a..ead4b6b 1

Re: [Qemu-devel] [PATCH 0/7 v2] KVM regsync

2013-01-14 Thread Bhushan Bharat-R65777
> -Original Message- > From: Jason J. Herne [mailto:jjhe...@linux.vnet.ibm.com] > Sent: Thursday, January 10, 2013 8:59 PM > To: ag...@suse.de; borntrae...@de.ibm.com; aligu...@us.ibm.com; > mtosa...@redhat.com; qemu-devel@nongnu.org; Bhushan Bharat-R65777; > jan.kis...@siemens.com > Subj

Re: [Qemu-devel] [PATCH] target-i386: clarify logic of breakpoint functions

2013-01-14 Thread Andreas Färber
Am 15.01.2013 03:13, schrieb liguang: > the breakpoint related functions are a little > hard to read for their implicit dr7 bit filed > and not well organized logic, so try to define > more readable bit filed for dr7 and clarify > the breakpoint logic. > it's just the squashed one for previous slig

[Qemu-devel] [Bug 1077838] Re: qemu-nbd -r -c taints device for subsequent usage, even after -d

2013-01-14 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 1.0+noroms-0ubuntu14.6 --- qemu-kvm (1.0+noroms-0ubuntu14.6) precise-proposed; urgency=low * Fix qemu-kvm.upstart: just don't run in a container. Otherwise we'll still try to load/unload kernel modules. Also undo the || true after

[Qemu-devel] [Bug 1077838] Re: qemu-nbd -r -c taints device for subsequent usage, even after -d

2013-01-14 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 1.2.0+noroms- 0ubuntu2.12.10.1 --- qemu-kvm (1.2.0+noroms-0ubuntu2.12.10.1) quantal-proposed; urgency=low [ Serge Hallyn ] * debian/qemu-kvm.postinst: use udevadm trigger to change /dev/kvm perms as recommended by Steve Langasek (LP

Re: [Qemu-devel] [PATCH V5 4/6] HMP: filter out space before check of sub-command

2013-01-14 Thread Wenchao Xia
于 2013-1-14 21:46, Markus Armbruster 写道: Wenchao Xia writes: 于 2013-1-12 4:12, Luiz Capitulino 写道: On Fri, 11 Jan 2013 17:14:03 +0800 Wenchao Xia wrote: This fix the case when user input "@command ". Original it will return NULL for monitor_parse_command(), now it will return the @comm

Re: [Qemu-devel] [PATCH v5 1/2] Add TEWS TPCI200 IndustryPack emulation

2013-01-14 Thread Alberto Garcia
On Fri, Jan 11, 2013 at 09:28:48PM +0100, Andreas Färber wrote: > I do wonder if adjust_value() can be replaced by switching > MemoryRegion endianness between DEVICE_LITTLE_ENDIAN and > DEVICE_BIG_ENDIAN rather than having it as DEVICE_NATIVE_ENDIAN and > doing a manual bswap16()? Avi had actuall

Re: [Qemu-devel] [PATCH V3 04/11] qemu-img: switch image retrieving function

2013-01-14 Thread Wenchao Xia
于 2013-1-14 19:25, Pavel Hrdina 写道: On Mon, 2013-01-14 at 15:09 +0800, Wenchao Xia wrote: Now qemu-img call block layer function to get image info. Signed-off-by: Wenchao Xia Reviewed-by: Eric Blake --- qemu-img.c | 86 +-- 1 fil

Re: [Qemu-devel] [PATCH V3 11/11] hmp: show snapshot on single block device

2013-01-14 Thread Wenchao Xia
> On Mon, 2013-01-14 at 15:09 +0800, Wenchao Xia wrote: This patch use block layer API to qmp snapshot info on a block device, then use the same code dumping vm snapshot info, to print in monitor. Signed-off-by: Wenchao Xia --- Note: This patch need previous hmp extention patch which enab

[Qemu-devel] [PATCH] target-i386: clarify logic of breakpoint functions

2013-01-14 Thread liguang
the breakpoint related functions are a little hard to read for their implicit dr7 bit filed and not well organized logic, so try to define more readable bit filed for dr7 and clarify the breakpoint logic. it's just the squashed one for previous slightly refactor dr7 related functions patches. Sign

[Qemu-devel] buildbot failure in qemu on qmp_x86_64_debian_6_0

2013-01-14 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/510 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build Re

[Qemu-devel] buildbot failure in qemu on qmp_i386_debian_6_0

2013-01-14 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/510 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build Reason

[Qemu-devel] [PATCH for-1.4 v2] qom: Make object_resolve_path_component() path argument const

2013-01-14 Thread Andreas Färber
A usage with a hardcoded partial path such as object_resolve_path_component(obj, "foo") is totally valid but currently leads to a compilation error. Fix this. Signed-off-by: Andreas Färber --- include/qom/object.h |2 +- qom/object.c |2 +- 2 Dateien geändert, 2 Zeilen hinzug

Re: [Qemu-devel] [PATCH] virtio-9p: fix compilation error.

2013-01-14 Thread Anthony Liguori
Thanks, applied. Regards, Anthony Liguori

Re: [Qemu-devel] [Qemu-ppc] [PATCH v3 REBASE 0/2] Qemu boot order patch series

2013-01-14 Thread Avik Sil
Hi Anthony, Can you please merge it before 1.4 soft feature freeze? Regaqrds, Avik On 01/08/2013 12:36 PM, Avik Sil wrote: > Hi, > > This patch series allows a machine to specify if it wants a default boot > order or not. > > Regards, > Avik > > Changes v2 -> v3: > - Implement boot_order as

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

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder block_openbsd_4.9 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/block_openbsd_4.9/builds/446 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_openbsd49 Build

[Qemu-devel] [PATCH] PIIX3: reset the VM when the Reset Control Register's RCPU bit gets set

2013-01-14 Thread Laszlo Ersek
>From : Traditional PCI config space access is achieved by writing a 32 bit value to io port 0xcf8 to identify the bus, device, function and config register. Port 0xcfc then contains the register in question. But if you write the appropriate pair of m

[Qemu-devel] buildbot failure in qemu on disable_kvm_x86_64_debian_6_0

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_x86_64_debian_6_0/builds/513 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build:

[Qemu-devel] [PATCH V3 4/7] virtio-pci-bus: introduce virtio-pci-bus.

2013-01-14 Thread fred . konrad
From: KONRAD Frederic Introduce virtio-pci-bus, which extends virtio-bus. It is used with virtio-pci transport device. Signed-off-by: KONRAD Frederic --- hw/virtio-pci.c | 37 + hw/virtio-pci.h | 15 +++ 2 files changed, 52 insertions(+) diff --

Re: [Qemu-devel] [PATCH V3 07/11] block: export function bdrv_find_snapshot()

2013-01-14 Thread Eric Blake
On 01/14/2013 12:09 AM, Wenchao Xia wrote: > This patch move it from savevm.c to block.c and export it. > > Signed-off-by: Wenchao Xia > --- > block.c | 23 +++ > include/block/block.h |2 ++ > savevm.c | 22 -- > 3 fil

[Qemu-devel] [PATCH V3 5/7] virtio-pci: refactor virtio-pci device.

2013-01-14 Thread fred . konrad
From: KONRAD Frederic Create the virtio-pci device which is abstract. This transport device will create a virtio-pci-bus, so one VirtIODevice can be connected. Signed-off-by: KONRAD Frederic --- hw/virtio-pci.c | 118 hw/virtio-pci.h |

[Qemu-devel] Updated CPUhotplug wiki page

2013-01-14 Thread Igor Mammedov
http://wiki.qemu.org/Features/CPUHotplug#X86CPU_Hot-Add_Dependencies_and_ToDo-s Any comments are welcome. -- Regards, Igor

[Qemu-devel] [PATCH V3 2/7] virtio-bus: introduce virtio-bus

2013-01-14 Thread fred . konrad
From: KONRAD Frederic Introduce virtio-bus. Refactored transport device will create a bus which extends virtio-bus. Signed-off-by: KONRAD Frederic Reviewed-by: Peter Maydell --- hw/Makefile.objs | 1 + hw/virtio-bus.c | 129 +++ hw/virti

Re: [Qemu-devel] [PATCH v8 4/4] Add qemu-img compare documentation

2013-01-14 Thread Eric Blake
On 01/14/2013 03:26 AM, Miroslav Rezanina wrote: > Adding documentation for new qemu-img subcommand compare. > > Signed-off-by: Miroslav Rezanina > --- > qemu-img.c|7 ++- > qemu-img.texi | 32 > 2 files changed, 38 insertions(+), 1 deletions(-) Yo

[Qemu-devel] buildbot failure in qemu on disable_kvm_x86_64_out_of_tree

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_x86_64_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_x86_64_out_of_tree/builds/699 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Buil

[Qemu-devel] buildbot failure in qemu on disable_kvm_i386_out_of_tree

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_i386_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_i386_out_of_tree/builds/699 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: y

[Qemu-devel] [PATCH V3 7/7] virtio-s390-device: create a virtio-s390-bus during init.

2013-01-14 Thread fred . konrad
From: KONRAD Frederic A virtio-s390-bus is created during the init. So one VirtIODevice can be connected on the virtio-s390-device through this bus. Signed-off-by: KONRAD Frederic --- hw/s390-virtio-bus.c | 2 ++ hw/s390-virtio-bus.h | 1 + 2 files changed, 3 insertions(+) diff --git a/hw/s39

[Qemu-devel] [PATCH V3 6/7] virtio-s390-bus: add virtio-s390-bus.

2013-01-14 Thread fred . konrad
From: KONRAD Frederic This add the virtio-s390-bus which extends virtio-bus. So one VirtIODevice can be connected on this bus. Signed-off-by: KONRAD Frederic --- hw/s390-virtio-bus.c | 29 + hw/s390-virtio-bus.h | 17 + 2 files changed, 46 insertions

[Qemu-devel] [PATCH V3 3/7] virtio-device: refactor virtio-device.

2013-01-14 Thread fred . konrad
From: KONRAD Frederic Create the virtio-device which is abstract. All the virtio-device can extend this class. It also add some functions to virtio-bus. Signed-off-by: KONRAD Frederic --- hw/virtio-bus.c | 35 + hw/virtio-bus.h | 7 ++ hw/virtio.c | 70

[Qemu-devel] [PATCH V3 1/7] qdev: add a maximum device allowed field for the bus.

2013-01-14 Thread fred . konrad
From: KONRAD Frederic Add a max_dev field to BusClass to specify the maximum amount of devices allowed on the bus (has no effect if max_dev=0) Signed-off-by: KONRAD Frederic Reviewed-by: Peter Maydell --- hw/qdev-core.h| 2 ++ hw/qdev-monitor.c | 12 2 files changed, 14 ins

[Qemu-devel] [PATCH V3 0/7] Virtio-refactoring part1.

2013-01-14 Thread fred . konrad
From: KONRAD Frederic This is the part 1/3 of the virtio-refactoring with some fixes. It introduces virtio-bus, virtio-pci-bus, virtio-s390-bus, and creates virtio-pci, virtio-device. You can clone that from here : git://git.greensocs.com/qemu_virtio.git virtio_v3_part1 Changes patch v2 -> v3:

[Qemu-devel] buildbot failure in qemu on disable_kvm_i386_debian_6_0

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_i386_debian_6_0/builds/513 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuz

Re: [Qemu-devel] [PATCH v8 2/4] qemu-img: Add "Quiet mode" option

2013-01-14 Thread Eric Blake
On 01/14/2013 03:26 AM, Miroslav Rezanina wrote: > There can be a need to turn output to stdout off. This patch adds a -q option > that enable "Quiet mode". In Quiet mode, only errors are printed out. > > Signed-off-by: Miroslav Rezanina > --- > if (result.corruptions_fixed || result.leaks_

[Qemu-devel] [PULL 0/1] qemu-ga: documentation/schema fix

2013-01-14 Thread Michael Roth
Small patch that was missing from previous qga-pull-1-14-2013 pull. I've confirmed that this won't conflict with outstanding, so please pull both. The following changes since commit b8bec49cccbf8e34558371df60e7e64419c4fde9: dataplane: fix build breakage on set_guest_notifiers() (2013-01-14 13:3

[Qemu-devel] [PATCH] qga: add missing commas in json docs

2013-01-14 Thread Michael Roth
From: Eric Blake * qga/qapi-schema.json: Use valid JSON. Signed-off-by: Eric Blake Signed-off-by: Michael Roth --- qga/qapi-schema.json |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json index ed0eb69..d91d903 100644 --- a/qg

Re: [Qemu-devel] [PATCH 6/6] qemu-ga: Handle errors uniformely in ga_channel_open()

2013-01-14 Thread Markus Armbruster
mdroth writes: > On Fri, Jan 11, 2013 at 11:25:02AM +0100, Markus Armbruster wrote: >> We detect errors in seven places. One reports with g_error(), which > > Do you mean "in several places"? I can fix this in tree. I counted seven places, but it doesn't really matter, "several" would be fine,

[Qemu-devel] buildbot failure in qemu on default_mingw32

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder default_mingw32 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_mingw32/builds/497 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_rhel61 Build Reason:

Re: [Qemu-devel] [PATCH] qga: add missing commas in json docs

2013-01-14 Thread mdroth
On Mon, Jan 14, 2013 at 02:54:05PM -0700, Eric Blake wrote: > On 01/02/2013 04:14 PM, mdroth wrote: > > On Wed, Jan 02, 2013 at 09:15:11AM -0700, Eric Blake wrote: > >> * qga/qapi-schema.json: Use valid JSON. > >> > >> Signed-off-by: Eric Blake > > > > Thanks, applied to qga branch > > Ping. I

[Qemu-devel] buildbot failure in qemu on default_i386_debian_6_0

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder default_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_i386_debian_6_0/builds/511 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Buil

[Qemu-devel] buildbot failure in qemu on default_i386_out_of_tree

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder default_i386_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_i386_out_of_tree/builds/697 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Bu

[Qemu-devel] buildbot failure in qemu on default_x86_64_out_of_tree

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder default_x86_64_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_x86_64_out_of_tree/builds/697 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuk

Re: [Qemu-devel] [PATCH] qga: add missing commas in json docs

2013-01-14 Thread mdroth
On Mon, Jan 14, 2013 at 02:54:05PM -0700, Eric Blake wrote: > On 01/02/2013 04:14 PM, mdroth wrote: > > On Wed, Jan 02, 2013 at 09:15:11AM -0700, Eric Blake wrote: > >> * qga/qapi-schema.json: Use valid JSON. > >> > >> Signed-off-by: Eric Blake > > > > Thanks, applied to qga branch > > Ping. I

[Qemu-devel] buildbot failure in qemu on default_x86_64_fedora16

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder default_x86_64_fedora16 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_x86_64_fedora16/builds/493 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_fedor

[Qemu-devel] buildbot failure in qemu on default_x86_64_debian_6_0

2013-01-14 Thread qemu
The Buildbot has detected a new failure on builder default_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_x86_64_debian_6_0/builds/511 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

Re: [Qemu-devel] [PATCH] qga: add missing commas in json docs

2013-01-14 Thread Eric Blake
On 01/02/2013 04:14 PM, mdroth wrote: > On Wed, Jan 02, 2013 at 09:15:11AM -0700, Eric Blake wrote: >> * qga/qapi-schema.json: Use valid JSON. >> >> Signed-off-by: Eric Blake > > Thanks, applied to qga branch Ping. I don't see this patch in today's qga pull request: https://lists.gnu.org/archiv

Re: [Qemu-devel] [PATCH] linux-user: Some scripts to create linux container using qemu-linux-user.

2013-01-14 Thread Andreas Färber
Am 14.01.2013 22:36, schrieb Laurent Vivier: > * sudo qemu-update-binfmt.sh > > Call update-binfmts to install /bin/qemu- as the binfmt interpreter. > > * sudo qemu-create-lxc.sh > > This script mixes linux container, binfmt and qemu to create hybrid linux > container : container on an host k

Re: [Qemu-devel] [Qemu-ppc] [RFC ppc-next v3 00/10] target-ppc: MacIO QOM'ification

2013-01-14 Thread Mark Cave-Ayland
On 13/01/13 23:54, Andreas Färber wrote: Hi Andreas, ADB is still being worked on. DBDMA still TODO (but then again so is x86 DMA). ESCC would affect sparc as well. The PICs pose cyclic dependency issues (mapped inside MacIO but MacIO as a PCIDevice needing a PCIBus, the Grackle/UniNorth PHBs n

Re: [Qemu-devel] [PATCH 05/17] target-i386: replace uint32_t vendor fields by vendor string in x86_def_t

2013-01-14 Thread Igor Mammedov
On Mon, 14 Jan 2013 20:32:12 +0100 Andreas Färber wrote: > Am 11.01.2013 03:10, schrieb Igor Mammedov: > > Vendor property setter takes string as vendor value but cpudefs > > use uint32_t vendor[123] fields to define vendor value. It makes it > > difficult to unify and use property setter for val

[Qemu-devel] [PATCH] virtio-9p: fix compilation error.

2013-01-14 Thread fred . konrad
From: KONRAD Frederic Fix the compilation error introduced by msg new field. CChw/9pfs/virtio-9p.o In file included from /home/konradf/Documents/safe/greensocs/virtio-project/x86-qemu/qemu/hw/9pfs/virtio-9p.c:17:0: /home/konradf/Documents/safe/greensocs/virtio-project/x86-qemu/qemu/hw/virti

Re: [Qemu-devel] [PATCH 05/17] target-i386: replace uint32_t vendor fields by vendor string in x86_def_t

2013-01-14 Thread Eduardo Habkost
On Mon, Jan 14, 2013 at 08:32:12PM +0100, Andreas Färber wrote: > Am 11.01.2013 03:10, schrieb Igor Mammedov: > > Vendor property setter takes string as vendor value but cpudefs > > use uint32_t vendor[123] fields to define vendor value. It makes it > > difficult to unify and use property setter fo

Re: [Qemu-devel] [PATCH V2 4/7] virtio-pci-bus: introduce virtio-pci-bus.

2013-01-14 Thread KONRAD Frédéric
On 14/01/2013 22:39, Andreas Färber wrote: Am 14.01.2013 21:36, schrieb KONRAD Frédéric: On 14/01/2013 20:08, Anthony Liguori wrote: fred.kon...@greensocs.com writes: +VirtioBusState *virtio_pci_bus_new(VirtIOPCIProxy *dev) +{ +DeviceState *qdev = DEVICE(dev); +BusState *qbus = qbus_c

Re: [Qemu-devel] [PATCH V2 4/7] virtio-pci-bus: introduce virtio-pci-bus.

2013-01-14 Thread Andreas Färber
Am 14.01.2013 21:36, schrieb KONRAD Frédéric: > On 14/01/2013 20:08, Anthony Liguori wrote: >> fred.kon...@greensocs.com writes: >> >>> +VirtioBusState *virtio_pci_bus_new(VirtIOPCIProxy *dev) >>> +{ >>> +DeviceState *qdev = DEVICE(dev); >>> +BusState *qbus = qbus_create(TYPE_VIRTIO_PCI_BUS

Re: [Qemu-devel] [PATCH v4 9/10] chardev: add socket chardev support to chardev-add (qmp)

2013-01-14 Thread Eric Blake
On 01/14/2013 04:35 AM, Gerd Hoffmann wrote: > qemu_chr_open_socket is split into two functions. All initialization > after creating the socket file handler is split away into the new > qemu_chr_open_socket_fd function. > > chr->filename doesn't get filled from QemuOpts any more. Qemu gathers >

[Qemu-devel] [PATCH] linux-user: Some scripts to create linux container using qemu-linux-user.

2013-01-14 Thread Laurent Vivier
* sudo qemu-update-binfmt.sh Call update-binfmts to install /bin/qemu- as the binfmt interpreter. * sudo qemu-create-lxc.sh This script mixes linux container, binfmt and qemu to create hybrid linux container : container on an host kernel. It will create "light" emulated virtual machine with

Re: [Qemu-devel] [PATCH v8 1/4] block: Add synchronous wrapper for bdrv_co_is_allocated_above

2013-01-14 Thread Eric Blake
On 01/14/2013 03:26 AM, Miroslav Rezanina wrote: > There's no synchronous wrapper for bdrv_co_is_allocated_above function > so it's not possible to check for sector allocation in in mage with s/in in mage/in an image/ > a backing file. > > This patch adds the missing synchronous wrapper. > > Si

Re: [Qemu-devel] [RFC 3/3] virtio-balloon: add auto-ballooning support

2013-01-14 Thread Luiz Capitulino
On Sat, 12 Jan 2013 02:02:32 +0530 Amit Shah wrote: > Hi Luiz, > > On (Tue) 18 Dec 2012 [18:16:55], Luiz Capitulino wrote: > > The auto-ballooning feature automatically performs balloon inflate > > or deflate based on host and guest memory pressure. This can help to > > avoid swapping or worse i

Re: [Qemu-devel] [PATCH v5 0/2] Add TPCI200 and IP-Octal 232 IndustryPack emulation

2013-01-14 Thread Anthony Liguori
Thanks, applied. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 0/2] fix virtio-related build breakages

2013-01-14 Thread Anthony Liguori
Thanks, applied. Regards, Anthony Liguori

[Qemu-devel] [PULL 0/8] qemu-ga: cleanups and minor fixes

2013-01-14 Thread Michael Roth
The following changes since commit a507db9599599ce33007b524276a6ea88e521662: Merge remote-tracking branch 'kraxel/pixman.v6' into staging (2013-01-14 10:27:41 -0600) are available in the git repository at: git://github.com/mdroth/qemu.git qga-pull-1-14-2013 for you to fetch changes up to

Re: [Qemu-devel] [PATCH 4/7 v2] KVM regsync: Add register bitmap parameter to do_kvm_cpu_synchronize_state

2013-01-14 Thread Bhushan Bharat-R65777
> -Original Message- > From: Jason J. Herne [mailto:jjhe...@us.ibm.com] > Sent: Thursday, January 10, 2013 8:59 PM > To: ag...@suse.de; borntrae...@de.ibm.com; aligu...@us.ibm.com; > mtosa...@redhat.com; qemu-devel@nongnu.org; Bhushan Bharat-R65777; > jan.kis...@siemens.com > Cc: Jason J.

Re: [Qemu-devel] [PATCH V2 4/7] virtio-pci-bus: introduce virtio-pci-bus.

2013-01-14 Thread KONRAD Frédéric
On 14/01/2013 20:08, Anthony Liguori wrote: fred.kon...@greensocs.com writes: From: KONRAD Frederic Introduce virtio-pci-bus, which extends virtio-bus. It is used with virtio-pci transport device. Signed-off-by: KONRAD Frederic --- hw/virtio-pci.c | 37

[Qemu-devel] [PATCH 3/8] qemu-ga: Document intentional fall through in channel_event_cb()

2013-01-14 Thread Michael Roth
From: Markus Armbruster For clarity, and to hush up Coverity. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Reviewed-by: Michael Roth Reviewed-by: Luiz Capitulino Signed-off-by: Michael Roth --- qga/main.c |1 + 1 file changed, 1 insertion(+) diff --git a/qga/main.c b/qga/m

[Qemu-devel] [PATCH 1/8] qemu-ga: ga_open_pidfile(): use qemu_open()

2013-01-14 Thread Michael Roth
From: Luiz Capitulino This ensures that O_CLOEXEC is passed to open(), this way the pid file fd is not leaked to executed processes. Signed-off-by: Luiz Capitulino Reviewed-by: Eric Blake Acked-by: Amos Kong Tested-by: Amos Kong Signed-off-by: Michael Roth --- qga/main.c |2 +- 1 file

[Qemu-devel] [PATCH 8/8] qemu-ga: Handle errors uniformely in ga_channel_open()

2013-01-14 Thread Michael Roth
From: Markus Armbruster We detect errors in several places. One reports with g_error(), which calls abort(), the others report with g_critical(). Three of them exit(), three return false. Always report with g_critical(), and return false. Signed-off-by: Markus Armbruster Reviewed-by: Eric Bl

[Qemu-devel] [PATCH 2/8] qemu-ga: add ga_open_logfile()

2013-01-14 Thread Michael Roth
From: Luiz Capitulino This function sets O_CLOEXEC on the log file fd so that it isn't leaked to executed processes. Signed-off-by: Luiz Capitulino Reviewed-by: Eric Blake Acked-by: Amos Kong Tested-by: Amos Kong Signed-off-by: Michael Roth --- qga/main.c | 17 +++-- 1 file c

Re: [Qemu-devel] [PATCH V2 3/7] virtio-device: refactor virtio-device.

2013-01-14 Thread Anthony Liguori
KONRAD Frédéric writes: > On 14/01/2013 20:06, Anthony Liguori wrote: >> fred.kon...@greensocs.com writes: >> >>> From: KONRAD Frederic >>> >>> Create the virtio-device which is abstract. All the virtio-device can extend >>> this class. It also add some functions to virtio-bus. >>> >>> Signed-of

[Qemu-devel] [PATCH 5/8] qemu-ga: Plug file descriptor leak on ga_open_pidfile() error path

2013-01-14 Thread Michael Roth
From: Markus Armbruster Spotted by Coverity. Also document why we keep it open on success. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Reviewed-by: Michael Roth Reviewed-by: Luiz Capitulino Signed-off-by: Michael Roth --- qga/main.c |2 ++ 1 file changed, 2 insertions(+)

Re: [Qemu-devel] [PATCH V2 3/7] virtio-device: refactor virtio-device.

2013-01-14 Thread KONRAD Frédéric
On 14/01/2013 20:06, Anthony Liguori wrote: fred.kon...@greensocs.com writes: From: KONRAD Frederic Create the virtio-device which is abstract. All the virtio-device can extend this class. It also add some functions to virtio-bus. Signed-off-by: KONRAD Frederic --- hw/virtio-bus.c | 35 ++

Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1

2013-01-14 Thread Doug Goldstein
On Mon, Jan 14, 2013 at 3:35 AM, Michael Tokarev wrote: > 14.01.2013 13:18, Gerd Hoffmann пишет: > >> On 01/12/13 09:20, Michael Tokarev wrote: >>> >>> Gerd, can you take a (maybe quick) look please? >>> >>> This bug is quite old and, as Peter notes, may be fixed in 1.3 >>> so there's no goo motiv

[Qemu-devel] [PATCH 7/8] qemu-ga: Plug fd leak on ga_channel_open() error paths

2013-01-14 Thread Michael Roth
From: Markus Armbruster Spotted by Coverity. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Reviewed-by: Michael Roth Reviewed-by: Luiz Capitulino Signed-off-by: Michael Roth --- qga/channel-posix.c |1 + 1 file changed, 1 insertion(+) diff --git a/qga/channel-posix.c b/qga/

[Qemu-devel] [PATCH 6/8] qemu-ga: Plug fd leak on ga_channel_listen_accept() error path

2013-01-14 Thread Michael Roth
From: Markus Armbruster Spotted by Coverity. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Reviewed-by: Michael Roth Reviewed-by: Luiz Capitulino Signed-off-by: Michael Roth --- qga/channel-posix.c |1 + 1 file changed, 1 insertion(+) diff --git a/qga/channel-posix.c b/qga/

[Qemu-devel] [PATCH 4/8] qemu-ga: Drop pointless lseek() from ga_open_pidfile()

2013-01-14 Thread Michael Roth
From: Markus Armbruster After open(), the file offset is already zero, and neither lockf() nor ftruncate() change it. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Reviewed-by: Michael Roth Reviewed-by: Luiz Capitulino Signed-off-by: Michael Roth --- qga/main.c |2 +- 1 file

Re: [Qemu-devel] [PATCH 1/2] virtio-pci: build for uninitialized return value in vq_vector_unmask

2013-01-14 Thread Michael S. Tsirkin
On Mon, Jan 14, 2013 at 01:37:35PM -0600, Anthony Liguori wrote: > Michael Roth writes: > > > Fixes the following: > > > > /home/mdroth/w/qemu2.git/hw/virtio-pci.c: In function > > ‘kvm_virtio_pci_vector_unmask’: > > /home/mdroth/w/qemu2.git/hw/virtio-pci.c:673:12: error: ‘ret’ may be > > used un

Re: [Qemu-devel] [PATCH 0/6] Simple qemu-ga fixes and cleanups

2013-01-14 Thread mdroth
On Fri, Jan 11, 2013 at 11:24:56AM +0100, Markus Armbruster wrote: > Markus Armbruster (6): > qemu-ga: Document intentional fall through in channel_event_cb() > qemu-ga: Drop pointless lseek() from ga_open_pidfile() > qemu-ga: Plug file descriptor leak on ga_open_pidfile() error path > qemu

Re: [Qemu-devel] [PATCH 00/12] Multiqueue virtio-net

2013-01-14 Thread Anthony Liguori
Jason Wang writes: > Hello all: > > This seires is an update of last version of multiqueue virtio-net support. > > Recently, linux tap gets multiqueue support. This series implements basic > support for multiqueue tap, nic and vhost. Then use it as an infrastructure to > enable the multiqueue sup

Re: [Qemu-devel] [PATCH 1/2] virtio-pci: build for uninitialized return value in vq_vector_unmask

2013-01-14 Thread Anthony Liguori
Michael Roth writes: > Fixes the following: > > /home/mdroth/w/qemu2.git/hw/virtio-pci.c: In function > ‘kvm_virtio_pci_vector_unmask’: > /home/mdroth/w/qemu2.git/hw/virtio-pci.c:673:12: error: ‘ret’ may be > used uninitialized in this function [-Werror=uninitialized] > cc1: all warnings being tr

[Qemu-devel] [PATCH] PPC: E500: Calculate loading blob offsets properly

2013-01-14 Thread Alexander Graf
We have 3 blobs we need to load when booting the system: - kernel - initrd - dtb We place them in physical memory in that order. At least we should. This patch fixes the location calculation up to take any module into account, fixing the dtb offset along the way. Reported-by: Stuart Yoder

Re: [Qemu-devel] [PATCH 1/2] virtio-pci: build for uninitialized return value in vq_vector_unmask

2013-01-14 Thread Eduardo Habkost
On Mon, Jan 14, 2013 at 01:20:12PM -0600, Michael Roth wrote: > Fixes the following: > > /home/mdroth/w/qemu2.git/hw/virtio-pci.c: In function > ‘kvm_virtio_pci_vector_unmask’: > /home/mdroth/w/qemu2.git/hw/virtio-pci.c:673:12: error: ‘ret’ may be > used uninitialized in this function [-Werror=uni

Re: [Qemu-devel] [Qemu-ppc] [PATCH] PPC: E500: Put dtb after initrd

2013-01-14 Thread Alexander Graf
On 01/14/2013 08:26 PM, Alexander Graf wrote: We have 3 blobs we need to load when booting the system: - kernel - initrd - dtb We place them in physical memory in that order. At least we should. This patch fixes the dtb location up to take the initrd location into account, fixing its o

Re: [Qemu-devel] [PATCH 05/17] target-i386: replace uint32_t vendor fields by vendor string in x86_def_t

2013-01-14 Thread Andreas Färber
Am 11.01.2013 03:10, schrieb Igor Mammedov: > Vendor property setter takes string as vendor value but cpudefs > use uint32_t vendor[123] fields to define vendor value. It makes it > difficult to unify and use property setter for values from cpudefs. > > Simplify code by using vendor property sette

  1   2   3   >