[Qemu-devel] USB2.0 device can not be formatted under windows(Guest OS) with qmeu 1.2.2

2013-01-14 Thread 曾君亮
Hi all, I want to test usb2.0 passthrough on xen 4.2.0 and qemu 1.2.2, and now I have done it successfully! But these days, I encountered a lot of difficulties. I fonud that the USB2.0 device can not be formatted while it was passthrough to a windows GusetOS.However,it works fine under a linux

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

2013-01-14 Thread Laszlo Ersek
On 01/12/13 13:13, Blue Swirl wrote: > On Fri, Jan 11, 2013 at 12:20 PM, Laszlo Ersek wrote: >> On 01/09/13 22:01, Blue Swirl wrote: >>> On Tue, Jan 8, 2013 at 9:44 PM, Laszlo Ersek wrote: >> static int i440fx_pcihost_initfn(SysBusDevice *dev) { PCIHostState *s = PCI_HOST_BR

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

2013-01-14 Thread 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-img.c b/qemu-img.c > index 8

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

2013-01-14 Thread 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 |1 + > 2 files changed, 6

Re: [Qemu-devel] [PATCH 04/17] target-i386: add x86_cpu_vendor_words2str()

2013-01-14 Thread Andreas Färber
Am 11.01.2013 03:28, schrieb Eduardo Habkost: > On Fri, Jan 11, 2013 at 03:10:18AM +0100, Igor Mammedov wrote: >> Make for() cycle reusable for the next patch >> >> Signed-off-by: Igor Mammedov > > Reviewed-by: Eduardo Habkost > > Very minor style comment below. > >> --- >> v4: >>- renam

Re: [Qemu-devel] [PATCH V3 03/11] block: add snapshot and image info query function

2013-01-14 Thread Luiz Capitulino
On Mon, 14 Jan 2013 15:09:39 +0800 Wenchao Xia wrote: > This patch added function bdrv_query_image_info() and > bdrv_query_snapshot_infolist(), which will return info in qmp object > format. The implementation code are mostly copied from collect_image_info() > and collect_snapshot() in qemu-img

Re: [Qemu-devel] [PATCH 01/10] qom: Make object_resolve_path_component() path argument const

2013-01-14 Thread Markus Armbruster
Andreas Färber writes: > Am 14.01.2013 13:19, schrieb Markus Armbruster: >> Andreas Färber writes: >> >>> This allows to navigate partial well-known paths from an object. >> >> Why does making the argument const allow such navigation? > > Without const, object_resolve_path_component(foo, "bar"

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

2013-01-14 Thread Laszlo Ersek
On 01/14/13 18:05, Laszlo Ersek wrote: > I guess I could try to implement the subregion by open-coding the > memory_region_init_io() and sysbus_add_io() functions and overriding as > needed, but it seems like a mess. (Which is of course caused by this > impossible hack of PIIX4 that places the res

Re: [Qemu-devel] [PULL] pixman patch queue

2013-01-14 Thread Anthony Liguori
Pulled, thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] spice patch queue

2013-01-14 Thread Anthony Liguori
Pulled, thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/6] usb patch queue

2013-01-14 Thread Anthony Liguori
Pulled, thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] QMP queue

2013-01-14 Thread Anthony Liguori
Pulled, thanks. N.B. This note may be extraneous because the pull request was sent by a version of git older than 1.7.9 making the pull request ambigious. Please consider upgrading to a newer version of git. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL] testdev cleanup

2013-01-14 Thread Anthony Liguori
Pulled, thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL] pci,virtio

2013-01-14 Thread Anthony Liguori
Pulled, thanks. Regards, Anthony Liguori

Re: [Qemu-devel] 3 new x86 instructions

2013-01-14 Thread Torbjorn Granlund
Richard Henderson writes: > MULX implies a bunch of other instructions due to CPUID flag grouping. > ADCX and ADOX can be implemented separately. None of these and the > other instructions in the MULX group look very complex. I've got a patch for (most of?) the bmi[12] insns: gi

Re: [Qemu-devel] [PATCH] pc-testdev: use typedefs

