[Qemu-devel] [PATCH v2] net/slirp: Tell the users when they are using deprecated options

2016-01-13 Thread Thomas Huth
We don't want to support the legacy -tftp, -bootp, -smb and -net channel options forever. So let's start telling the users that they are deprecated and what option should be used instead. Signed-off-by: Thomas Huth --- v2: Changed the texts to tell the users what options

Re: [Qemu-devel] [PATCH 06/10] qemu-img: Prepare for locked images

2016-01-13 Thread Markus Armbruster
Kevin Wolf writes: > Am 12.01.2016 um 16:20 hat Markus Armbruster geschrieben: >> Kevin Wolf writes: >> >> > Am 11.01.2016 um 16:49 hat Markus Armbruster geschrieben: >> >> Eric Blake writes: >> >> >> >> > On 12/22/2015 09:46 AM, Kevin

Re: [Qemu-devel] [PATCH v2 2/2] iotests: Test that negative throttle values are rejected

2016-01-13 Thread Alberto Garcia
On Wed 13 Jan 2016 01:52:30 AM CET, Fam Zheng wrote: > +echo === Catching nagative throttling values === s/nagative/negative/ (there are several of these in the patch) You could also test the upper limits now. Berto

[Qemu-devel] [PULL 1/6] migration: Export migrate_set_state()

2016-01-13 Thread Amit Shah
From: zhanghailiang Change the first parameter of migrate_set_state(), and export it. We will use it in a later patch to update incoming state. Signed-off-by: zhanghailiang Reviewed-by: Dr. David Alan Gilbert

[Qemu-devel] [PULL 3/6] Postcopy: Send events/change state on incoming side

2016-01-13 Thread Amit Shah
From: "Dr. David Alan Gilbert" I missed the calls to send migration events on the destination side as we enter postcopy. Take care when adding them not to do it after state has been freed. Signed-off-by: Dr. David Alan Gilbert Reviewed-by:

[Qemu-devel] [PULL 4/6] Migration: Emit event at start of pass

2016-01-13 Thread Amit Shah
From: "Dr. David Alan Gilbert" Emit an event each time we sync the dirty bitmap on the source; this helps libvirt use postcopy by giving it a kick when it might be a good idea to start the postcopy. Signed-off-by: Dr. David Alan Gilbert Reviewed-by:

[Qemu-devel] [PULL 0/6] migration fixes

2016-01-13 Thread Amit Shah
The following changes since commit 649a1bbaf95adb228f1030ab0618a932bc26aa8b: Merge remote-tracking branch 'remotes/kvaneesh/tags/for-upstream-signed' into staging (2016-01-12 17:37:22 +) are available in the git repository at: https://git.kernel.org/pub/scm/virt/qemu/amit/migration.git

[Qemu-devel] [PULL 6/6] multithread decompression: Avoid one copy

2016-01-13 Thread Amit Shah
From: "Dr. David Alan Gilbert" qemu_get_buffer does a copy, we can avoid the memcpy, and we can then remove the extra buffer. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Liang Li Reviewed-by: Juan Quintela

Re: [Qemu-devel] [PATCH 1/1] blk: do not select PFLASH device for internal snapshot

2016-01-13 Thread Markus Armbruster
Kevin Wolf writes: > Am 12.01.2016 um 18:40 hat Markus Armbruster geschrieben: >> Kevin Wolf writes: >> >> > Am 12.01.2016 um 17:35 hat Denis V. Lunev geschrieben: >> >> On 01/12/2016 06:47 PM, Denis V. Lunev wrote: >> >> >On 01/12/2016 06:20 PM, Kevin Wolf

Re: [Qemu-devel] [PATCH] hmp: avoid redundant null termination of buffer

2016-01-13 Thread Wolfgang Bumiller
On Tue, Jan 12, 2016 at 05:52:38PM +0100, Markus Armbruster wrote: > Wolfgang Bumiller writes: > > >> On January 12, 2016 at 5:00 PM Markus Armbruster wrote: > >> Will you prepare a revised patch? > > > > Can do that tomorrow, but which option is the

Re: [Qemu-devel] [PATCH] qemu-doc: Do not promote deprecated -smb and -redir options

2016-01-13 Thread Jason Wang
On 01/13/2016 04:21 PM, Thomas Huth wrote: > Since -smb and -redir are deprecated options, we should not > use them as examples in the documentation anymore. > > Signed-off-by: Thomas Huth > --- > qemu-doc.texi | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-)

Re: [Qemu-devel] [PATCH] ARM: Virt: Don't generate RTC ACPI node when using UEFI

2016-01-13 Thread Laszlo Ersek
On 01/12/16 16:24, Shannon Zhao wrote: > When booting VM through UEFI, UEFI takes ownership of the RTC hardware. > To DTB UEFI could call libfdt api to disable the RTC device node, but to > ACPI it couldn't do that. Therefore, we don't generate the RTC ACPI > device in QEMU when using UEFI. > >

Re: [Qemu-devel] [PATCH v2 1/5] virtio-net: use the backend cross-endian capabilities

