Re: [Qemu-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Michael S. Tsirkin
On Mon, Jun 08, 2015 at 05:18:48PM -0400, Don Slutz wrote: changes v1 to v2: Split v1 patch into 3. Added a BUG FIX patch (#1: exec: Do not use MemoryRegion after free). Technically this bug fix should be a separate patch, however this issue only seems to reproduce when

Re: [Qemu-devel] [PATCH] block: record new size in bdrv_dirty_bitmap_truncate

2015-06-09 Thread Kevin Wolf
Am 08.06.2015 um 22:49 hat John Snow geschrieben: ce1ffea8 neglected to update the BdrvDirtyBitmap structure itself for internal consistency. It's currently not an issue, but for migration and persistence series this will cause headaches. Signed-off-by: John Snow js...@redhat.com I know

Re: [Qemu-devel] [PATCH] RFC: qxl: allow to specify head limit to qxl driver

2015-06-09 Thread Frediano Ziglio
2015-06-09 10:12 GMT+01:00 Gerd Hoffmann kra...@redhat.com: On Di, 2015-06-09 at 09:49 +0100, Frediano Ziglio wrote: This patch allow to limit number of heads using qxl driver. By default qxl driver is not limited on any kind on head use so can decide to use as much heads. There is a hard

Re: [Qemu-devel] [PATCH] raw-posix: Fix .bdrv_co_get_block_status() for unaligned image size

2015-06-09 Thread Kevin Wolf
Am 09.06.2015 um 11:47 hat Wen Congyang geschrieben: On 06/09/2015 04:55 PM, Kevin Wolf wrote: Image files with an unaligned image size have a final hole that starts at EOF, i.e. in the middle of a sector. Currently, *pnum == 0 is returned when checking the status of this sector. In

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: I would just patch OVMF to ignore the RSDT if there is an XSDT. Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI 2.0 bits via LoadTable? Hopefully XP does not BSOD if the invalid (for ACPI 1.0)

[Qemu-devel] [PATCH v6 0/1] balloon: add a feature bit to let Guest OS deflate

2015-06-09 Thread Denis V. Lunev
Excessive virtio_balloon inflation can cause invocation of OOM-killer, when Linux is under severe memory pressure. Various mechanisms are responsible for correct virtio_balloon memory management. Nevertheless it is often the case that these control tools does not have enough time to react on fast

Re: [Qemu-devel] [PATCH COLO-Frame v5 25/29] COLO: Add colo-set-checkpoint-period command

2015-06-09 Thread zhanghailiang
On 2015/6/9 16:01, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/6/6 2:45, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: With this command, we can control the period of checkpoint, if there is no

Re: [Qemu-devel] [PATCH] raw-posix: Fix .bdrv_co_get_block_status() for unaligned image size

2015-06-09 Thread Wen Congyang
On 06/09/2015 04:55 PM, Kevin Wolf wrote: Image files with an unaligned image size have a final hole that starts at EOF, i.e. in the middle of a sector. Currently, *pnum == 0 is returned when checking the status of this sector. In qemu-img, this triggers an assertion failure. In order to

Re: [Qemu-devel] [Spice-devel] [PATCH] RFC: qxl: allow to specify head limit to qxl driver

2015-06-09 Thread Daniel P. Berrange
On Tue, Jun 09, 2015 at 09:49:44AM +0100, Frediano Ziglio wrote: This patch allow to limit number of heads using qxl driver. By default qxl driver is not limited on any kind on head use so can decide to use as much heads. libvirt has this as a video card parameter (actually set to 1 but not

Re: [Qemu-devel] [PATCH RFC, Ping 0/3] Checkpoint-assisted migration proposal

2015-06-09 Thread Bohdan Trach
Ping. The patches are: http://patchwork.ozlabs.org/patch/462043/ http://patchwork.ozlabs.org/patch/462040/ http://patchwork.ozlabs.org/patch/462045/ Description: https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg01555.html

Re: [Qemu-devel] [PULL v2 0/9] Error reporting patches

2015-06-09 Thread Peter Maydell
On 9 June 2015 at 06:47, Markus Armbruster arm...@redhat.com wrote: The following changes since commit ee09f84e6bf5383a23c9624115c26b72aa1e076c: Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2015-06-08 15:57:41 +0100) are available in the git repository

Re: [Qemu-devel] [PATCH v2 0/5] virtio-test: Test case update

2015-06-09 Thread Stefan Hajnoczi
On Fri, Apr 24, 2015 at 07:35:15PM +0800, Fam Zheng wrote: v2: Fix CDB for WRITE SAME. [Paolo] Thanks to Marc Marí's work on libqos virtio support, it's now very easy to add a test case to drive a virtio-scsi device. The added test covers the recent fix for unaligned zero write in block

Re: [Qemu-devel] [Qemu-block] [PATCH v2 0/2] block: driver should override flags in bdrv_open()

2015-06-09 Thread Stefan Hajnoczi
On Tue, Jun 09, 2015 at 10:59:42AM +0200, Kevin Wolf wrote: Am 09.06.2015 um 10:41 hat Stefan Hajnoczi geschrieben: On Thu, Mar 19, 2015 at 6:53 PM, Max Reitz mre...@redhat.com wrote: BDRV_O_PROTOCOL is an internal qemu flag which a user should be able to override by explicitly specifying

Re: [Qemu-devel] [PATCH v2 1/2] tcg: Mask TCGMemOp appropriately for indexing

2015-06-09 Thread Yongbok Kim
On 08/06/2015 18:37, Richard Henderson wrote: The addition of MO_AMASK means that places that used inverted masks need to be changed to use positive masks, and places that failed to mask the intended bits need updating. Signed-off-by: Richard Henderson r...@twiddle.net Reviewed-by: Yongbok

Re: [Qemu-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Paul Durrant
-Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: 09 June 2015 10:13 To: Don Slutz Cc: qemu-devel@nongnu.org; xen-de...@lists.xen.org; Paul Durrant; Stefano Stabellini Subject: Re: [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges On

Re: [Qemu-devel] [RFC PATCH v0] numa: API to lookup NUMA node by address

2015-06-09 Thread Igor Mammedov
On Mon, 8 Jun 2015 12:51:39 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Mon, Jun 08, 2015 at 11:51:03AM +0200, Igor Mammedov wrote: On Mon, 8 Jun 2015 11:28:18 +0530 Bharata B Rao bhar...@linux.vnet.ibm.com wrote: On Mon, May 25, 2015 at 02:42:40PM -0300, Eduardo Habkost wrote:

Re: [Qemu-devel] [RFC PATCH] Use atomic cmpxchg to atomically check the exclusive value in a STREX

2015-06-09 Thread Mark Burton
On 9 Jun 2015, at 11:12, Alex Bennée alex.ben...@linaro.org wrote: fred.kon...@greensocs.com writes: From: KONRAD Frederic fred.kon...@greensocs.com This mechanism replaces the existing load/store exclusive mechanism which seems to be broken for multithread. It follows the

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Igor Mammedov
On Tue, 9 Jun 2015 08:35:38 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: I would just patch OVMF to ignore the RSDT if there is an XSDT. Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI 2.0

Re: [Qemu-devel] [PATCH] RFC: qxl: allow to specify head limit to qxl driver

2015-06-09 Thread Gerd Hoffmann
On Di, 2015-06-09 at 10:26 +0100, Frediano Ziglio wrote: 2015-06-09 10:12 GMT+01:00 Gerd Hoffmann kra...@redhat.com: On Di, 2015-06-09 at 09:49 +0100, Frediano Ziglio wrote: This patch allow to limit number of heads using qxl driver. By default qxl driver is not limited on any kind on head

Re: [Qemu-devel] [PATCH 2/2] hw/arm/virt-acpi-build: Add SPCR table

2015-06-09 Thread Andrew Jones
Hi Shannon, Thanks for the review. On Tue, Jun 09, 2015 at 10:54:44AM +0800, Shannon Zhao wrote: On 2015/6/8 22:00, Andrew Jones wrote: Signed-off-by: Andrew Jones drjo...@redhat.com --- hw/arm/virt-acpi-build.c | 44 +++- 1 file changed, 43

Re: [Qemu-devel] [PATCH] raw-posix: Fix .bdrv_co_get_block_status() for unaligned image size

2015-06-09 Thread Wen Congyang
On 06/09/2015 05:49 PM, Kevin Wolf wrote: Am 09.06.2015 um 11:47 hat Wen Congyang geschrieben: On 06/09/2015 04:55 PM, Kevin Wolf wrote: Image files with an unaligned image size have a final hole that starts at EOF, i.e. in the middle of a sector. Currently, *pnum == 0 is returned when

Re: [Qemu-devel] [RFC v2 3/6] memory: support unmapping of MemoryRegion mapped into HVA parent

2015-06-09 Thread Igor Mammedov
On Mon, 08 Jun 2015 19:06:39 +0200 Paolo Bonzini pbonz...@redhat.com wrote: On 08/06/2015 18:25, Michael S. Tsirkin wrote: issue is that we have to re-reserve HVA region first so no other allocation would claim gap and the only way I found was just to call mmap() on it which as

[Qemu-devel] [PATCH 1/1] balloon: add a feature bit to let Guest OS deflate balloon on oom

2015-06-09 Thread Denis V. Lunev
Excessive virtio_balloon inflation can cause invocation of OOM-killer, when Linux is under severe memory pressure. Various mechanisms are responsible for correct virtio_balloon memory management. Nevertheless it is often the case that these control tools does not have enough time to react on fast

Re: [Qemu-devel] [PATCH 1/2] fw_cfg: add fw_cfg_modify_i16 (update) method

2015-06-09 Thread Gerd Hoffmann
On Mo, 2015-06-08 at 14:26 -0400, Gabriel L. Somlo wrote: On Mon, Jun 08, 2015 at 02:10:44PM -0400, Gabriel L. Somlo wrote: Allow the ability to modify the value of an existing 16-bit integer fw_cfg item. Signed-off-by: Gabriel Somlo so...@cmu.edu --- Couple of thoughts:

[Qemu-devel] [PULL 1/4] virtio-ccw: add support for 9pfs

2015-06-09 Thread Christian Borntraeger
From: Pierre Morel pmo...@linux.vnet.ibm.com This patch adds 9pfs support for virtio-ccw by registering the virtio_ccw_9p_info type and adding associated callbacks. Signed-off-by: Pierre Morel pmo...@linux.vnet.ibm.com Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com ---

[Qemu-devel] [PULL 4/4] s390x/migration: add comment about floating point migration

2015-06-09 Thread Christian Borntraeger
commit 46c804def4bd (s390x: move fpu regs into a subsection of the vmstate) moved the fprs into a subsection and bumped the version number. This will allow to not transfer fprs in the future if necessary. Add a comment to mark the return true as intentional. CC: Juan Quintela quint...@redhat.com

[Qemu-devel] [PULL 2/4] virtio-ccw/migration: Migrate config vector for virtio devices

2015-06-09 Thread Christian Borntraeger
From: Jason J. Herne jjhe...@linux.vnet.ibm.com virtio_ccw_{save|load}_config are missing code to save and restore a vdev's config_vector value. This causes some virtio devices to become disabled following a migration. This patch fixes a bug whereby the qmp/hmp balloon command (virsh setmem)

[Qemu-devel] [PATCH] raw-posix: Fix .bdrv_co_get_block_status() for unaligned image size

2015-06-09 Thread Kevin Wolf
Image files with an unaligned image size have a final hole that starts at EOF, i.e. in the middle of a sector. Currently, *pnum == 0 is returned when checking the status of this sector. In qemu-img, this triggers an assertion failure. In order to fix this, one type for the sector that contains

Re: [Qemu-devel] [PATCH 0/2] target-i386: custom CPU model + script to dump existing CPU models

2015-06-09 Thread Daniel P. Berrange
On Mon, Jun 08, 2015 at 10:18:35PM +0200, Jiri Denemark wrote: On Mon, Jun 08, 2015 at 16:07:38 -0300, Eduardo Habkost wrote: ... libvirt can solve this problem partially by making sure every feature in a CPU model is explicitly configured, instead of (incorrectly) expecting that a

Re: [Qemu-devel] [Qemu-block] [PATCH v2 0/2] block: driver should override flags in bdrv_open()

2015-06-09 Thread Kevin Wolf
Am 09.06.2015 um 10:41 hat Stefan Hajnoczi geschrieben: On Thu, Mar 19, 2015 at 6:53 PM, Max Reitz mre...@redhat.com wrote: BDRV_O_PROTOCOL is an internal qemu flag which a user should be able to override by explicitly specifying a block driver. This series implements this and adds two

[Qemu-devel] [PATCH] hw/vfio/platform: calxeda xgmac device

2015-06-09 Thread Eric Auger
The platform device class has become abstract. This patch introduces a calxeda xgmac device that derives from it. Signed-off-by: Eric Auger eric.au...@linaro.org Reviewed-by: Alex Bennée alex.ben...@linaro.org --- v16 - v17: - properly attach vfio_platform_calxeda_xgmac_vmstate v15 - v16: -

Re: [Qemu-devel] [PATCH v2 1/3] cpu: Provide vcpu throttling interface

2015-06-09 Thread Dr. David Alan Gilbert
* Jason J. Herne (jjhe...@linux.vnet.ibm.com) wrote: On 06/03/2015 02:11 PM, Jason J. Herne wrote: On 06/03/2015 02:03 PM, Dr. David Alan Gilbert wrote: * Jason J. Herne (jjhe...@linux.vnet.ibm.com) wrote: On 06/03/2015 03:56 AM, Juan Quintela wrote: Jason J. Herne jjhe...@linux.vnet.ibm.com

[Qemu-devel] qapi: What does 'gen': false actually do, and when should I use it? (was: Adding new migration-parameters - any easier way?)

2015-06-09 Thread Markus Armbruster
Two parts: 1. what does it do, and 2. when to use it. Part 1: What does it do? qapi-code-gen.txt explains it thus: In rare cases, QAPI cannot express a type-safe representation of a corresponding Client JSON Protocol command. In these cases, if the command expression includes the

[Qemu-devel] [PULL 3/4] s390x/kvm: always ignore empty vcpu interrupt state

2015-06-09 Thread Christian Borntraeger
From: Sascha Silbe si...@linux.vnet.ibm.com kvm_s390_vcpu_interrupt_pre_save() and kvm_s390_vcpu_interrupt_post_load() are essentially no-ops on hosts without KVM_CAP_S390_IRQ_STATE. Move the capability check after the check for saved IRQ state in kvm_s390_vcpu_interrupt_post_load() so that

Re: [Qemu-devel] [Qemu-block] [PATCH v2 0/2] block: driver should override flags in bdrv_open()

2015-06-09 Thread Stefan Hajnoczi
On Thu, Mar 19, 2015 at 6:53 PM, Max Reitz mre...@redhat.com wrote: BDRV_O_PROTOCOL is an internal qemu flag which a user should be able to override by explicitly specifying a block driver. This series implements this and adds two iotests (one for NBD, one for file) to test it. v2 (rebase on

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: I would just patch OVMF to ignore the RSDT if there is an XSDT. Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI 2.0 bits via LoadTable? Hopefully XP does not BSOD if the invalid (for ACPI 1.0)

Re: [Qemu-devel] [PATCH] macio: remove nonexistent interrupt on pin 1

2015-06-09 Thread Alexander Graf
On 09.06.15 01:23, Cormac O'Brien wrote: The current macio device implementation declares an interrupt that doesn't seem to exist in the actual hardware or any other emulators. Mac OS 9 counts the presence of this interrupt as a fatal error and progresses further without it. This is only

Re: [Qemu-devel] [PATCH COLO-Frame v5 25/29] COLO: Add colo-set-checkpoint-period command

2015-06-09 Thread Dr. David Alan Gilbert
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/6/6 2:45, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: With this command, we can control the period of checkpoint, if there is no comparison of net packets. This should use the

Re: [Qemu-devel] [PATCH 0/2] fw_cfg: *prequel* to cleanup series

2015-06-09 Thread Gerd Hoffmann
On Mo, 2015-06-08 at 14:10 -0400, Gabriel L. Somlo wrote: The fw_cfg cleanup series exposed a memory leak occurring on ppc and sparc machine types. This series adds a safe fw_cfg integer-type update function (1/2), and modifies ppc and sparc callbacks to use it instead of the current leaky

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 09:41:20AM +0200, Laszlo Ersek wrote: On 06/09/15 08:38, Michael S. Tsirkin wrote: On Tue, Jun 09, 2015 at 08:35:38AM +0200, Michael S. Tsirkin wrote: On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: I would just patch OVMF to ignore the RSDT if there

[Qemu-devel] [PULL 0/4] s390x/virtio-ccw: migration and virtio for 2.4

2015-06-09 Thread Christian Borntraeger
-20150609 for you to fetch changes up to 6028ef075791913228c36f10cb270f1f52e9f076: s390x/migration: add comment about floating point migration (2015-06-09 09:54:57 +0200) s390x/virtio-ccw: migration and virtio for 2.4 1. Migration

Re: [Qemu-devel] QEMU's CVE Procedures

2015-06-09 Thread Daniel P. Berrange
On Tue, Jun 09, 2015 at 09:30:11AM +0800, Gonglei wrote: On 2015/6/8 21:07, Daniel P. Berrange wrote: On Mon, Jun 08, 2015 at 08:44:25PM +0800, Gonglei wrote: On 2015/6/6 6:16, John Snow wrote: (6) What about qemu-stable? Our stable process is somewhat lacking with respect to the CVE

Re: [Qemu-devel] iothread: release iothread around aio_poll causes random hangs at startup

2015-06-09 Thread Christian Borntraeger
Am 09.06.2015 um 04:28 schrieb Fam Zheng: On Tue, 06/02 16:36, Christian Borntraeger wrote: Paolo, I bisected commit a0710f7995f914e3044e5899bd8ff6c43c62f916 Author: Paolo Bonzini pbonz...@redhat.com AuthorDate: Fri Feb 20 17:26:52 2015 +0100 Commit: Kevin Wolf kw...@redhat.com

Re: [Qemu-devel] [PATCH v2 4/4] xen: Fix map/unmap of pcidev to ioreq server

2015-06-09 Thread Paul Durrant
-Original Message- From: Don Slutz [mailto:dsl...@verizon.com] Sent: 08 June 2015 22:19 To: qemu-devel@nongnu.org; xen-de...@lists.xen.org Cc: Michael S. Tsirkin; Paul Durrant; Stefano Stabellini; Don Slutz; Don Slutz Subject: [PATCH v2 4/4] xen: Fix map/unmap of pcidev to ioreq

Re: [Qemu-devel] [PATCH v2 2/4] Extend device listener interface for PCI to PCI bridges

2015-06-09 Thread Paul Durrant
-Original Message- From: Don Slutz [mailto:dsl...@verizon.com] Sent: 08 June 2015 22:19 To: qemu-devel@nongnu.org; xen-de...@lists.xen.org Cc: Michael S. Tsirkin; Paul Durrant; Stefano Stabellini; Don Slutz; Don Slutz Subject: [PATCH v2 2/4] Extend device listener interface for PCI

Re: [Qemu-devel] [RFC PATCH] Use atomic cmpxchg to atomically check the exclusive value in a STREX

2015-06-09 Thread Alex Bennée
fred.kon...@greensocs.com writes: From: KONRAD Frederic fred.kon...@greensocs.com This mechanism replaces the existing load/store exclusive mechanism which seems to be broken for multithread. It follows the intention of the existing mechanism and stores the target address and data

Re: [Qemu-devel] [PATCH] RFC: qxl: allow to specify head limit to qxl driver

2015-06-09 Thread Gerd Hoffmann
On Di, 2015-06-09 at 09:49 +0100, Frediano Ziglio wrote: This patch allow to limit number of heads using qxl driver. By default qxl driver is not limited on any kind on head use so can decide to use as much heads. There is a hard limit of 16 monitors in the qxl device ... Main question and

Re: [Qemu-devel] [PATCH v2] net: Add support of VIRTIO_NET_F_GUEST_ANNOUNCE for vhost-net/vhost-user

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 05:32:38PM +0200, Thibaut Collet wrote: 3. The easiest solution - nop .receive() The solution 3 is similar of my implementation and does not solve issue pointed by Jason: legacy guest do not send a gratuitous ARP. 2. Fail negotiation when

[Qemu-devel] [PULL 12/12] sdlaudio: do not allow multiple instances

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com Since SDL uses a lot of global data, we can't create independent instances of sdl audio backend. Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/sdlaudio.c | 7 +++ 1 file changed, 7

[Qemu-devel] [PULL 09/12] paaudio: fix possible resource leak

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com qpa_audio_init did not clean up resources properly if the initialization failed. This hopefully fixes it. Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/paaudio.c | 6 +- 1 file

[Qemu-devel] [PULL 10/12] dsoundaudio: do not use global variables

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/dsound_template.h | 18 audio/dsoundaudio.c | 106 2 files changed, 74

[Qemu-devel] [PULL 08/12] wavaudio: do not use global variables

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/wavaudio.c | 37 + 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/audio/wavaudio.c

Re: [Qemu-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Paul Durrant
-Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: 09 June 2015 11:52 To: Paul Durrant Cc: Don Slutz; qemu-devel@nongnu.org; xen-de...@lists.xen.org; Stefano Stabellini Subject: Re: [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges On

Re: [Qemu-devel] [PATCH 0/6] pci/isa: QOMify

2015-06-09 Thread Michael Tokarev
09.06.2015 04:34, Gonglei wrote: /mjt, what's your opinion? Thanks Somehow I thought it is a single patch, and tried to find it @patchwork. But it is a series of 6 patches (which I deleted from my inbox due to routine cleanup procedure). Gonglei (6): pci-assign: QOMify piix: piix3

Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?

2015-06-09 Thread Marc Zyngier
On 08/06/15 11:52, Peter Maydell wrote: On 8 June 2015 at 11:32, Igor Mammedov imamm...@redhat.com wrote: On Thu, 4 Jun 2015 18:17:39 +0100 Peter Maydell peter.mayd...@linaro.org wrote: On 4 June 2015 at 17:40, Shlomo Pongratz shlomopongr...@gmail.com wrote: In order for it to work correctly

Re: [Qemu-devel] [Spice-devel] [PATCH] RFC: qxl: allow to specify head limit to qxl driver

2015-06-09 Thread Christophe Fergeau
On Tue, Jun 09, 2015 at 10:50:48AM +0100, Daniel P. Berrange wrote: On Tue, Jun 09, 2015 at 09:49:44AM +0100, Frediano Ziglio wrote: This patch allow to limit number of heads using qxl driver. By default qxl driver is not limited on any kind on head use so can decide to use as much heads.

Re: [Qemu-devel] [PATCH 7/7] qdev-monitor: Propagate errors through qdev_device_add()

2015-06-09 Thread Eric Blake
On 06/09/2015 12:12 AM, Markus Armbruster wrote: if (!object_dynamic_cast(OBJECT(bus), dc-bus_type)) { -qerror_report(ERROR_CLASS_GENERIC_ERROR, - Device '%s' can't go on a %s bus, - driver,

Re: [Qemu-devel] [PATCH 0/2] ACPI: ARM: add SPCR table

2015-06-09 Thread Shannon Zhao
On 2015/6/8 22:00, Andrew Jones wrote: Adding this table allows the guest to boot without the console= parameter added to the kernel command line. And anyway, kernel doc Documentation/arm64/acpi_object_usage.txt says it's a required table for arm64. Andrew Jones (2): ACPI: Add

Re: [Qemu-devel] [PATCH 2/2] hw/arm/virt-acpi-build: Add SPCR table

2015-06-09 Thread Shannon Zhao
On 2015/6/8 22:00, Andrew Jones wrote: Signed-off-by: Andrew Jones drjo...@redhat.com --- hw/arm/virt-acpi-build.c | 44 +++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c index

Re: [Qemu-devel] [PATCH 0/6] pci/isa: QOMify

2015-06-09 Thread Michael Tokarev
09.06.2015 14:24, Gonglei wrote: On 2015/6/9 19:00, Michael Tokarev wrote: 09.06.2015 04:34, Gonglei wrote: /mjt, what's your opinion? Thanks Somehow I thought it is a single patch, and tried to find it @patchwork. But it is a series of 6 patches (which I deleted from my inbox due to

Re: [Qemu-devel] [Qemu-block] [PATCH v2 0/2] block: driver should override flags in bdrv_open()

2015-06-09 Thread Kevin Wolf
Am 09.06.2015 um 12:19 hat Stefan Hajnoczi geschrieben: On Tue, Jun 09, 2015 at 10:59:42AM +0200, Kevin Wolf wrote: Am 09.06.2015 um 10:41 hat Stefan Hajnoczi geschrieben: Please resend and CC Kevin (for qemu-iotests and block.c). It's only you who dropped me from CC. :-) For sanity,

[Qemu-devel] [PATCH v2 1/2] ACPI: Add definitions for the SPCR table

2015-06-09 Thread Andrew Jones
SPCR is the Serial Port Console Redirection table. See the document linked from http://uefi.org/acpi. For serial port types, Interface Type, see the documentation for the Debug Port Table 2 (DBG2). Signed-off-by: Andrew Jones drjo...@redhat.com Tested-by: Shannon Zhao shannon.z...@linaro.org ---

[Qemu-devel] [PATCH v2 0/2] ACPI: ARM: add SPCR table

2015-06-09 Thread Andrew Jones
Adding this table allows the guest to boot without the console= parameter added to the kernel command line. And anyway, kernel doc Documentation/arm64/acpi_object_usage.txt says it's a required table for arm64. v2: - checkpatch style fixes [Shannon] - table is revision 2, not 5 [Shannon] - use

Re: [Qemu-devel] [PATCH 1/1] balloon: add a feature bit to let Guest OS deflate balloon on oom

2015-06-09 Thread Christian Borntraeger
Am 09.06.2015 um 12:19 schrieb Denis V. Lunev: Excessive virtio_balloon inflation can cause invocation of OOM-killer, when Linux is under severe memory pressure. Various mechanisms are responsible for correct virtio_balloon memory management. Nevertheless it is often the case that these

Re: [Qemu-devel] openbios.git mirror on git.qemu.org

2015-06-09 Thread Stefan Hajnoczi
On Tue, May 19, 2015 at 09:55:12PM +0100, Peter Maydell wrote: On 19 May 2015 at 21:47, Mark Cave-Ayland mark.cave-ayl...@ilande.co.uk wrote: On 19/05/15 13:55, Andreas Färber wrote: Am 19.05.2015 um 12:42 schrieb Stefan Hajnoczi: Ping. Should we stick with an old mirror of OpenBIOS

Re: [Qemu-devel] [PATCH] pc: cleanup and convert TMP ACPI device description to AML API

2015-06-09 Thread Stefan Berger
Igor Mammedov imamm...@redhat.com wrote on 06/08/2015 11:31:53 PM: From: Igor Mammedov imamm...@redhat.com To: qemu-devel@nongnu.org Cc: m...@redhat.com, Stefan Berger/Watson/IBM@IBMUS Date: 06/08/2015 11:32 PM Subject: [PATCH] pc: cleanup and convert TMP ACPI device descriptionto AML API

[Qemu-devel] [PULL 11/12] coreaudio: do not use global variables where possible

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/coreaudio.c | 43 --- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git

[Qemu-devel] [PULL 04/12] audio: expose drv_opaque to init_out and init_in

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com Currently the opaque pointer returned by audio_driver's init is only exposed to the driver's fini, but not to audio_pcm_ops. This way if someone wants to share a variable with the driver and the pcm, he must use global variables. This patch fixes it by

[Qemu-devel] [PULL 03/12] audio: remove winwave audio driver

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com DirectSound should be a superior choice on Windows. Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/Makefile.objs | 1 - audio/audio_int.h| 1 - audio/winwaveaudio.c | 717

[Qemu-devel] [PATCH] MAINTAINERS: remove malc from audio

2015-06-09 Thread Gerd Hoffmann
email bounces, with a appearently permanent error: av1...@comtv.ru mail receiving disabled, rejecting Signed-off-by: Gerd Hoffmann kra...@redhat.com --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4ed8215..8a678ca 100644 --- a/MAINTAINERS +++

Re: [Qemu-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 09:18:49AM +, Paul Durrant wrote: -Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: 09 June 2015 10:13 To: Don Slutz Cc: qemu-devel@nongnu.org; xen-de...@lists.xen.org; Paul Durrant; Stefano Stabellini Subject: Re: [PATCH

Re: [Qemu-devel] [PATCH] raw-posix: Fix .bdrv_co_get_block_status() for unaligned image size

2015-06-09 Thread Eric Blake
On 06/09/2015 02:55 AM, Kevin Wolf wrote: Image files with an unaligned image size have a final hole that starts at EOF, i.e. in the middle of a sector. Currently, *pnum == 0 is returned when checking the status of this sector. In qemu-img, this triggers an assertion failure. In order to

Re: [Qemu-devel] Re-2: Strange problems with lseek in qemu-img map

2015-06-09 Thread Lukáš Czerner
On Sat, 6 Jun 2015, Wen Congyang wrote: Date: Sat, 06 Jun 2015 11:53:50 +0800 From: Wen Congyang ghost...@gmail.com To: Lukáš Czerner lczer...@redhat.com, Stefan Hajnoczi stefa...@gmail.com Cc: David Weber w...@munzinger.de, linux-e...@vger.kernel.org, qemu-devel@nongnu.org,

[Qemu-devel] [PULL 00/12] audio patch queue

2015-06-09 Thread Gerd Hoffmann
ee09f84e6bf5383a23c9624115c26b72aa1e076c: Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2015-06-08 15:57:41 +0100) are available in the git repository at: git://git.kraxel.org/qemu tags/pull-audio-20150609-1 for you to fetch changes up to f8e7403fb2b0f0d78fac7aef6cce8ce62c93bb0a: sdlaudio

[Qemu-devel] [PULL 01/12] audio: remove esd backend

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com ESD is no longer developed and replaced by PulseAudio. Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/Makefile.objs | 1 - audio/audio_int.h | 1 - audio/esdaudio.c| 557

[Qemu-devel] [PULL 07/12] ossaudio: do not use global variables

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/ossaudio.c | 110 ++- 1 file changed, 61 insertions(+), 49 deletions(-) diff --git

Re: [Qemu-devel] [PATCH RFC] migration: Re-implement 'migrate-set-parameters' to make it easily for extension

2015-06-09 Thread Eric Blake
On 06/09/2015 01:18 AM, zhanghailiang wrote: In the subject: s/easily/easier/ 'migrate-set-parameters' was specially used for setting the compression related parameters of migration. Here we re-implement it so that it can be easily extended when we want to add other parameters for

[Qemu-devel] [PULL 06/12] alsaaudio: do not use global variables

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/alsaaudio.c | 160 +- 1 file changed, 87 insertions(+), 73 deletions(-) diff --git

Re: [Qemu-devel] [PATCH 00/33] virtio 1.0 patch series rebased

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 12:32:42PM +0200, Gerd Hoffmann wrote: Hi, Light testing only so far, posting early nevertheless to parallelize testing efforts and speedup things a bit. Upgraded fedora guest from 21 to 22, running @ virtio-1.0 virtio-net and virtio-scsi devices. Ran smooth

Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?

2015-06-09 Thread Peter Maydell
On 9 June 2015 at 11:52, Marc Zyngier marc.zyng...@arm.com wrote: On 08/06/15 11:52, Peter Maydell wrote: On 8 June 2015 at 11:32, Igor Mammedov imamm...@redhat.com wrote: On Thu, 4 Jun 2015 18:17:39 +0100 Peter Maydell peter.mayd...@linaro.org wrote: On 4 June 2015 at 17:40, Shlomo Pongratz

Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?

2015-06-09 Thread Igor Mammedov
On Tue, 9 Jun 2015 12:24:13 +0100 Peter Maydell peter.mayd...@linaro.org wrote: On 9 June 2015 at 11:52, Marc Zyngier marc.zyng...@arm.com wrote: On 08/06/15 11:52, Peter Maydell wrote: On 8 June 2015 at 11:32, Igor Mammedov imamm...@redhat.com wrote: On Thu, 4 Jun 2015 18:17:39 +0100

Re: [Qemu-devel] [PATCH v2 2/2] tcg: Handle MO_AMASK in tcg_dump_ops

2015-06-09 Thread Yongbok Kim
On 08/06/2015 18:37, Richard Henderson wrote: Signed-off-by: Richard Henderson r...@twiddle.net --- Reviewed-by: Yongbok Kim yongbok@imgtec.com Tested-by: Yongbok Kim yongbok@imgtec.com Regards, Yongbok

Re: [Qemu-devel] [PATCH 00/33] virtio 1.0 patch series rebased

2015-06-09 Thread Gerd Hoffmann
Hi, Light testing only so far, posting early nevertheless to parallelize testing efforts and speedup things a bit. Upgraded fedora guest from 21 to 22, running @ virtio-1.0 virtio-net and virtio-scsi devices. Ran smooth ... cheers, Gerd

Re: [Qemu-devel] [PATCH 1/1] balloon: add a feature bit to let Guest OS deflate balloon on oom

2015-06-09 Thread Denis V. Lunev
On 09/06/15 13:19, Denis V. Lunev wrote: Excessive virtio_balloon inflation can cause invocation of OOM-killer, when Linux is under severe memory pressure. Various mechanisms are responsible for correct virtio_balloon memory management. Nevertheless it is often the case that these control tools

Re: [Qemu-devel] [PATCH v2] net: Add support of VIRTIO_NET_F_GUEST_ANNOUNCE for vhost-net/vhost-user

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 05:32:38PM +0200, Thibaut Collet wrote: 3. The easiest solution - nop .receive() The solution 3 is similar of my implementation and does not solve issue pointed by Jason: legacy guest do not send a gratuitous ARP. Yes, but it prints a warning so the user is aware

[Qemu-devel] [PULL 05/12] paaudio: do not use global variables

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/paaudio.c | 98 ++--- 1 file changed, 52 insertions(+), 46 deletions(-) diff --git

[Qemu-devel] [PULL 02/12] audio: remove fmod backend

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Kővágó, Zoltán dirty.ice...@gmail.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- audio/Makefile.objs | 2 - audio/audio_int.h | 1 - audio/fmodaudio.c | 685 configure

Re: [Qemu-devel] [PATCH 1/2] ACPI: Add definitions for the SPCR table

2015-06-09 Thread Shannon Zhao
Hi Andrew, Some minor comments below. Use scripts/checkpatch.pl before submitting. On 2015/6/8 22:00, Andrew Jones wrote: SPCR is the Serial Port Console Redirection table. See the document linked from http://uefi.org/acpi. For serial port types, Interface Type, see the documentation for the

Re: [Qemu-devel] [PATCH 0/6] pci/isa: QOMify

2015-06-09 Thread Gonglei
On 2015/6/9 19:00, Michael Tokarev wrote: 09.06.2015 04:34, Gonglei wrote: /mjt, what's your opinion? Thanks Somehow I thought it is a single patch, and tried to find it @patchwork. But it is a series of 6 patches (which I deleted from my inbox due to routine cleanup procedure). It's

Re: [Qemu-devel] [Qemu-block] [PATCH v2 0/2] block: driver should override flags in bdrv_open()

2015-06-09 Thread Eric Blake
On 06/09/2015 04:19 AM, Stefan Hajnoczi wrote: On Tue, Jun 09, 2015 at 10:59:42AM +0200, Kevin Wolf wrote: Am 09.06.2015 um 10:41 hat Stefan Hajnoczi geschrieben: On Thu, Mar 19, 2015 at 6:53 PM, Max Reitz mre...@redhat.com wrote: BDRV_O_PROTOCOL is an internal qemu flag which a user should be

Re: [Qemu-devel] [PATCH RFC] migration: Re-implement 'migrate-set-parameters' to make it easily for extension

2015-06-09 Thread zhanghailiang
On 2015/6/9 18:49, Eric Blake wrote: On 06/09/2015 01:18 AM, zhanghailiang wrote: In the subject: s/easily/easier/ 'migrate-set-parameters' was specially used for setting the compression related parameters of migration. Here we re-implement it so that it can be easily extended when we want

Re: [Qemu-devel] [PATCH 7/7] qdev-monitor: Propagate errors through qdev_device_add()

2015-06-09 Thread Markus Armbruster
Eric Blake ebl...@redhat.com writes: On 06/08/2015 12:57 PM, Markus Armbruster wrote: Signed-off-by: Markus Armbruster arm...@redhat.com --- include/monitor/qdev.h | 2 +- qdev-monitor.c | 36 +++- vl.c | 7 +-- 3 files

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Paolo Bonzini
I would just patch OVMF to ignore the RSDT if there is an XSDT. Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI 2.0 bits via LoadTable? Hopefully XP does not BSOD if the invalid (for ACPI 1.0) opcodes are in a Then block or in a separate method... Then you can use

Re: [Qemu-devel] [PATCH 5/7] qdev-monitor: Convert qbus_find() to Error

2015-06-09 Thread Markus Armbruster
Eric Blake ebl...@redhat.com writes: On 06/08/2015 12:57 PM, Markus Armbruster wrote: As usual, the conversion breaks printing explanatory messages after the error: actual printing of the error gets delayed, so the explanations precede rather than follow it. Pity. Disable them for now.

Re: [Qemu-devel] Adding new migration-parameters - any easier way?

2015-06-09 Thread Markus Armbruster
Dr. David Alan Gilbert dgilb...@redhat.com writes: * Markus Armbruster (arm...@redhat.com) wrote: Dr. David Alan Gilbert dgilb...@redhat.com writes: * Eric Blake (ebl...@redhat.com) wrote: On 06/05/2015 03:50 AM, Dr. David Alan Gilbert wrote: Hi, Is there any way that we could

Re: [Qemu-devel] [PATCH v2] memory_mapping: Rework cpu related includes

2015-06-09 Thread Peter Crosthwaite
On Mon, Jun 8, 2015 at 3:47 AM, Paolo Bonzini pbonz...@redhat.com wrote: On 07/06/2015 23:59, Peter Crosthwaite wrote: This makes it more consistent with all other core code files, which either just rely on qemu-common.h inclusion or precede cpu.h with qemu-common.h. cpu-all.h should not

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Laszlo Ersek
On 06/09/15 08:38, Michael S. Tsirkin wrote: On Tue, Jun 09, 2015 at 08:35:38AM +0200, Michael S. Tsirkin wrote: On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: I would just patch OVMF to ignore the RSDT if there is an XSDT. Alternatively, can you check for ACPI 2.0 support via

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: I would just patch OVMF to ignore the RSDT if there is an XSDT. Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI 2.0 bits via LoadTable? Hopefully XP does not BSOD if the invalid (for ACPI 1.0)

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 08:35:38AM +0200, Michael S. Tsirkin wrote: On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: I would just patch OVMF to ignore the RSDT if there is an XSDT. Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI 2.0 bits via

[Qemu-devel] [PATCH RFC] migration: Re-implement 'migrate-set-parameters' to make it easily for extension

2015-06-09 Thread zhanghailiang
'migrate-set-parameters' was specially used for setting the compression related parameters of migration. Here we re-implement it so that it can be easily extended when we want to add other parameters for migration. Signed-off-by: zhanghailiang zhang.zhanghaili...@huawei.com --- hmp.c

  1   2   3   >