[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 --- hmp.c | 23 +++

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

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

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

[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 Reviewed-by: Alex Bennée --- v16 -> v17: - properly attach vfio_platform_calxeda_xgmac_vmstate v15 -> v16: - added Vikram's T-b v10 -> v11: - add Alex Re

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 t

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" wrote: > >

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 > > --- > > > > Couple of thoughts: > > > >

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 lea

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 i

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

2015-06-09 Thread Christian Borntraeger
From: Pierre Morel 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 Signed-off-by: Christian Borntraeger --- hw/s390x/virtio-ccw.c | 56 ++- hw/s3

[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 CC: David Hildenbr

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

2015-06-09 Thread Christian Borntraeger
From: "Jason J. Herne" 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) silently fails to update the

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

2015-06-09 Thread Christian Borntraeger
tags/s390x-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.

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

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

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

2015-06-09 Thread Christian Borntraeger
From: Sascha Silbe 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 migration between hosts withou

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 resp

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

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

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 >> AuthorDate: Fri Feb 20 17:26:52 2015 +0100 >> Commit: Kevin Wolf >> CommitDate: Tue Apr

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

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

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 > > 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 values during a load o

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

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

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 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 wrote: > > > > > On Mon, May 25, 2015 at 02:42:40PM -0300, Eduardo Habkost wrote: > > > > On Mon, May 25, 2015 at 01:

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 I know nothing about d

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

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

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 wrote: > > > fred.kon...@greensocs.com writes: > >> From: KONRAD Frederic >> >> This mechanism replaces the existing load/store exclusive mechanism which >> seems >> to be broken for multithread. >> It follows the intention of the existing mechanism an

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

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

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 q

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

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 > > --- > > hw/arm/virt-acpi-build.c | 44 +++- > > 1 file changed, 43 inserti

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 https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg02014.html

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

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 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 at: > > > gi

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

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 blo

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

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 comparison

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 wrote: > > > BDRV_O_PROTOCOL is an internal qemu flag which a user should be able to > > > override by explicitly specifying a block

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

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 Reviewed-by: Yongbok Kim I've o

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 > --- Reviewed-by: Yongbok Kim Tested-by: Yongbok Kim 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] 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 > To: Lukáš Czerner , Stefan Hajnoczi > Cc: David Weber , linux-e...@vger.kernel.org, > qemu-devel@nongnu.org, wenqing...@taobao.com > Subject: Re: [Qemu-devel] Re-2: Strange problems with ls

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 > 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 for QEMU 2.4 or > >

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 con

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 d

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 VIRTIO_NET_F_GUEST

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

2015-06-09 Thread Stefan Berger
Igor Mammedov wrote on 06/08/2015 11:31:53 PM: > From: Igor Mammedov > 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 > > remove some code duplication i

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 12/12] sdlaudio: do not allow multiple instances

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán 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 Signed-off-by: Gerd Hoffmann --- audio/sdlaudio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c

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

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán 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 Signed-off-by: Gerd Hoffmann --- audio/paaudio.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/audio/paaudio.