2016-01-13 Thread Greg Kurz
On Wed, 13 Jan 2016 10:53:11 +0100 Laurent Vivier wrote: > On 13/01/2016 10:06, Greg Kurz wrote: > > On Tue, 12 Jan 2016 18:24:28 +0100 > > Laurent Vivier wrote: > > > >> On 11/01/2016 17:12, Greg Kurz wrote: > >>> When running a fully emulated

Re: [Qemu-devel] [PATCH v2 4/6] Migration: Emit event at start of pass

2016-01-13 Thread Amit Shah
On (Wed) 16 Dec 2015 [16:52:14], Dr. David Alan Gilbert wrote: > * Eric Blake (ebl...@redhat.com) wrote: > > On 12/16/2015 04:47 AM, Dr. David Alan Gilbert (git) wrote: > > > From: "Dr. David Alan Gilbert" > > > > > > Emit an event each time we sync the dirty bitmap on the

[Qemu-devel] [PULL 0/1] virtio-serial qom'ification fix

2016-01-13 Thread Amit Shah
The following changes since commit 649a1bbaf95adb228f1030ab0618a932bc26aa8b: Merge remote-tracking branch 'remotes/kvaneesh/tags/for-upstream-signed' into staging (2016-01-12 17:37:22 +) are available in the git repository at:

Re: [Qemu-devel] [PATCH 1/1] blk: do not select PFLASH device for internal snapshot

2016-01-13 Thread Laszlo Ersek
On 01/12/16 18:40, Markus Armbruster wrote: > Kevin Wolf writes: > >> Am 12.01.2016 um 17:35 hat Denis V. Lunev geschrieben: >>> On 01/12/2016 06:47 PM, Denis V. Lunev wrote: On 01/12/2016 06:20 PM, Kevin Wolf wrote: > Am 12.01.2016 um 15:59 hat Paolo Bonzini

[Qemu-devel] [PATCH] qemu-doc: Do not promote deprecated -smb and -redir options

2016-01-13 Thread Thomas Huth
Since -smb and -redir are deprecated options, we should not use them as examples in the documentation anymore. Signed-off-by: Thomas Huth --- qemu-doc.texi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/qemu-doc.texi b/qemu-doc.texi index

Re: [Qemu-devel] [PATCH 1/5] block: added lock image option and callback

2016-01-13 Thread Markus Armbruster
Kevin Wolf writes: > Am 11.01.2016 um 18:58 hat Daniel P. Berrange geschrieben: >> On Mon, Jan 11, 2016 at 06:31:06PM +0100, Kevin Wolf wrote: >> > Am 23.12.2015 um 08:46 hat Denis V. Lunev geschrieben: >> > > From: Olga Krishtal >> > > >> > > While

Re: [Qemu-devel] [PATCH 1/5] block: added lock image option and callback

2016-01-13 Thread Daniel P. Berrange
On Mon, Jan 11, 2016 at 07:35:57PM +0100, Kevin Wolf wrote: > Am 11.01.2016 um 18:58 hat Daniel P. Berrange geschrieben: > > On Mon, Jan 11, 2016 at 06:31:06PM +0100, Kevin Wolf wrote: > > > Am 23.12.2015 um 08:46 hat Denis V. Lunev geschrieben: > > > > From: Olga Krishtal

Re: [Qemu-devel] [PATCH 1/5] block: added lock image option and callback

2016-01-13 Thread Daniel P. Berrange
On Wed, Jan 13, 2016 at 12:12:10PM +0300, Denis V. Lunev wrote: > On 01/13/2016 11:52 AM, Markus Armbruster wrote: > >Kevin Wolf writes: > > > >>Am 11.01.2016 um 18:58 hat Daniel P. Berrange geschrieben: > >>>On Mon, Jan 11, 2016 at 06:31:06PM +0100, Kevin Wolf wrote: > Am

[Qemu-devel] [PULL 2/6] migration: Add state records for migration incoming

2016-01-13 Thread Amit Shah
From: zhanghailiang For migration destination, we also need to know its state, we will use it in COLO. Here we add a new member 'state' for MigrationIncomingState, and also use migrate_set_state() to modify its value. Signed-off-by: zhanghailiang

Re: [Qemu-devel] [Bug 1531632] [NEW] Can't compile qemu because of errors in the Xen code

2016-01-13 Thread Stefano Stabellini
On Wed, 6 Jan 2016, Leo wrote: > Public bug reported: > > I'm using Arch Linux, with all needed libs packages installed via ABS > (compiled from source). > I tried to clone the master repository, the v2.5.0 and the stable-2.4.0, all > I had the same problems: Hello Leo, what is the version of

Re: [Qemu-devel] [PATCH 1/1] blk: do not select PFLASH device for internal snapshot

2016-01-13 Thread Denis V. Lunev
On 01/13/2016 01:37 PM, Laszlo Ersek wrote: meta comment here: On 01/12/16 16:47, Denis V. Lunev wrote: P.S. Here is a summary that my colleague has receiver from libvirt list. Forwarded Message Subject: Re: Snapshotting OVMF guests Date: Mon, 11 Jan 2016 13:56:29

Re: [Qemu-devel] [Avocado-devel] [PATCH] net/slirp: Tell the users when they are using deprecated options