2013-01-14 Thread Andreas Färber
Am 14.01.2013 12:42, schrieb Gerd Hoffmann: > Signed-off-by: Gerd Hoffmann Again lacking my Reviewed-by... :( I simply use `git rebase -i ...` or `git commit --amend` to edit these things in. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Gu

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

2013-01-14 Thread Luiz Capitulino
On Mon, 14 Jan 2013 12:25:08 +0100 Pavel Hrdina wrote: > 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 > > +---

Re: [Qemu-devel] [RFC ppc-next v3 08/10] mac_nvram: QOM'ify MacIO NVRAM

2013-01-14 Thread Markus Armbruster
Andreas Färber writes: > Am 14.01.2013 13:34, schrieb Markus Armbruster: >> Andreas Färber writes: >> >>> It was not qdev'ified before, turn it into a SysBusDevice and >>> initialize it via static properties. >>> >>> Prepare Old World specific MacIO state and embed the NVRAM state there. >>> >>

Re: [Qemu-devel] [PATCH 04/17] target-i386: add x86_cpu_vendor_words2str()

2013-01-14 Thread Igor Mammedov
On Mon, 14 Jan 2013 18:14:27 +0100 Andreas Färber wrote: > Am 11.01.2013 03:28, schrieb Eduardo Habkost: > > On Fri, Jan 11, 2013 at 03:10:18AM +0100, Igor Mammedov wrote: > >> Make for() cycle reusable for the next patch > >> > >> Signed-off-by: Igor Mammedov > > > > Reviewed-by: Eduardo Habko

Re: [Qemu-devel] [PATCH V3 06/11] qmp: add interface query-images.

2013-01-14 Thread Luiz Capitulino
On Mon, 14 Jan 2013 15:09:42 +0800 Wenchao Xia wrote: > This mirror function will return all image info including > snapshots. Now Qemu have both query-images and query-block > interfaces. > > Signed-off-by: Wenchao Xia > --- > block.c | 19 + > qapi-schema.json | 27

[Qemu-devel] [PATCH 04/17 v3] target-i386: add x86_cpu_vendor_words2str()

2013-01-14 Thread Igor Mammedov
Make for() cycle reusable for the next patch Signed-off-by: Igor Mammedov Reviewed-by: Eduardo Habkost --- v5: - style fix: added extra space to align arguments Spotted-By: Eduardo Habkost Spotted-By: Andreas Färber v4: - rename x86cpu_vendor_words2str() to x86_cpu_ve

Re: [Qemu-devel] [PATCH V3 09/11] hmp: export function hmp_handle_error()

2013-01-14 Thread Luiz Capitulino
On Mon, 14 Jan 2013 15:09:45 +0800 Wenchao Xia wrote: > Signed-off-by: Wenchao Xia This function is really a hmp.c-only helper. It does two more or less unrelated things, I think it's better not to spread it over other qemu source files. > --- > hmp.c |2 +- > hmp.h |2 ++ > 2 files c

Re: [Qemu-devel] 3 new x86 instructions

2013-01-14 Thread Richard Henderson
On 01/14/2013 10:14 AM, Torbjorn Granlund wrote: Is it in such a state that grabbing that repo and building a qemu-system-x86_64 would give me MULX support? Yes, and "-cpu Haswell" will enable the BMI extensions. A review of the code and docs reveals that I missed RORX from the BMI2 insns, but

[Qemu-devel] [PULL] xen_disk fixes and improvements 2013-01-14

2013-01-14 Thread Stefano Stabellini
Hi Anthony, I have three patches that fix bugs and introduce important improvements for xen_disk. Given that they are entirely confined within xen_disk.c I am sending the pull request directly to you rather than via Kevin (CC'ed). Let me know if you want me to send it to him instead. Please pull f

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

2013-01-14 Thread Luiz Capitulino
On Mon, 14 Jan 2013 15:09:47 +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 patc

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

2013-01-14 Thread Luiz Capitulino
On Mon, 14 Jan 2013 12:15:37 +0100 Pavel Hrdina wrote: > 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

Re: [Qemu-devel] [PATCH V3 00/11] add qmp/hmp interfaces for snapshot info

2013-01-14 Thread Luiz Capitulino
On Mon, 14 Jan 2013 15:09:36 +0800 Wenchao Xia wrote: > This serial of patches does two things: merge some info code > in qemu-img, and add following interfaces: > 1) qmp: query-images > 2) qmp: query-snapshots > 3) hmp: show snapshot info on a single block device > These patches follows the

[Qemu-devel] Go along with glib's basic type typedef silliness? (was: [PATCH 01/10] qom: Make object_resolve_path_component() path argument const)

2013-01-14 Thread Markus Armbruster
[Thread hijack, dropping cc: qemu-trivial, qemu-ppc] Andreas Färber writes: > Am 14.01.2013 13:19, schrieb Markus Armbruster: >> Andreas Färber writes: [...] >>> diff --git a/qom/object.c b/qom/object.c >>> index 351b88c..03e6f24 100644 >>> --- a/qom/object.c >>> +++ b/qom/object.c >>> @@ -1017

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

2013-01-14 Thread Anthony Liguori
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 + > hw/

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

2013-01-14 Thread Anthony Liguori
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 + > hw/virtio-pci.h | 23

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

2013-01-14 Thread Anthony Liguori
fred.kon...@greensocs.com writes: > From: KONRAD Frederic > > Create the virtio-pci device. This transport device will create a > virtio-pci-bus, so one VirtIODevice can be connected. > > Signed-off-by: KONRAD Frederic virtio-pci should be abstract... > --- > hw/virtio-pci.c | 127 >

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

2013-01-14 Thread Michael Roth
Build fixes for recent virtio commits. See patches for details.

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

2013-01-14 Thread Michael Roth
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 treated as errors make: *** [hw/virtio

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

2013-01-14 Thread Michael Roth
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.git/hw/dataplane/virtio-blk.c: In function ‘virtio_blk_data_plane_start’:

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

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 dtb location up to take the initrd location into account, fixing its offset. Reported-by: Stuart Yoder Signed-off-by: A

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

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 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

[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 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

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 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 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

[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

[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 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/

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

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 ++

[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 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 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

[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 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 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

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

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.

[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 0/2] fix virtio-related build breakages

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

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] [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 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

[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 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 >

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 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 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

[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 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

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] 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] [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

[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

[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

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_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

[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_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

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_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 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] [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

[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

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] 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

[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] [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 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 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 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] 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] 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

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] [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

[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 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 |

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 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 --

[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] 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 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

<    1   2   3   >