Re: [Qemu-devel] [PATCH v8 00/27] vhost-user: add migration support

2015-10-20 Thread Thibaut Collet
On Mon, Oct 19, 2015 at 11:12 PM, Michael S. Tsirkin wrote: > On Mon, Oct 19, 2015 at 06:42:43PM +0200, Thibaut Collet wrote: >> > >> > Can you pls check refs/heads/for_thibaut? >> > It should have your patch as the latest commit. >> >> I do not see yet my patch on the

[Qemu-devel] [PATCH v2] scripts/text2pod.pl: Escape left brace

2015-10-20 Thread Fam Zheng
Latest perl now deprecates "{" literal in regex and print warnings like "unescaped left brace in regex is deprecated". Add escapes to keep it happy. Signed-off-by: Fam Zheng --- v2: Drop superfluous hunk. --- scripts/texi2pod.pl | 2 +- 1 file changed, 1 insertion(+), 1

Re: [Qemu-devel] [RFC] transactions: add transaction-wide property

2015-10-20 Thread Fam Zheng
On Thu, 09/24 17:40, John Snow wrote: > This replaces the per-action property as in Fam's series. > Instead, we have a transaction-wide property that is shared > with each action. > > At the action level, if a property supplied transaction-wide > is disagreeable, we return error and the

Re: [Qemu-devel] [PATCH 1/2] net: make iov_to_buf take right size argument in nc_sendv_compat()

2015-10-20 Thread Jason Wang
On 10/20/2015 09:51 AM, Yang Hongyang wrote: > We want "buf, sizeof(buf)" here. sizeof(buffer) is the size of a > pointer, which is wrong. > Thanks to Paolo for pointing it out. > > Signed-off-by: Yang Hongyang > Cc: Jason Wang > Cc: Paolo Bonzini

Re: [Qemu-devel] [PATCH v9 04/17] vnc: hoist allocation of VncBasicInfo to callers

2015-10-20 Thread Markus Armbruster
Eric Blake writes: > A future qapi patch will rework generated structs with a base > class to be unboxed. In preparation for that, change the code > that allocates then populates an info struct to instead merely > populate the fields of an info field passed in as a parameter.

Re: [Qemu-devel] Statically Compiling including SDL

2015-10-20 Thread Peter Maydell
On 20 October 2015 at 07:59, sai pavan wrote: > Hi , > > I am trying to compile QEMU with --enable-sdl and --static. And i have > installed libsdl-dev. > I get the following error > > ERROR: User requested feature sdl >configure was not able to find it. >

Re: [Qemu-devel] [PATCH] vmxnet3: Do not fill stats if device is inactive

2015-10-20 Thread Jason Wang
On 10/20/2015 03:11 PM, Dmitry Fleytman wrote: > Hi Jason, > > Sure. No problem. > > Acked-by: Dmitry Fleytman > > > Dmitry. Thanks. > >> On 20 Oct 2015, at 06:08 AM, Jason Wang > > wrote: >> >> >>

[Qemu-devel] [PULL 2/3] usb: print device id in "info usb" monitor command