2016-01-13 Thread Jason Wang
On 01/13/2016 03:27 PM, Thomas Huth wrote: > On 13.01.2016 04:13, Jason Wang wrote: >> >> On 01/13/2016 10:58 AM, Jason Wang wrote: >>> On 01/12/2016 07:45 PM, Cleber Rosa wrote: - Original Message - > From: "Thomas Huth" > To: "Jason Wang"

Re: [Qemu-devel] [Qemu-block] [PATCH 00/10] qcow2: Implement image locking

2016-01-13 Thread Denis V. Lunev
On 01/13/2016 11:56 AM, Markus Armbruster wrote: Kevin Wolf writes: Am 23.12.2015 um 11:47 hat Daniel P. Berrange geschrieben: On Wed, Dec 23, 2015 at 11:14:12AM +0800, Fam Zheng wrote: On Tue, 12/22 17:46, Kevin Wolf wrote: Enough innocent images have died because users

Re: [Qemu-devel] [PATCH 1/5] block: added lock image option and callback

2016-01-13 Thread Denis V. Lunev
On 01/13/2016 11:52 AM, Markus Armbruster wrote: Kevin Wolf writes: Am 11.01.2016 um 18:58 hat Daniel P. Berrange geschrieben: On Mon, Jan 11, 2016 at 06:31:06PM +0100, Kevin Wolf wrote: Am 23.12.2015 um 08:46 hat Denis V. Lunev geschrieben: From: Olga Krishtal

Re: [Qemu-devel] [PATCH v2] net/slirp: Tell the users when they are using deprecated options

2016-01-13 Thread Jason Wang
On 01/13/2016 04:05 PM, Thomas Huth wrote: > We don't want to support the legacy -tftp, -bootp, -smb and > -net channel options forever. So let's start telling the users > that they are deprecated and what option should be used instead. > > Signed-off-by: Thomas Huth > --- >

Re: [Qemu-devel] [PATCH v2 1/5] virtio-net: use the backend cross-endian capabilities

2016-01-13 Thread Laurent Vivier
On 13/01/2016 10:06, Greg Kurz wrote: > On Tue, 12 Jan 2016 18:24:28 +0100 > Laurent Vivier wrote: > >> On 11/01/2016 17:12, Greg Kurz wrote: >>> When running a fully emulated device in cross-endian conditions, including >>> a virtio 1.0 device offered to a big endian

Re: [Qemu-devel] [PATCH] ARM: Virt: Don't generate RTC ACPI node when using UEFI

2016-01-13 Thread Laszlo Ersek
On 01/12/16 16:30, Peter Maydell wrote: > On 12 January 2016 at 15:24, Shannon Zhao wrote: >> When booting VM through UEFI, UEFI takes ownership of the RTC hardware. >> To DTB UEFI could call libfdt api to disable the RTC device node, but to >> ACPI it couldn't do that.

Re: [Qemu-devel] [PATCH] ARM: Virt: Don't generate RTC ACPI node when using UEFI

2016-01-13 Thread Ard Biesheuvel
On 13 January 2016 at 11:18, Laszlo Ersek wrote: > On 01/12/16 16:24, Shannon Zhao wrote: >> When booting VM through UEFI, UEFI takes ownership of the RTC hardware. >> To DTB UEFI could call libfdt api to disable the RTC device node, but to >> ACPI it couldn't do that.

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-13 Thread Alex Bennée
Pranith Kumar writes: > Hi Alex, > > On Tue, Jan 12, 2016 at 12:29 PM, Alex Bennée > wrote: > >> > https://github.com/stsquad/qemu/tree/mttcg/multi_tcg_v8_wip_ajb_fix_locks >> > > I built this branch and ran an arm64 guest. It seems to be failing

Re: [Qemu-devel] [PATCH 1/1] blk: do not select PFLASH device for internal snapshot

2016-01-13 Thread Laszlo Ersek
meta comment here: On 01/12/16 16:47, Denis V. Lunev wrote: > P.S. Here is a summary that my colleague has receiver from libvirt >list. > > Forwarded Message > Subject: Re: Snapshotting OVMF guests > Date: Mon, 11 Jan 2016 13:56:29 +0100 > From: Laszlo Ersek

Re: [Qemu-devel] [PATCH] vnc: fix tls-creds error message

2016-01-13 Thread Daniel P. Berrange
On Wed, Jan 13, 2016 at 11:36:00AM +0100, Wolfgang Bumiller wrote: > The parameter is called 'tls-creds', 'credid' is just the > variable name in the code. > > Signed-off-by: Wolfgang Bumiller > --- > ui/vnc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Qemu-devel] [PATCH v2 1/2] blockdev: Error out on negative throttling option values

2016-01-13 Thread Alberto Garcia
On Wed 13 Jan 2016 12:02:00 PM CET, Fam Zheng wrote: >> > Check the number range so this case is catched and reported. >> >> I still don't know why qemu_opt_get_number() convert silently >> negative numbers into positive ones, shouldn't it just fail with an >> "invalid parameter" error? > >

[Qemu-devel] [PATCH] replay: character devices

2016-01-13 Thread Pavel Dovgalyuk
This patch implements record and replay of character devices. It records chardevs communication in replay mode. Recorded information include data read from backend and counter of bytes written from frontend to backend to preserve frontend internal state. If character device was configured through