[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 Signed-off-by: Kővágó, Zoltán Signed-off-by: Gerd Hoffmann --- audio/coreaudio.c | 43 --- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/audio/coreaudio.c b/audio/coreaudio.c index 20346bc..6dfd63e 100644 --- a/audi

[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 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 adding a third paramete

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

2015-06-09 Thread Gerd Hoffmann
nce 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 at: git://git.kraxel.org/qemu tags/pull-audio-20150609-1 for you to fetch changes up to f8e7403fb2b0f0d78fac

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

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

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

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán Signed-off-by: Kővágó, Zoltán Signed-off-by: Gerd Hoffmann --- audio/ossaudio.c | 110 ++- 1 file changed, 61 insertions(+), 49 deletions(-) diff --git a/audio/ossaudio.c b/audio/ossaudio.c index 069ff60..d247969 100644

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

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán Signed-off-by: Kővágó, Zoltán Signed-off-by: Gerd Hoffmann --- audio/paaudio.c | 98 ++--- 1 file changed, 52 insertions(+), 46 deletions(-) diff --git a/audio/paaudio.c b/audio/paaudio.c index bdf6cd5..35e8887 100644 --

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

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán Signed-off-by: Kővágó, Zoltán Signed-off-by: Gerd Hoffmann --- audio/wavaudio.c | 37 + 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/audio/wavaudio.c b/audio/wavaudio.c index 09083da..c586020 100644 --- a/audio/wavaudi

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

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán Signed-off-by: Kővágó, Zoltán Signed-off-by: Gerd Hoffmann --- audio/dsound_template.h | 18 audio/dsoundaudio.c | 106 2 files changed, 74 insertions(+), 50 deletions(-) diff --git a/audio/dsound_template.h b

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

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 mig

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

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán Signed-off-by: Kővágó, Zoltán Signed-off-by: Gerd Hoffmann --- audio/alsaaudio.c | 160 +- 1 file changed, 87 insertions(+), 73 deletions(-) diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c index 87e71c6..d7e181b 10064

[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 --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4ed8215..8a678ca 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -

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

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

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

2015-06-09 Thread Gerd Hoffmann
From: Kővágó, Zoltán Signed-off-by: Kővágó, Zoltán Signed-off-by: Gerd Hoffmann --- audio/Makefile.objs | 2 - audio/audio_int.h | 1 - audio/fmodaudio.c | 685 configure | 27 +-- 4 files changed, 2 insertions(+), 713 del

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

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 wrote: >> On Thu, 4 Jun 2015 18:17:39 +0100 >> Peter Maydell wrote: >>> On 4 June 2015 at 17:40, Shlomo Pongratz wrote: >>> In order for it to work correctly we must use MPIDR values in >>> the device tree which m

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 QO

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

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

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

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 de

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 wrote: > On 08/06/15 11:52, Peter Maydell wrote: >> On 8 June 2015 at 11:32, Igor Mammedov wrote: >>> On Thu, 4 Jun 2015 18:17:39 +0100 >>> Peter Maydell wrote: On 4 June 2015 at 17:40, Shlomo Pongratz wrote: In order for it to work correctly we

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

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). > I

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

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. :-) > >

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

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 wrote: BDRV_O_PROTOCOL is an internal qemu flag which a user should be able to

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 to

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 wrote: > On 9 June 2015 at 11:52, Marc Zyngier wrote: > > On 08/06/15 11:52, Peter Maydell wrote: > >> On 8 June 2015 at 11:32, Igor Mammedov wrote: > >>> On Thu, 4 Jun 2015 18:17:39 +0100 > >>> Peter Maydell wrote: > On 4 June 2015 at 17:40

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

[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 Tested-by: Shannon Zhao --- include/hw/acpi/acpi-defs.h | 72 ++

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

2015-06-09 Thread Andrew Jones
Signed-off-by: Andrew Jones Tested-by: Shannon Zhao --- hw/arm/virt-acpi-build.c | 43 ++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c index a9373ccaca6cb..9adc0eaa1ac24 100644 --- a/hw/

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

2015-06-09 Thread Gonglei
On 2015/6/9 19:36, Michael Tokarev wrote: > 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 ser

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

2015-06-09 Thread Gonglei
On 2015/6/9 18:53, Gerd Hoffmann wrote: > email bounces, with a appearently permanent error: > "av1...@comtv.ru mail receiving disabled, rejecting" > > Signed-off-by: Gerd Hoffmann > --- > MAINTAINERS | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 4ed8

[Qemu-devel] [PULL v2 1/8] QemuOpts: increase number of vm_config_groups

2015-06-09 Thread Gerd Hoffmann
Adding the fw_cfg cmd line support patch by Gabriel L. Somlo hits the limit. Fix this by making the array larger. Cc: Gabriel L. Somlo Signed-off-by: Gerd Hoffmann --- util/qemu-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/qemu-config.c b/util/qemu-config.c

[Qemu-devel] [PULL v2 8/8] bios-tables-test: handle false-positive smbios signature matches

2015-06-09 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" It has been reported that sometimes the .rodata section of SeaBIOS, containing the constant string against which the SMBIOS signature ends up being compared, also falls within the guest f-segment. In that case, the test obviously fails, unless we continue searching for th

[Qemu-devel] [PULL v2 6/8] fw_cfg: prohibit insertion of duplicate fw_cfg file names

2015-06-09 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" Exit with an error (instead of simply logging a trace event) whenever the same fw_cfg file name is added multiple times via one of the fw_cfg_add_file[_callback]() host-side API calls. Signed-off-by: Gabriel Somlo Reviewed-by: Laszlo Ersek Signed-off-by: Gerd Hoffmann

  1   2   3   >