2015-10-20 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/bus.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hw/usb/bus.c b/hw/usb/bus.c index 5f39e1e..ee6b43a 100644 --- a/hw/usb/bus.c +++ b/hw/usb/bus.c @@ -655,9 +655,12 @@ void hmp_info_usb(Monitor *mon, const

Re: [Qemu-devel] [PATCH v9 04/17] vnc: hoist allocation of VncBasicInfo to callers

2015-10-20 Thread Gerd Hoffmann
Hi, > > -static VncBasicInfo *vnc_basic_info_get(struct sockaddr_storage *sa, > > -socklen_t salen) > > +static void vnc_basic_info_get(struct sockaddr_storage *sa, > > + socklen_t salen, > > +

[Qemu-devel] [PATCH v3 5/5] virtio-9p: add savem handlers

2015-10-20 Thread Greg Kurz
We don't support migration of mounted 9p shares. This is handled by a migration blocker. One would expect, however, to be able to migrate if the share is unmounted. Unfortunately virtio-9p-device does not register savevm handlers at all ! Migration succeeds and leaves the guest with a dangling

[Qemu-devel] [PATCH v3 4/5] virtio-9p: add unrealize handler

2015-10-20 Thread Greg Kurz
This patch allows to hot-unplug a quiescent virtio-9p device, and free its allocated resources. A refcount is added to the v9fs thread pool, so that its resources are freed as well when the last virtio-9p device is unplugged. Note that we have an unplug blocker which prevents this code to be

Re: [Qemu-devel] [PATCH COLO-Frame v9 08/32] COLO/migration: establish a new communication path from destination to source

2015-10-20 Thread zhanghailiang
On 2015/10/19 17:54, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: Add a new member 'to_src_file' to MigrationIncomingState and a new member 'from_dst_file' to MigrationState. They will be used for returning messages from destination to source. It will

[Qemu-devel] Statically Compiling including SDL

2015-10-20 Thread sai pavan
Hi , I am trying to compile QEMU with --enable-sdl and --static. And i have installed libsdl-dev. I get the following error ERROR: User requested feature sdl configure was not able to find it. Install SDL devel Is there any know issue here ? or am i missing any more libraries.

Re: [Qemu-devel] [PATCH v7 27/39] block: Add blk_remove_bs()

2015-10-20 Thread Kevin Wolf
Am 19.10.2015 um 17:53 hat Max Reitz geschrieben: > This function removes the BlockDriverState associated with the given > BlockBackend from that BB and sets the BDS pointer in the BB to NULL. > > Signed-off-by: Max Reitz > --- > block/block-backend.c | 12

Re: [Qemu-devel] [PATCH 03/17] rbd: add support for getting password from QCryptoSecret object

2015-10-20 Thread Daniel P. Berrange
On Mon, Oct 19, 2015 at 03:57:29PM -0700, Josh Durgin wrote: > On 10/19/2015 08:09 AM, Daniel P. Berrange wrote: > >Currently RBD passwords must be provided on the command line > >via > > > > $QEMU -drive file=rbd:pool/image:id=myname:\ > >

[Qemu-devel] [PULL 1/3] usb-host: add wakeup call for iso xfers

2015-10-20 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/host-libusb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c index 5e492fd..7695a97 100644 --- a/hw/usb/host-libusb.c +++ b/hw/usb/host-libusb.c @@ -451,6 +451,7 @@ static void

Re: [Qemu-devel] [PATCH 0/6] e1000: Various fixes and registers' implementation

2015-10-20 Thread Jason Wang
On 10/18/2015 03:53 PM, Leonid Bloch wrote: > This series fixes several issues with incorrect packet/octet counting in > e1000's Statistic registers, fixes a bug in the packet address filtering > procedure, and implements many MAC registers that were absent before. > Additionally, some cosmetic

[Qemu-devel] [PULL v2 6/7] Enable fw_cfg DMA interface for x86

2015-10-20 Thread Gerd Hoffmann
From: Marc Marí Enable the fw_cfg DMA interface for all the x86 platforms. Based on Gerd Hoffman's initial implementation. Signed-off-by: Marc Marí Reviewed-by: Laszlo Ersek Signed-off-by: Gerd Hoffmann ---

[Qemu-devel] [PULL v2 0/7] fw_cfg: add dma interface, add strings via cmdline.

2015-10-20 Thread Gerd Hoffmann
) are available in the git repository at: git://git.kraxel.org/qemu tags/pull-fw_cfg-20151020-1 for you to fetch changes up to 2cc06a8843ace3d03464032eb3c74bc6e2b07579: fw_cfg: Define a static signature to be returned on DMA port reads (2015-10-19 15:26:54 +0200

[Qemu-devel] [PULL v2 1/7] fw_cfg: insert string blobs via qemu cmdline

2015-10-20 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" Allow users to provide custom fw_cfg blobs with ascii string payloads specified directly on the qemu command line. Suggested-by: Jordan Justen Suggested-by: Laszlo Ersek Signed-off-by: Gabriel Somlo

Re: [Qemu-devel] [PATCH 1/2] vl: trivial: minor tweaks to a max-cpu error msg

2015-10-20 Thread Markus Armbruster
Andrew Jones writes: > Signed-off-by: Andrew Jones > --- > vl.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/vl.c b/vl.c > index 7c806a2428399..9a64b75ebbd24 100644 > --- a/vl.c > +++ b/vl.c > @@ -4080,8 +4080,8 @@ int

Re: [Qemu-devel] [PULL v4 00/14] qemu-ga patch queue

2015-10-20 Thread Peter Maydell
On 20 October 2015 at 00:38, Michael Roth wrote: > Hi Peter, > > Please note that 'glib-compat: add 2.38/2.40/2.46 asserts' is also in > Marc-André's recent ivshmem PULL. The 2 versions of the patches are identical, > but let me know if you'd prefer a re-send/re-base

Re: [Qemu-devel] [PATCH v7 31/42] Page request: Process incoming page request

2015-10-20 Thread Juan Quintela
"Dr. David Alan Gilbert" wrote: > * Juan Quintela (quint...@redhat.com) wrote: >> Once here, do we care about calling malloc with the rcu set? or could >> we just call malloc at the beggining of the function and free it in case >> that it is not needed on err? > > Why would

Re: [Qemu-devel] [PATCH 4/6] e1000: Fixing the received/transmitted octets' counters

2015-10-20 Thread Jason Wang
On 10/18/2015 03:53 PM, Leonid Bloch wrote: > Previously, the lower parts of these counters (TORL, TOTL) were > resetting after reaching their maximal values, and since the continuation > of counting in the higher parts (TORH, TOTH) was triggered by an > overflow event of the lower parts, the

[Qemu-devel] [PATCH v3 2/5] qdev: add the @unplug_is_blocked handler

2015-10-20 Thread Greg Kurz
This handler allows to ask a device instance if it can be hot-unplugged. It is to be defined in device classes where hot-unpluggability depends on the device state (for example, virtio-9p devices cannot be unplugged if the 9p share is mounted in the guest). Signed-off-by: Greg Kurz

[Qemu-devel] [PATCH v3 0/5] virtio-9p: hotplug and migration support

2015-10-20 Thread Greg Kurz
We already have a blocker to prevent migration of an active virtio-9p device. But in fact, there is no migration support at all for 9p, even if the device is considered to be quiescent (when the VirtFS share is not mounted): migration succeeds but the device is lost in the restarted guest.

Re: [Qemu-devel] [PATCH 1/3] block/gluster: add support for multiple gluster servers

2015-10-20 Thread Prasanna Kumar Kalever
On Tuesday, October 20, 2015 1:38:37 AM, Eric Blake wrote: > On 10/19/2015 06:13 AM, Prasanna Kumar Kalever wrote: > > This patch adds a way to specify multiple volfile servers to the gluster > > block backend of QEMU with tcp|rdma transport types and their port numbers. > > When sending a

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

2015-10-20 Thread Peter Maydell
tracking branch 'remotes/sstabellini/tags/2015-10-19-tag' into > staging (2015-10-19 12:13:27 +0100) > > are available in the git repository at: > > > git://git.kraxel.org/qemu tags/pull-usb-20151020-1 > > for you to fetch changes up to 37bc43f7fbfb38003550b327002e59d21b80

[Qemu-devel] [PULL 3/3] usb-audio: increate default buffer size

2015-10-20 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/dev-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c index f092bb8..02fb110 100644 --- a/hw/usb/dev-audio.c +++ b/hw/usb/dev-audio.c @@ -664,7 +664,7 @@ static const

Re: [Qemu-devel] [PATCH v7 00/39] blockdev: BlockBackend and media

2015-10-20 Thread Kevin Wolf
Am 19.10.2015 um 17:53 hat Max Reitz geschrieben: > This series reworks a lot regarding BlockBackend and media. Basically, > it allows empty BlockBackends, that is BBs without a BDS tree. > > Before this series, empty drives are represented by a BlockBackend with > an empty BDS attached to it (a

Re: [Qemu-devel] [PATCH v8 21/54] Return path: Source handling of return path

2015-10-20 Thread Juan Quintela
"Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > Open a return path, and handle messages that are received upon it. > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Juan Quintela

[Qemu-devel] [PATCH v3 3/5] virtio-9p: block hot-unplug when device is active

2015-10-20 Thread Greg Kurz
Hot-unplug of an active virtio-9p device is not currently supported. Until we have that, let's block hot-unplugging when the 9p share is mounted in the guest. This patch implements a hot-unplug blocker feature like we already have for migration. Both virtio-9p-pci and virtio-9p-ccw were adapted

[Qemu-devel] [RFC PATCH v2 4/5] kvm_arm: Implement support for ITS emulation by KVM

2015-10-20 Thread Pavel Fedin
This patch relies on new kernel API which is not released yet. Signed-off-by: Pavel Fedin --- hw/intc/Makefile.objs | 1 + hw/intc/arm_gicv3_its_common.c | 2 +- hw/intc/arm_gicv3_its_kvm.c| 88 ++ 3 files changed, 90

[Qemu-devel] [RFC PATCH v2 1/5] hw/intc: Implement ITS base class

2015-10-20 Thread Pavel Fedin
This is the basic skeleton for both KVM and software-emulated ITS. Signed-off-by: Pavel Fedin --- hw/intc/Makefile.objs | 1 + hw/intc/arm_gicv3_its_common.c | 154 + include/hw/intc/arm_gicv3_its_common.h | 72

[Qemu-devel] [PULL 0/3] usb patch queue

2015-10-20 Thread Gerd Hoffmann
in the git repository at: git://git.kraxel.org/qemu tags/pull-usb-20151020-1 for you to fetch changes up to 37bc43f7fbfb38003550b327002e59d21b80a3e4: usb-audio: increate default buffer size (2015-10-20 09:15:23 +0200) usb: misc small

Re: [Qemu-devel] [PATCH v8 19/54] Return path: Control commands

2015-10-20 Thread Juan Quintela
"Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > Add two src->dest commands: >* OPEN_RETURN_PATH - To request that the destination open the return path >* PING - Request an acknowledge from the destination > >

Re: [Qemu-devel] [PATCH] xen-platform: Replace assert() with appropriate error reporting

2015-10-20 Thread Stefano Stabellini
On Mon, 19 Oct 2015, Paolo Bonzini wrote: > On 19/10/2015 20:39, Eduardo Habkost wrote: > > Commit dbb7405d8caad0814ceddd568cb49f163a847561 made it possible to > > trigger an assert using "-device xen-platform". Replace it with > > appropriate error reporting. > > > > Before: > > > > $

Re: [Qemu-devel] [PATCH v8 00/27] vhost-user: add migration support

2015-10-20 Thread Michael S. Tsirkin
On Tue, Oct 20, 2015 at 08:30:49AM +0200, Thibaut Collet wrote: > On Mon, Oct 19, 2015 at 11:12 PM, Michael S. Tsirkin wrote: > > On Mon, Oct 19, 2015 at 06:42:43PM +0200, Thibaut Collet wrote: > >> > > >> > Can you pls check refs/heads/for_thibaut? > >> > It should have your

[Qemu-devel] [PULL 0/1] virtio-input: ignore events until the guest driver is ready

2015-10-20 Thread Gerd Hoffmann
in the git repository at: git://git.kraxel.org/qemu tags/pull-input-20151020-1 for you to fetch changes up to d9460a7557672af9c4d9d4f153200d1075ed5a78: virtio-input: ignore events until the guest driver is ready (2015-10-20 08:53:40 +0200

[Qemu-devel] [PULL 1/1] virtio-input: ignore events until the guest driver is ready

2015-10-20 Thread Gerd Hoffmann
Cc: qemu-sta...@nongnu.org Signed-off-by: Gerd Hoffmann --- hw/input/virtio-input.c | 4 1 file changed, 4 insertions(+) diff --git a/hw/input/virtio-input.c b/hw/input/virtio-input.c index 7b25d27..1f5a40d 100644 --- a/hw/input/virtio-input.c +++

[Qemu-devel] [RFC PATCH v2 5/5] arm/virt: Add ITS to the virt board

2015-10-20 Thread Pavel Fedin
If supported by the configuration, ITS will be added automatically. This patch also renames v2m_phandle to msi_phandle because it's now used by both MSI implementations. Signed-off-by: Pavel Fedin --- hw/arm/virt.c | 47 +-- 1

[Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers

2015-10-20 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Two new gdb commands are added: qemu iohandlers that dumps the list of waiting iohandlers, this is particularly useful for trying to figure out where an incoming migration is blocked. For 'fd_coroutine_enter' cases we dump a

Re: [Qemu-devel] [PATCH v8 18/54] Migration commands

2015-10-20 Thread Juan Quintela
"Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > Create QEMU_VM_COMMAND section type for sending commands from > source to destination. These commands are not intended to convey > guest state but to control the migration

Re: [Qemu-devel] [PATCH v2 02/16] sockets: move qapi_copy_SocketAddress into qemu-sockets.c

2015-10-20 Thread Daniel P. Berrange
On Tue, Oct 20, 2015 at 02:08:09PM +0200, Paolo Bonzini wrote: > > > On 20/10/2015 00:05, Eric Blake wrote: > > > -qiv = qmp_input_visitor_new(obj); > > > -iv = qmp_input_get_visitor(qiv); > > > -visit_type_SocketAddress(iv, p_dest, NULL, _abort); > > > -

[Qemu-devel] [PATCH v3 1/5] virtio-9p-coth: fix init function

2015-10-20 Thread Greg Kurz
The v9fs thread pool is a singleton, shared by all virtio-9p devices. The current code leaks underlying glib pointers each time a new virtio-9p device gets realized. Let's fix that ! While we're here, we also fix the trivial error path when memory allocation is failing. Signed-off-by: Greg Kurz

Re: [Qemu-devel] [PATCH v8 01/54] Add postcopy documentation

2015-10-20 Thread Juan Quintela
Rsend to proper list. Removed cc'd Juan Quintela wrote: > "Dr. David Alan Gilbert (git)" wrote: >> From: "Dr. David Alan Gilbert" >> >> Signed-off-by: Dr. David Alan Gilbert >> Reviewed-by: Amit Shah

Re: [Qemu-devel] [PATCH v8 06/54] Rename mis->file to from_src_file

2015-10-20 Thread Juan Quintela
Juan Quintela wrote: > "Dr. David Alan Gilbert (git)" wrote: Post proper list Remove cc'd >> From: "Dr. David Alan Gilbert" >> >> 'file' becomes confusing when you have flows in each direction; >> rename to make it clear. >> This

Re: [Qemu-devel] [PATCH v8 09/54] Add QEMU_MADV_NOHUGEPAGE

2015-10-20 Thread Juan Quintela
Juan Quintela wrote: Post proper list Remove cc'd > "Dr. David Alan Gilbert (git)" wrote: >> From: "Dr. David Alan Gilbert" >> >> Add QEMU_MADV_NOHUGEPAGE as an OS-independent version of >> MADV_NOHUGEPAGE. >> >> We include

Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu

2015-10-20 Thread Stefano Stabellini
On Mon, 19 Oct 2015, Laszlo Ersek wrote: > On 10/16/15 21:09, Laszlo Ersek wrote: > > On 10/16/15 13:34, Fabio Fantoni wrote: > >> Il 16/10/2015 12:47, Stefano Stabellini ha scritto: > >>> On Fri, 16 Oct 2015, Fabio Fantoni wrote: > Il 16/10/2015 12:13, Anthony PERARD ha scritto: > > On

Re: [Qemu-devel] [PATCH] file_ram_alloc: propagate error to caller instead of terminating QEMU

2015-10-20 Thread Paolo Bonzini
On 19/10/2015 19:11, Igor Mammedov wrote: > QEMU shouldn't exits from file_ram_alloc() if -mem-prealloc option is > specified > and "object_add memory-backend-file,..." fails allocation during memory > hotplug. > > Propagate error to a caller and let it decide what to do with allocation >

Re: [Qemu-devel] [PATCH] xen: fix invalid assertion

2015-10-20 Thread Stefano Stabellini
On Mon, 19 Oct 2015, Paolo Bonzini wrote: > Asserting "true" is not that useful. > > Reported by Coverity. > > Signed-off-by: Paolo Bonzini Acked-by: Stefano Stabellini > hw/xen/xen_pt_config_init.c | 4 ++-- > 1 file changed, 2

Re: [Qemu-devel] [PATCH v9 05/17] qapi: Unbox base members

2015-10-20 Thread Markus Armbruster
Eric Blake writes: > Rather than storing a base class as a pointer to a box, just > store the fields of that base class in the same order, so that > a child struct can be safely cast to its parent. This gives > less malloc overhead, less pointer dereferencing, and even less >

Re: [Qemu-devel] [PATCH 1/2] net: make iov_to_buf take right size argument in nc_sendv_compat()

2015-10-20 Thread Paolo Bonzini
On 20/10/2015 09:20, Jason Wang wrote: > > > On 10/20/2015 09:51 AM, Yang Hongyang wrote: >> We want "buf, sizeof(buf)" here. sizeof(buffer) is the size of a >> pointer, which is wrong. >> Thanks to Paolo for pointing it out. >> >> Signed-off-by: Yang Hongyang >> Cc:

Re: [Qemu-devel] PING: [PATCH v4 0/7] qom: more efficient object property handling

2015-10-20 Thread Daniel P. Berrange
On Tue, Oct 20, 2015 at 02:15:53PM +0200, Paolo Bonzini wrote: > > > On 20/10/2015 13:38, Pavel Fedin wrote: > > Hello! Is there any progress on this? > > 6/7 significantly improves startup performance, i'd like to have it > > accepted. > > Me too. :) > > I am waiting for Andreas, since

[Qemu-devel] [PATCH] seccomp: loosen library version dependency

2015-10-20 Thread dann frazier
Drop the libseccomp required version back to 2.1.0, restoring the ability to build w/ --enable-seccomp on Ubuntu 14.04. Commit 4cc47f8b3cc4f32586ba2f7fce1dc267da774a69 tightened the dependency on libseccomp from version 2.1.0 to 2.1.1. This broke building on Ubuntu 14.04, the current Ubuntu LTS

Re: [Qemu-devel] [PULL 0/1] virtio-input: ignore events until the guest driver is ready

2015-10-20 Thread Peter Maydell
erge remote-tracking branch 'remotes/sstabellini/tags/2015-10-19-tag' into > staging (2015-10-19 12:13:27 +0100) > > are available in the git repository at: > > > git://git.kraxel.org/qemu tags/pull-input-20151020-1 > > for you to fetch changes up to d9460a7557672af9c4d9d4f153200d1

Re: [Qemu-devel] [PULL v2 0/7] fw_cfg: add dma interface, add strings via cmdline.

2015-10-20 Thread Peter Maydell
c2e607dbd9753: > > Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into > staging (2015-10-19 10:52:39 +0100) > > are available in the git repository at: > > > git://git.kraxel.org/qemu tags/pull-fw_cfg-20151020-1 > > for you to fetch changes up to

Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu

2015-10-20 Thread Laszlo Ersek
On 10/20/15 13:59, Stefano Stabellini wrote: > On Mon, 19 Oct 2015, Laszlo Ersek wrote: >> On 10/16/15 21:09, Laszlo Ersek wrote: >>> On 10/16/15 13:34, Fabio Fantoni wrote: Il 16/10/2015 12:47, Stefano Stabellini ha scritto: > On Fri, 16 Oct 2015, Fabio Fantoni wrote: >> Il

[Qemu-devel] [PATCH v2 3/3] target-i386: load the migrated vcpu's TSC rate

2015-10-20 Thread Haozhong Zhang
Set vcpu's TSC rate to the migrated value (if any). If KVM supports TSC scaling, guest programs will observe TSC increasing in the migrated rate other than the host TSC rate. The loading is controlled by a new cpu option 'load-tsc-freq'. If it is present, then the loading will be enabled and the

Re: [Qemu-devel] PING: [PATCH v4 0/7] qom: more efficient object property handling

2015-10-20 Thread Daniel P. Berrange
On Tue, Oct 20, 2015 at 02:38:43PM +0200, Andreas Färber wrote: > Am 20.10.2015 um 14:15 schrieb Paolo Bonzini: > > On 20/10/2015 13:38, Pavel Fedin wrote: > >> Hello! Is there any progress on this? > >> 6/7 significantly improves startup performance, i'd like to have it > >> accepted. > > > >

[Qemu-devel] PING: [PATCH v4 0/7] qom: more efficient object property handling

2015-10-20 Thread Pavel Fedin
Hello! Is there any progress on this? 6/7 significantly improves startup performance, i'd like to have it accepted. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia > -Original Message- > From: qemu-devel-bounces+p.fedin=samsung@nongnu.org

Re: [Qemu-devel] [PATCH v8 00/27] vhost-user: add migration support

2015-10-20 Thread Thibaut Collet
On Tue, Oct 20, 2015 at 12:21 PM, Michael S. Tsirkin wrote: > On Tue, Oct 20, 2015 at 08:30:49AM +0200, Thibaut Collet wrote: >> On Mon, Oct 19, 2015 at 11:12 PM, Michael S. Tsirkin wrote: >> > On Mon, Oct 19, 2015 at 06:42:43PM +0200, Thibaut Collet wrote: >>

[Qemu-devel] [RFC PATCH v2 0/5] vITS support

2015-10-20 Thread Pavel Fedin
This series introduces support for in-kernel GICv3 ITS emulation. It is based on kernel API which is not released yet, therefore i post it as an RFC. Kernel patches which implement this functionality are: - [PATCH v2 00/15] KVM: arm64: GICv3 ITS emulation

Re: [Qemu-devel] [PATCH v8 24/54] Add wrappers and handlers for sending/receiving the postcopy-ram migration messages.

2015-10-20 Thread Juan Quintela
"Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > The state of the postcopy process is managed via a series of messages; >* Add wrappers and handlers for sending/receiving these messages >* Add state variable that track

Re: [Qemu-devel] [PATCH v8 10/54] migration/ram.c: Use RAMBlock rather than MemoryRegion

2015-10-20 Thread Juan Quintela
Juan Quintela wrote: Post proper list Remove cc'd > "Dr. David Alan Gilbert (git)" wrote: >> From: "Dr. David Alan Gilbert" >> >> RAM migration mainly works on RAMBlocks but in a few places >> uses data from MemoryRegions to

Re: [Qemu-devel] [PULL 0/2] vga: enable virtio-vga for pseries, vmsvga cursor checks.

2015-10-20 Thread Peter Maydell
ranch 'remotes/sstabellini/tags/2015-10-19-tag' into > staging (2015-10-19 12:13:27 +0100) > > are available in the git repository at: > > > git://git.kraxel.org/qemu tags/pull-vga-20151020-1 > > for you to fetch changes up to 5829b097204189c56dd1fb62c7f827360394bb39:

Re: [Qemu-devel] [PATCH v2 6/9] target-i386: Handle I/O breakpoints

2015-10-20 Thread Paolo Bonzini
On 19/10/2015 19:57, Eduardo Habkost wrote: > On Mon, Oct 19, 2015 at 07:46:51AM -1000, Richard Henderson wrote: >> On 10/19/2015 07:30 AM, Eduardo Habkost wrote: > +/* Notice when we should enable calls to bpt_io. */ > +return (hw_breakpoint_enabled(env->dr[7], index)

Re: [Qemu-devel] [PATCH v2 02/16] sockets: move qapi_copy_SocketAddress into qemu-sockets.c

2015-10-20 Thread Paolo Bonzini
On 20/10/2015 00:05, Eric Blake wrote: > > -qiv = qmp_input_visitor_new(obj); > > -iv = qmp_input_get_visitor(qiv); > > -visit_type_SocketAddress(iv, p_dest, NULL, _abort); > > -qmp_input_visitor_cleanup(qiv); > > -qobject_decref(obj); > Interesting approach - it means that

Re: [Qemu-devel] [PATCH] qxl: lock current_async update in qxl_soft_reset

2015-10-20 Thread Paolo Bonzini
On 20/10/2015 09:58, Gerd Hoffmann wrote: > Cc: Paolo Bonzini > Signed-off-by: Gerd Hoffmann > --- > hw/display/qxl.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/display/qxl.c b/hw/display/qxl.c > index 9c961da..20dc72e 100644 > ---

Re: [Qemu-devel] PING: [PATCH v4 0/7] qom: more efficient object property handling

2015-10-20 Thread Paolo Bonzini
On 20/10/2015 13:38, Pavel Fedin wrote: > Hello! Is there any progress on this? > 6/7 significantly improves startup performance, i'd like to have it accepted. Me too. :) I am waiting for Andreas, since he's the maintainer for QOM. Paolo > >> -Original Message- >> From:

[Qemu-devel] [PULL 1/2] ppc/spapr: Allow VIRTIO_VGA

2015-10-20 Thread Gerd Hoffmann
From: Benjamin Herrenschmidt It works fine with the Linux driver out of the box Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Gerd Hoffmann --- default-configs/ppc64-softmmu.mak | 1 + hw/ppc/spapr.c

[Qemu-devel] [PULL 0/2] vga: enable virtio-vga for pseries, vmsvga cursor checks.

2015-10-20 Thread Gerd Hoffmann
repository at: git://git.kraxel.org/qemu tags/pull-vga-20151020-1 for you to fetch changes up to 5829b097204189c56dd1fb62c7f827360394bb39: vmsvga: more cursor checks (2015-10-20 09:26:36 +0200) vga: enable virtio-vga for pseries

[Qemu-devel] [RFC PATCH v2 3/5] kvm_arm: Pass requester ID to MSI routing functions

2015-10-20 Thread Pavel Fedin
Introduce global kvm_arm_msi_use_devid flag and pass device IDs in kvm_arch_fixup_msi_route(). Device IDs are required by the ITS. Signed-off-by: Pavel Fedin --- target-arm/kvm.c | 6 ++ target-arm/kvm_arm.h | 3 +++ 2 files changed, 9 insertions(+) diff --git

[Qemu-devel] [PATCH] qxl: lock current_async update in qxl_soft_reset

2015-10-20 Thread Gerd Hoffmann
Cc: Paolo Bonzini Signed-off-by: Gerd Hoffmann --- hw/display/qxl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/display/qxl.c b/hw/display/qxl.c index 9c961da..20dc72e 100644 --- a/hw/display/qxl.c +++ b/hw/display/qxl.c @@ -1156,7 +1156,9 @@

Re: [Qemu-devel] [PATCH] vmxnet3: Do not fill stats if device is inactive

2015-10-20 Thread Dmitry Fleytman
Hi Jason, Sure. No problem. Acked-by: Dmitry Fleytman > Dmitry. > On 20 Oct 2015, at 06:08 AM, Jason Wang wrote: > > > > On 10/18/2015 03:16 PM, Dmitry Fleytman wrote: >> ACK > > Hi Dmitry: > > Thanks a lot for the

Re: [Qemu-devel] [PATCH v8 04/54] Move configuration section writing

2015-10-20 Thread Juan Quintela
Juan Quintela wrote: Post proper list remove cc'd > "Dr. David Alan Gilbert (git)" wrote: >> From: "Dr. David Alan Gilbert" >> >> The vmstate_configuration is currently written >> in 'qemu_savevm_state_begin', move it to >>

Re: [Qemu-devel] [PULL v4 00/14] qemu-ga patch queue

2015-10-20 Thread Peter Maydell
On 20 October 2015 at 10:52, Peter Maydell wrote: > On 20 October 2015 at 00:38, Michael Roth wrote: >> >> qemu-ga patch queue >> >> * add unit tests for qemu-ga >> * add

Re: [Qemu-devel] [PATCH v8 17/54] Return path: socket_writev_buffer: Block even on non-blocking fd's

2015-10-20 Thread Juan Quintela
Juan Quintela wrote: Post proper list Remove cc'd > "Dr. David Alan Gilbert (git)" wrote: >> From: "Dr. David Alan Gilbert" >> >> The destination sets the fd to non-blocking on incoming migrations; >> this also affects the

Re: [Qemu-devel] [PATCH 1/2] vl: trivial: minor tweaks to a max-cpu error msg

2015-10-20 Thread Paolo Bonzini
On 19/10/2015 20:51, Eduardo Habkost wrote: > On Sun, Oct 18, 2015 at 07:35:27PM +0200, Andrew Jones wrote: >> Signed-off-by: Andrew Jones > > Reviewed-by: Eduardo Habkost > Acked-by: Eduardo Habkost > > If this can go through my

[Qemu-devel] [PULL 2/2] vmsvga: more cursor checks

2015-10-20 Thread Gerd Hoffmann
Check the cursor size more carefully. Also switch to unsigned while being at it, so they can't be negative. Signed-off-by: Gerd Hoffmann --- hw/display/vmware_vga.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/hw/display/vmware_vga.c

[Qemu-devel] [RFC PATCH v2 2/5] kernel: Add vGICv3 ITS definitions

2015-10-20 Thread Pavel Fedin
This temporary patch adds kernel API definitions. Use proper header update procedure after these features are released. Signed-off-by: Pavel Fedin --- linux-headers/asm-arm64/kvm.h | 1 + linux-headers/linux/kvm.h | 9 +++-- 2 files changed, 8 insertions(+), 2

Re: [Qemu-devel] [PATCH] net: Remove duplicate data from query-rx-filter on multiqueue net devices

2015-10-20 Thread Jason Wang
On 10/19/2015 09:04 PM, Vladislav Yasevich wrote: > When responding to a query-rx-filter command on a multiqueue > netdev, qemu reports the data for each queue. The data, however, > is not per-queue, but per device and the same data is reported > multiple times. This causes confusion and may

Re: [Qemu-devel] PING: [PATCH v4 0/7] qom: more efficient object property handling

2015-10-20 Thread Andreas Färber
Am 20.10.2015 um 14:15 schrieb Paolo Bonzini: > On 20/10/2015 13:38, Pavel Fedin wrote: >> Hello! Is there any progress on this? >> 6/7 significantly improves startup performance, i'd like to have it >> accepted. > > Me too. :) > > I am waiting for Andreas, since he's the maintainer for QOM.

Re: [Qemu-devel] [PATCH v3 3/5] virtio-9p: block hot-unplug when device is active

2015-10-20 Thread Michael S. Tsirkin
On Tue, Oct 20, 2015 at 11:17:00AM +0200, Greg Kurz wrote: > Hot-unplug of an active virtio-9p device is not currently supported. Until > we have that, let's block hot-unplugging when the 9p share is mounted in > the guest. > > This patch implements a hot-unplug blocker feature like we already

Re: [Qemu-devel] x86 amd64 singlestepping bug through syscall instruction

2015-10-20 Thread Rudolf Marek
Hi all, It seems this problem was not picked by anyone from QEMU community. Is there other way to report this bug? Thanks Rudolf -- S přátelským pozdravem / Best regards / Mit freundlichen Grüßen Ing. Rudolf Marek SYSGO s.r.o. Zelený pruh 99 CZ-14800 Praha 4 Phone: +420 222138 111, +49 6136

[Qemu-devel] [PATCH v2 2/3] target-i386: calculate vcpu's TSC rate to be migrated

2015-10-20 Thread Haozhong Zhang
If vcpu's TSC rate is not specified by the cpu option 'tsc-freq', we will use the value returned by KVM_GET_TSC_KHZ; otherwise, we use the user-specified value. Signed-off-by: Haozhong Zhang --- target-i386/kvm.c | 33 + 1 file changed,

Re: [Qemu-devel] [PATCH v3 0/5] virtio-9p: hotplug and migration support

2015-10-20 Thread Michael S. Tsirkin
On Tue, Oct 20, 2015 at 11:16:40AM +0200, Greg Kurz wrote: > We already have a blocker to prevent migration of an active virtio-9p device. > But in fact, there is no migration support at all for 9p, even if the device > is considered to be quiescent (when the VirtFS share is not mounted): >

Re: [Qemu-devel] [PATCH 6/6] e1000: Implementing various counters

2015-10-20 Thread Jason Wang
On 10/18/2015 03:53 PM, Leonid Bloch wrote: > This implements the following Statistic registers (various counters) > according to Intel's specs: > > TSCTC GOTCL GOTCH GORCL GORCH MPRC BPRC RUCROC > BPTC MPTC PTC... PRC... > > Signed-off-by: Leonid Bloch

Re: [Qemu-devel] Trouble with numlock and SDL

2015-10-20 Thread Gerd Hoffmann
On Mo, 2015-10-19 at 18:02 +0200, Erik Rull wrote: > Hi Gerd, > > any ideas if there was an update or patch on this point? I tried to check > the commits since April but didn't find something that may fit... Nobody coded this up so far ... cheers, Gerd

Re: [Qemu-devel] [PATCH COLO-Frame v9 06/32] migration: Integrate COLO checkpoint process into loadvm

2015-10-20 Thread zhanghailiang
On 2015/10/19 17:17, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: Switch from normal migration loadvm process into COLO checkpoint process if COLO mode is enabled. We add three new members to struct MigrationIncomingState, 'have_colo_incoming_thread'

[Qemu-devel] [PULL v2 5/7] Enable fw_cfg DMA interface for ARM

2015-10-20 Thread Gerd Hoffmann
From: Marc Marí Enable the fw_cfg DMA interface for the ARM virt machine. Based on Gerd Hoffman's initial implementation. Signed-off-by: Marc Marí Reviewed-by: Peter Maydell Reviewed-by: Laszlo Ersek

[Qemu-devel] [PULL v2 4/7] Implement fw_cfg DMA interface

2015-10-20 Thread Gerd Hoffmann
From: Marc Marí Based on the specifications on docs/specs/fw_cfg.txt This interface is an addon. The old interface can still be used as usual. Based on Gerd Hoffman's initial implementation. Signed-off-by: Marc Marí Reviewed-by: Laszlo Ersek

Re: [Qemu-devel] [ipxe-devel] EFI_PXE_BASE_CODE_PROTOCOL

2015-10-20 Thread Gerd Hoffmann
Hi, > The guids translate to: > > 245DCA21-FB7B-11D3-8F01-00A0C969723B gEfiPxeBaseCodeCallbackProtocolGuid > 41D94CD2-35B6-455A-8258-D4E51334AADD gEfiIp4ProtocolGuid > 3AD9DF29-4501-478D-B1F8-7F7FE70E50F3 gEfiUdp4ProtocolGuid > F4B427BB-BA21-4F16-BC4E-43E416AB619C gEfiArpProtocolGuid >

[Qemu-devel] [PULL v2 3/7] fw_cfg DMA interface documentation

2015-10-20 Thread Gerd Hoffmann
From: Marc Marí Add fw_cfg DMA interface specification in the documentation. Based on Gerd Hoffman's initial implementation. Signed-off-by: Marc Marí Reviewed-by: Peter Maydell Reviewed-by: Laszlo Ersek

[Qemu-devel] [PULL v2 7/7] fw_cfg: Define a static signature to be returned on DMA port reads

2015-10-20 Thread Gerd Hoffmann
From: Kevin O'Connor Return a static signature ("QEMU CFG") if the guest does a read to the DMA address io register. Signed-off-by: Kevin O'Connor Reviewed-by: Laszlo Ersek Reviewed-by: Stefan Hajnoczi

[Qemu-devel] [PULL v2 2/7] fw_cfg: document fw_cfg_modify_iXX() update functions

2015-10-20 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" Document the behavior of fw_cfg_modify_iXX() for leak-less updating of integer-type blobs. Currently only fw_cfg_modify_i16() is coded, but 32- and 64-bit versions may be added later if necessary.. Signed-off-by: Gabriel Somlo

Re: [Qemu-devel] [PATCH v4 00/12] block: Protect nested event loop with bdrv_drained_begin and bdrv_drained_end

2015-10-20 Thread Kevin Wolf
Am 20.10.2015 um 07:16 hat Fam Zheng geschrieben: > v4: Rebase on to master so fix the "bdrv_move_feature_fields" issue. > > v3: Call bdrv_drain unconditionally in bdrv_drained_begin. > Document the internal I/O implications between bdrv_drain_begin and end. > > The nested aio_poll()'s in

Re: [Qemu-devel] [PATCH v9 04/17] vnc: hoist allocation of VncBasicInfo to callers

2015-10-20 Thread Markus Armbruster
Gerd Hoffmann writes: > Hi, > >> > -static VncBasicInfo *vnc_basic_info_get(struct sockaddr_storage *sa, >> > -socklen_t salen) >> > +static void vnc_basic_info_get(struct sockaddr_storage *sa, >> > +

[Qemu-devel] [PATCH RFC V5 7/9] hw/intc: arm_gicv3

2015-10-20 Thread Shlomo Pongratz
From: Shlomo Pongratz This patch includes the code that binds together the codes of all the previous patches. Signed-off-by: Shlomo Pongratz --- hw/intc/Makefile.objs | 1 + hw/intc/arm_gicv3.c | 134

[Qemu-devel] [PATCH RFC V5 9/9] hw/arm: Add virt-v3 machine that uses GIC-500

2015-10-20 Thread Shlomo Pongratz
From: Shlomo Pongratz Add virt-v3 machine that uses GIC-500. Registers the CPU system instructions and bind them to the GIC. Pass the cores' affinity to the GIC. Signed-off-by: Shlomo Pongratz --- hw/arm/virt.c | 87

  1   2   3   >