Re: [Qemu-devel] [PATCH v2 1/2] blockdev: Error out on negative throttling option values

2016-01-13 Thread Alberto Garcia
On Wed 13 Jan 2016 01:52:29 AM CET, Fam Zheng wrote: > The implicit casting from unsigned int to double changes negative values > into large positive numbers and accepts them. We should instead print > an error. > > Check the number range so this case is catched and reported. I still don't know

Re: [Qemu-devel] [PATCH v6 0/3] i386: expose floppy-related objects in SSDT

2016-01-13 Thread Igor Mammedov
On Mon, 11 Jan 2016 16:35:31 +0100 Igor Mammedov wrote: > v5->v6: > - rebased on top DSDT converted to AMP API > - dropped intermediate structs for one time used floppy parameters >which simplifies code a bit. Roman, I don't have OVMF+Win setup, Could you test this

Re: [Qemu-devel] [PATCH] ARM: Virt: Don't generate RTC ACPI node when using UEFI

2016-01-13 Thread Laszlo Ersek
On 01/13/16 11:20, Ard Biesheuvel wrote: > On 13 January 2016 at 11:18, Laszlo Ersek wrote: >> On 01/12/16 16:24, Shannon Zhao wrote: >>> When booting VM through UEFI, UEFI takes ownership of the RTC hardware. >>> To DTB UEFI could call libfdt api to disable the RTC device

[Qemu-devel] [PATCH] qemu-img: Speed up comparing empty/zero images

2016-01-13 Thread Fam Zheng
Two empty raw files are always compared by actually reading data even if there is no data, because BDRV_BLOCK_ZERO is considered "allocated" in bdrv_is_allocated_above(). That is inefficient. Use bdrv_get_block_status_above() for more information, and skip the consecutive zero sectors. This

Re: [Qemu-devel] [PATCH 00/10] qcow2: Implement image locking

2016-01-13 Thread Markus Armbruster
Kevin Wolf writes: > Am 23.12.2015 um 11:47 hat Daniel P. Berrange geschrieben: >> On Wed, Dec 23, 2015 at 11:14:12AM +0800, Fam Zheng wrote: >> > On Tue, 12/22 17:46, Kevin Wolf wrote: >> > > Enough innocent images have died because users called 'qemu-img >> > > snapshot'

Re: [Qemu-devel] [PATCH 1/1] blk: do not select PFLASH device for internal snapshot

2016-01-13 Thread Laszlo Ersek
On 01/12/16 18:50, Kevin Wolf wrote: > Am 12.01.2016 um 18:40 hat Markus Armbruster geschrieben: >> Kevin Wolf writes: >> >>> Am 12.01.2016 um 17:35 hat Denis V. Lunev geschrieben: On 01/12/2016 06:47 PM, Denis V. Lunev wrote: > On 01/12/2016 06:20 PM, Kevin Wolf wrote:

[Qemu-devel] [PULL 5/6] Use qemu_get_buffer_in_place for xbzrle data

2016-01-13 Thread Amit Shah
From: "Dr. David Alan Gilbert" Avoid a data copy (if we're lucky) in the xbzrle code. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Juan Quintela Reviewed-by: Amit Shah Message-Id:

[Qemu-devel] [PULL 1/1] virtio serial port: fix to incomplete QOMify

2016-01-13 Thread Amit Shah
From: Cao jin Signed-off-by: Cao jin Message-Id: <1452068575-21543-1-git-send-email-caoj.f...@cn.fujitsu.com> Reviewed-by: Amit Shah Signed-off-by: Amit Shah --- hw/char/virtio-serial-bus.c | 2 +-

Re: [Qemu-devel] [Avocado-devel] [PATCH] net/slirp: Tell the users when they are using deprecated options

2016-01-13 Thread Jason Wang
On 01/13/2016 03:25 PM, Paolo Bonzini wrote: > > On 13/01/2016 04:13, Jason Wang wrote: >> Rethinking about this. I'm not quite sure we can remove those >> especially "-net user". Google qemu "-net user" gives about 15,900 >> results (and the first link is qemu wiki). Maybe we can replace "will

Re: [Qemu-devel] [PATCH v2 1/5] virtio-net: use the backend cross-endian capabilities

2016-01-13 Thread Greg Kurz
On Tue, 12 Jan 2016 18:24:28 +0100 Laurent Vivier wrote: > On 11/01/2016 17:12, Greg Kurz wrote: > > When running a fully emulated device in cross-endian conditions, including > > a virtio 1.0 device offered to a big endian guest, we need to fix the vnet > > headers. This is

Re: [Qemu-devel] [PATCH v2 0/6] Migration: Small fixes and improvements

2016-01-13 Thread Amit Shah
On (Wed) 16 Dec 2015 [11:47:32], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > This is a set of 4 small fixes and improvements I've been collecting > during the 2.5 freeze; I've added in a couple of Zhanghailiang's patches > that are easier to

Re: [Qemu-devel] [PATCH v2 01/15] qom: add helpers for UserCreatable object types

2016-01-13 Thread Daniel P. Berrange
Copying Andreas into the qom: related patch in this series On Mon, Jan 11, 2016 at 03:00:45PM +, Daniel P. Berrange wrote: > The QMP monitor code has two helper methods object_add > and qmp_object_del that are called from several places > in the code (QMP, HMP and main emulator startup). > >

[Qemu-devel] [PATCH] vnc: fix tls-creds error message

2016-01-13 Thread Wolfgang Bumiller
The parameter is called 'tls-creds', 'credid' is just the variable name in the code. Signed-off-by: Wolfgang Bumiller --- ui/vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/vnc.c b/ui/vnc.c index 09756cd..2270ac2 100644 --- a/ui/vnc.c +++

Re: [Qemu-devel] [PATCH v2 1/2] blockdev: Error out on negative throttling option values

2016-01-13 Thread Fam Zheng
On Wed, 01/13 11:17, Alberto Garcia wrote: > On Wed 13 Jan 2016 01:52:29 AM CET, Fam Zheng wrote: > > > The implicit casting from unsigned int to double changes negative values > > into large positive numbers and accepts them. We should instead print > > an error. > > > > Check the number range

[Qemu-devel] [PATCH 0/6] virtio-gpu: fixes and spice preparation

2016-01-13 Thread Gerd Hoffmann
Hi, This patch series brings some minor opengl bug fixes and also some virtio-gpu preparations for spice support. please review, Gerd Gerd Hoffmann (6): zap qemu_egl_has_ext in include/ui/egl-helpers.h console: block rendering until client is done virtio-gpu: fix memory leak in error

[Qemu-devel] [PATCH 1/6] zap qemu_egl_has_ext in include/ui/egl-helpers.h

2016-01-13 Thread Gerd Hoffmann
Drop leftover prototype which sneaked in by mistake Signed-off-by: Gerd Hoffmann --- include/ui/egl-helpers.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/ui/egl-helpers.h b/include/ui/egl-helpers.h index 5ad5dc3..8c84398 100644 --- a/include/ui/egl-helpers.h

Re: [Qemu-devel] [PATCH v6 0/3] i386: expose floppy-related objects in SSDT

2016-01-13 Thread Roman Kagan
On Wed, Jan 13, 2016 at 11:25:22AM +0100, Igor Mammedov wrote: > On Mon, 11 Jan 2016 16:35:31 +0100 > Igor Mammedov wrote: > > > v5->v6: > > - rebased on top DSDT converted to AMP API > > - dropped intermediate structs for one time used floppy parameters > >which

[Qemu-devel] [PATCH 3/6] virtio-gpu: fix memory leak in error path

2016-01-13 Thread Gerd Hoffmann
Found by Coverity Scan, buf not freed on error. Signed-off-by: Gerd Hoffmann --- hw/display/virtio-gpu-3d.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/display/virtio-gpu-3d.c b/hw/display/virtio-gpu-3d.c index 28dccfd..d2af327 100644 ---

Re: [Qemu-devel] [Xen-devel] [PATCH v3 13/13] xen-hvm: Mark inappropriate error handling FIXME

2016-01-13 Thread Markus Armbruster
Markus Armbruster writes: > Stefano Stabellini writes: > >> On Thu, 17 Dec 2015, Markus Armbruster wrote: >>> Cc: Stefano Stabellini >>> Cc: xen-de...@lists.xensource.com >>> Signed-off-by: Markus Armbruster

Re: [Qemu-devel] [PATCH 5/6] virtio-gpu: add support to enable/disable command processing

2016-01-13 Thread Marc-André Lureau
Hi On Wed, Jan 13, 2016 at 1:02 PM, Gerd Hoffmann wrote: > So we can stop rendering for a while in case we have to. > > Signed-off-by: Gerd Hoffmann Reviewed-by: Marc-André Lureau > --- > hw/display/virtio-gpu-3d.c | 3

[Qemu-devel] [PATCH v14 3/8] Backup: clear all bitmap when doing block checkpoint

2016-01-13 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie Reviewed-by: Jeff Cody

Re: [Qemu-devel] [Xen-devel] [PATCH v3 13/13] xen-hvm: Mark inappropriate error handling FIXME

2016-01-13 Thread Stefano Stabellini
On Wed, 13 Jan 2016, Markus Armbruster wrote: > Markus Armbruster writes: > > > Stefano Stabellini writes: > > > >> On Thu, 17 Dec 2015, Markus Armbruster wrote: > >>> Cc: Stefano Stabellini > >>> Cc:

[Qemu-devel] [PATCH 5/6] virtio-gpu: add support to enable/disable command processing

2016-01-13 Thread Gerd Hoffmann
So we can stop rendering for a while in case we have to. Signed-off-by: Gerd Hoffmann --- hw/display/virtio-gpu-3d.c | 3 ++- hw/display/virtio-gpu.c| 5 - include/hw/virtio/virtio-gpu.h | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git

[Qemu-devel] [PATCH v14 1/8] unblock backup operations in backing file

2016-01-13 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: Changlong Xie --- block.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/block.c b/block.c index e90b6cf..12b5231 100644 --- a/block.c

[Qemu-devel] [PATCH v14 6/8] auto complete active commit

2016-01-13 Thread Changlong Xie
From: Wen Congyang Auto complete mirror job in background to prevent from blocking synchronously Signed-off-by: Wen Congyang Signed-off-by: Changlong Xie --- block/mirror.c| 13 + blockdev.c

[Qemu-devel] [PATCH v14 4/8] Allow creating backup jobs when opening BDS

2016-01-13 Thread Changlong Xie
From: Wen Congyang When opening BDS, we need to create backup jobs for image-fleecing. Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong

[Qemu-devel] [PATCH v14 8/8] support replication driver in blockdev-add

2016-01-13 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie Reviewed-by: Eric Blake

[Qemu-devel] [PATCH v14 2/8] Store parent BDS in BdrvChild

2016-01-13 Thread Changlong Xie
From: Wen Congyang We need to access the parent BDS to get the root BDS. Signed-off-by: Wen Congyang Signed-off-by: Changlong Xie --- block.c | 1 + include/block/block_int.h | 1 + 2 files changed, 2

[Qemu-devel] [PATCH v14 5/8] docs: block replication's description

2016-01-13 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie --- docs/block-replication.txt |

[Qemu-devel] [PATCH v14 7/8] Implement new driver for block replication

2016-01-13 Thread Changlong Xie
From: Wen Congyang Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Signed-off-by: Changlong Xie --- block/Makefile.objs

[Qemu-devel] [PATCH 6/6] virtio-gpu: block any rendering until client (ui) is done

2016-01-13 Thread Gerd Hoffmann
Wire up gl_block callback, so ui code can request to stop virtio-gpu rendering. Signed-off-by: Gerd Hoffmann --- hw/display/virtio-gpu-3d.c | 5 + hw/display/virtio-gpu.c| 8 hw/display/virtio-vga.c| 10 ++

[Qemu-devel] [PATCH 2/6] console: block rendering until client is done

2016-01-13 Thread Gerd Hoffmann
Allow gl user interfaces to block display device gl rendering. The ui code might want to do that in case it takes a little longer to bring things to screen, for example because we'll hand over a dma-buf to another process (spice will do that). Signed-off-by: Gerd Hoffmann ---

Re: [Qemu-devel] [PATCH] qemu-img: Speed up comparing empty/zero images

2016-01-13 Thread Paolo Bonzini
On 13/01/2016 09:37, Fam Zheng wrote: > Two empty raw files are always compared by actually reading data even if > there is no data, because BDRV_BLOCK_ZERO is considered "allocated" in > bdrv_is_allocated_above(). That is inefficient. > > Use bdrv_get_block_status_above() for more

Re: [Qemu-devel] [PATCH 2/6] console: block rendering until client is done

2016-01-13 Thread Marc-André Lureau
Hi On Wed, Jan 13, 2016 at 1:02 PM, Gerd Hoffmann wrote: > Allow gl user interfaces to block display device gl rendering. > The ui code might want to do that in case it takes a little > longer to bring things to screen, for example because we'll > hand over a dma-buf to

Re: [Qemu-devel] [PATCH 1/6] zap qemu_egl_has_ext in include/ui/egl-helpers.h

2016-01-13 Thread Marc-André Lureau
Reviewed-by: Marc-André Lureau On Wed, Jan 13, 2016 at 1:02 PM, Gerd Hoffmann wrote: > Drop leftover prototype which sneaked in by mistake > > Signed-off-by: Gerd Hoffmann > --- > include/ui/egl-helpers.h | 1 - > 1 file

[Qemu-devel] [PATCH v14 0/8] Block replication for continuous checkpoints

2016-01-13 Thread Changlong Xie
Block replication is a very important feature which is used for continuous checkpoints(for example: COLO). You can get the detailed information about block replication from here: http://wiki.qemu.org/Features/BlockReplication Usage: Please refer to docs/block-replication.txt This patch series

Re: [Qemu-devel] [PATCH] ARM: Virt: Don't generate RTC ACPI node when using UEFI

2016-01-13 Thread Peter Maydell
On 13 January 2016 at 10:48, Laszlo Ersek wrote: > On 01/13/16 11:20, Ard Biesheuvel wrote: >> I am not buying it either, to be honest. In fact, I think it is >> another reason why we should mandate UEFI when using ACPI (which is >> already the case in practice). Then, we can

[Qemu-devel] [PATCH 4/6] virtio-gpu: maintain command queue

2016-01-13 Thread Gerd Hoffmann
We'll go take out the commands we receive out of the virt queue and put them into a linked list, to decouple virtio queue handling from actual command processing. Also move cmd processing to new virtio_gpu_handle_ctrl func, so we can easily kick it from different places. Signed-off-by: Gerd

[Qemu-devel] [PATCH v5 2/5] Add Error **errp for xen_host_pci_device_get()

2016-01-13 Thread Cao jin
To catch the error msg. Also modify the caller Signed-off-by: Cao jin --- hw/xen/xen-host-pci-device.c | 142 +-- hw/xen/xen-host-pci-device.h | 5 +- hw/xen/xen_pt.c | 13 ++-- 3 files changed, 80 insertions(+),

[Qemu-devel] [PATCH v5 1/5] Xen: use qemu_strtoul instead of strtol

2016-01-13 Thread Cao jin
No need to roll our own (with slightly incorrect handling of errno), when we can use the common version. Change signed parsing to unsigned, because what it read are values in PCI config space, which are non-negative. Signed-off-by: Cao jin ---

[Qemu-devel] [PATCH v5 3/5] Add Error **errp for xen_pt_setup_vga()

2016-01-13 Thread Cao jin
To catch the error msg. Also modify the caller Signed-off-by: Cao jin --- hw/xen/xen_pt.c | 7 +-- hw/xen/xen_pt.h | 3 ++- hw/xen/xen_pt_graphics.c | 11 ++- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git

[Qemu-devel] [PATCH v5 4/5] Add Error **errp for xen_pt_config_init()

2016-01-13 Thread Cao jin
To catch the error msg. Also modify the caller Signed-off-by: Cao jin --- hw/xen/xen_pt.c | 8 --- hw/xen/xen_pt.h | 2 +- hw/xen/xen_pt_config_init.c | 51 - 3 files changed, 33 insertions(+),

[Qemu-devel] [PATCH v5 5/5] Xen PCI passthru: convert to realize()

2016-01-13 Thread Cao jin
Signed-off-by: Cao jin --- hw/xen/xen_pt.c | 53 - 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index 9eef3df..d33221b 100644 --- a/hw/xen/xen_pt.c +++

[Qemu-devel] [PATCH v5 0/5] Xen PCI passthru: Convert to realize()

2016-01-13 Thread Cao jin
v5 changelog: 1. tweaked the commit message of patch 1/5 as sugguested. 2. xen_host_pci_sysfs_path() modification as sugguested. 3. remove local 'value' variable in xen_host_pci_get_value() 4. Indentation fix in patch 2/5. 5. Still use error_append_hint() because error_prepend() doesn`t exist.

Re: [Qemu-devel] [PATCH 3/6] virtio-gpu: fix memory leak in error path

2016-01-13 Thread Marc-André Lureau
Hi On Wed, Jan 13, 2016 at 1:02 PM, Gerd Hoffmann wrote: > Found by Coverity Scan, buf not freed on error. > > Signed-off-by: Gerd Hoffmann > --- Reviewed-by: Marc-André Lureau > hw/display/virtio-gpu-3d.c | 3 ++- > 1 file

Re: [Qemu-devel] [PATCH 1/1] blk: do not select PFLASH device for internal snapshot

2016-01-13 Thread Laszlo Ersek
On 01/13/16 12:11, Denis V. Lunev wrote: > On 01/13/2016 01:37 PM, Laszlo Ersek wrote: >> meta comment here: >> >> On 01/12/16 16:47, Denis V. Lunev wrote: >> >>> P.S. Here is a summary that my colleague has receiver from libvirt >>> list. >>> >>> Forwarded Message >>>

Re: [Qemu-devel] [PATCH 6/6] virtio-gpu: block any rendering until client (ui) is done

2016-01-13 Thread Marc-André Lureau
Hi On Wed, Jan 13, 2016 at 1:02 PM, Gerd Hoffmann wrote: > Wire up gl_block callback, so ui code can request to stop > virtio-gpu rendering. > > Signed-off-by: Gerd Hoffmann > --- > hw/display/virtio-gpu-3d.c | 5 + > hw/display/virtio-gpu.c

Re: [Qemu-devel] [PATCH 4/6] virtio-gpu: maintain command queue

2016-01-13 Thread Marc-André Lureau
Hi On Wed, Jan 13, 2016 at 1:02 PM, Gerd Hoffmann wrote: > We'll go take out the commands we receive out of the virt queue and put > them into a linked list, to decouple virtio queue handling from actual > command processing. > > Also move cmd processing to new

[Qemu-devel] [Bug 1490611] Re: Using qemu >=2.2.1 to convert raw->VHD (fixed) adds extra padding to the result file, which Microsoft Azure rejects as invalid

2016-01-13 Thread Stephen Kent
Which release contains this fix? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1490611 Title: Using qemu >=2.2.1 to convert raw->VHD (fixed) adds extra padding to the result file, which

Re: [Qemu-devel] [vfio-users] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode

2016-01-13 Thread sL1pKn07 SpinFlo
Today have notice the patch stop working on my VM input_linux_event_mouse: read: Resource temporarily unavailable input_linux_event_keyboard: read: Resource temporarily unavailable i only rebuild qemu (from Gerd Hoffmann's input-dev-event barnch) with some changes. this is my options:

[Qemu-devel] [PATCH] docs: Style the command and its options in the synopsis

2016-01-13 Thread Sitsofe Wheeler
Signed-off-by: Sitsofe Wheeler --- fsdev/virtfs-proxy-helper.texi | 2 +- qemu-doc.texi | 8 qemu-ga.texi | 2 +- qemu-img.texi | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git

Re: [Qemu-devel] [PATCH] i2c-tiny-usb: add new usb to i2c bridge

2016-01-13 Thread Peter Crosthwaite
On Wed, Jan 13, 2016 at 8:07 AM, Tim Sander wrote: > Hi > Am Donnerstag, 7. Januar 2016, 02:14:23 schrieb Peter Crosthwaite: >> Patch subject prefix should contain the version number. Use the >> --subject-prefix or -v options to git format-patch. > Ok, i will try to remember

[Qemu-devel] bug with io/channel-socket.c - variable-sized object may not be initialized

2016-01-13 Thread Programmingkid
This code causes an error to occur during compiling: char control[CMSG_SPACE(sizeof(int) * SOCKET_MAX_FDS)] = { 0 }; It is located at line 496 in io/channel-socket.c. Here is the full error message: io/channel-socket.c: In function 'qio_channel_socket_writev': io/channel-socket.c:496:18:

Re: [Qemu-devel] [PATCH V6 2/8] introduce aux-bus

2016-01-13 Thread Peter Crosthwaite
On Mon, Jan 4, 2016 at 10:25 AM, wrote: > From: KONRAD Frederic > > This introduces a new bus: aux-bus. > > It contains an address space for aux slaves devices and a bridge to an I2C bus > for I2C through AUX transactions. > > Signed-off-by:

Re: [Qemu-devel] [Qemu-block] [PATCH v1 10/15] qcow2: convert QCow2 to use QCryptoBlock for encryption

2016-01-13 Thread Kevin Wolf
Am 12.01.2016 um 19:56 hat Daniel P. Berrange geschrieben: > This converts the qcow2 driver to make use of the QCryptoBlock > APIs for encrypting image content. As well as continued support > for the legacy QCow2 encryption format, the appealing benefit > is that it enables support for the LUKS

[Qemu-devel] [PATCH] net: set endianness on all backend devices

2016-01-13 Thread Laurent Vivier
commit 5be7d9f1b1452613b95c6ba70b8d7ad3d0797991 vhost-net: tell tap backend about the vnet endianness makes vhost net to set the endianness of the device, but only for the first device. In case of multiqueue, we have multiple devices... This patch sets the endianness for all the devices

[Qemu-devel] [PATCH] linux-user/syscall.c: Let lv always match val in do_getsockopt()

2016-01-13 Thread chengang
From: Chen Gang After host_to_target_sock_type(), the length of val may be changed, so calculate the related lv, too. Signed-off-by: Chen Gang --- linux-user/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/syscall.c

Re: [Qemu-devel] [PATCH v2 0/2] qga: guest-set-user-password - added ability to create new user

2016-01-13 Thread Denis V. Lunev
On 01/06/2016 03:01 PM, Denis V. Lunev wrote: These patches add optional 'create' flag to guest-set-user-password command. When it is specified, a new user will be created if it does not exist yet. Since v1: - fixed english language mistakes in comments - json description now mentions 'create'

[Qemu-devel] [PATCH] intel_iommu: large page support

2016-01-13 Thread Jason Wang
Current intel_iommu only supports 4K page which may not be sufficient to cover guest working set. This patch tries to enable 2M and 1G mapping for intel_iommu. This is also useful for future device IOTLB implementation to have a better hit rate. Major work is adding a page mask field on IOTLB

Re: [Qemu-devel] [PATCH v4 00/11] simplify usage of tracepoints, and connect them to logging

2016-01-13 Thread Denis V. Lunev
On 01/07/2016 04:55 PM, Denis V. Lunev wrote: This series does three things: 1) add a "-trace [enable=]foo" option to enable one or more trace events, and a "-trace help" option to show the list of tracepoints (patches 4-5) 2) change the stderr tracing backend so that it prints to the -D log

Re: [Qemu-devel] [PATCH 1/5] block: added lock image option and callback

2016-01-13 Thread Denis V. Lunev
On 01/13/2016 07:44 PM, Eric Blake wrote: On 01/12/2016 05:10 PM, Fam Zheng wrote: If we will switch default in my patch from 'nolock' to 'lock' then pour guys which are calling qemu-img etc stuff will see the lock as necessary while 'proper management software' aka libvirt will be able to

[Qemu-devel] [PATCH] translate-all.c: Remove writable protection feature for tb_alloc_page()

2016-01-13 Thread chengang
From: Chen Gang Guest may allocate a readable, writable, and executable page, then write data on the page, and execute data as code on the page too, then write anther data still within the page. So remove this feature from linux-user: it not only consumes a little

[Qemu-devel] [Bug 1490611] Re: Using qemu >=2.2.1 to convert raw->VHD (fixed) adds extra padding to the result file, which Microsoft Azure rejects as invalid

2016-01-13 Thread willmo
Judging by their comments on bug 1399191, jan-wang1989 doesn't appear to be a QEMU developer. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1490611 Title: Using qemu >=2.2.1 to convert raw->VHD

Re: [Qemu-devel] [PATCH v1 08/15] block: add generic full disk encryption driver

2016-01-13 Thread Eric Blake
On 01/12/2016 11:56 AM, Daniel P. Berrange wrote: > Add a block driver that is capable of supporting any full disk > encryption format. This utilizes the previously added block > encryption code, and at this time supports the LUKS format. > > The driver code is capable of supporting any format

Re: [Qemu-devel] [PATCH v1 06/15] crypto: implement the LUKS block encryption format

2016-01-13 Thread Eric Blake
On 01/12/2016 11:56 AM, Daniel P. Berrange wrote: > Provide a block encryption implementation that follows the > LUKS/dm-crypt specification. > > This supports all combinations of hash, cipher algorithm, > cipher mode and iv generator that are implemented by the > current crypto layer. > > The

  1   2   3   >