[Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure

2015-09-24 Thread Christopher Covington
cpu_get_ticks() provides a common interface across targets for calculating CPU cycles. Using this fixes PMCCNTR reads when -icount is specified (previously a non-increasing value was returned). Signed-off-by: Christopher Covington --- target-arm/helper.c | 9 +++-- 1 file changed, 3 insertio

Re: [Qemu-devel] [PATCH v3 16/25] tcg: Merge cpu_gen_code into tb_gen_code

2015-09-24 Thread Aurelien Jarno
On 2015-09-22 13:24, Richard Henderson wrote: > As it's only caller, this tidies things a bit. > > Reviewed-by: Peter Maydell > Signed-off-by: Richard Henderson > --- > include/exec/exec-all.h | 2 - > translate-all.c | 131 > ++-- > 2 file

Re: [Qemu-devel] [PATCH v3 17/25] target-*: Drop cpu_gen_code define

2015-09-24 Thread Aurelien Jarno
On 2015-09-22 13:24, Richard Henderson wrote: > This symbol no longer exists. > > Reviewed-by: Peter Maydell > Signed-off-by: Richard Henderson > --- > target-alpha/cpu.h | 1 - > target-arm/cpu.h| 1 - > target-cris/cpu.h | 1 - > target-i386/cpu.h | 1 - > target-lm32

[Qemu-devel] [PULL v2] virtio,pc features, fixes

2015-09-24 Thread Michael S. Tsirkin
Same as v1 but 2 last patches dropped. Not reposting since patches left are the same. The following changes since commit fefa4b128de06cec6d513f00ee61e8208aed4a87: Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20150923.0' into staging (2015-09-23 21:39:46 +0100) are available

Re: [Qemu-devel] [PATCH v3 18/25] tcg: Add TCG_MAX_INSNS

2015-09-24 Thread Aurelien Jarno
On 2015-09-22 13:25, Richard Henderson wrote: > Adjust all translators to respect it. > > Reviewed-by: Peter Maydell > Signed-off-by: Richard Henderson > --- > target-alpha/translate.c | 3 +++ > target-arm/translate-a64.c| 3 +++ > target-arm/translate.c| 6 +- > target

[Qemu-devel] [PATCH v2 0/3] hw/vfio/platform: irqfd setup changes

2015-09-24 Thread Eric Auger
This series fixes a bug related to irqfd setup for edge sensitive IRQs and proposes a new startup sequence for irqfd signaling. The current startup sequence brings some issues with respect to the oncoming ARM IRQ forwarding support. The new startup sequence starts either irqfd signaling or eventfd

[Qemu-devel] [PATCH v2 2/3] hw/vfio/platform: change interrupt/unmask fields into pointer

2015-09-24 Thread Eric Auger
unmask EventNotifier might not be initialized in case of edge sensitive irq. Using EventNotifier pointers make life simpler to handle the edge-sensitive irqfd setup. Signed-off-by: Eric Auger --- hw/vfio/platform.c | 35 --- include/hw/vfio/vfio-platf

[Qemu-devel] [PATCH v2 3/3] hw/vfio/platform: do not set resamplefd for edge-sensitive IRQS

2015-09-24 Thread Eric Auger
In irqfd mode, current code attempts to set a resamplefd whatever the type of the IRQ. For an edge-sensitive IRQ this attempt fails and as a consequence, the whole irqfd setup fails and we fall back to the slow mode. This patch bypasses the resamplefd setting for non level-sentive IRQs. Signed-off

[Qemu-devel] [PATCH v2 1/3] hw/vfio/platform: irqfd setup sequence update

2015-09-24 Thread Eric Auger
With current implementation, eventfd VFIO signaling is first set up and then irqfd is setup, if supported and allowed. This start sequence causes several issues with IRQ forwarding setup which, if supported, is transparently attempted on irqfd setup: IRQ forwarding setup is likely to fail if the I

Re: [Qemu-devel] [PATCH v3 19/25] tcg: Pass data argument to restore_state_to_opc

2015-09-24 Thread Aurelien Jarno
On 2015-09-22 13:25, Richard Henderson wrote: > The gen_opc_* arrays are already redundant with the data stored in > the insn_start arguments. Transition restore_state_to_opc to use > data from the latter. > > Reviewed-by: Peter Maydell > Signed-off-by: Richard Henderson > --- > include/exec/e

[Qemu-devel] [PULL 0/5] Patch queue for w32/w64

2015-09-24 Thread Stefan Weil
The following changes since commit 9438fe9e56760e5e5e11d6c7d12ed9c64a0c8446: Merge remote-tracking branch 'remotes/elmarco/tags/rm-libcacard' into staging (2015-09-24 17:04:31 +0100) are available in the git repository at: git://qemu.weilnetz.de/qemu.git tags/pull-wxx-20150924

[Qemu-devel] [PULL 2/5] slirp: Fix non blocking connect for w32

2015-09-24 Thread Stefan Weil
Signed-off-by: Stefan Weil --- slirp/tcp_input.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/slirp/tcp_input.c b/slirp/tcp_input.c index f946db8..00a77b4 100644 --- a/slirp/tcp_input.c +++ b/slirp/tcp_input.c @@ -584,7 +584,13 @@ findso: goto cont_input;

[Qemu-devel] [PULL 1/5] nsis: Add QEMU version information to Windows registry

2015-09-24 Thread Stefan Weil
The uninstall keys include an option key "DisplayVersion" which we set now. By default the version value is read from file VERSION, but it is also possible to pass VERSION=#.#.# to make. Signed-off-by: Stefan Weil --- Makefile | 1 + qemu.nsi | 3 +++ 2 files changed, 4 insertions(+) diff --git

[Qemu-devel] [PULL 3/5] qemu-thread: add a fast path to the Win32 QemuEvent

2015-09-24 Thread Stefan Weil
From: Paolo Bonzini QemuEvents are used heavily by call_rcu. We do not want them to be slow, but the current implementation does a kernel call on every invocation of qemu_event_* and won't cut it. So, wrap a Win32 manual-reset event with a fast userspace path. The states and transitions are th

[Qemu-devel] [PULL 4/5] gtk: avoid redefining _WIN32_WINNT macro

2015-09-24 Thread Stefan Weil
From: "Daniel P. Berrange" When building for Mingw64 target on Fedora 22 a warning is issued about _WIN32_WINNT being redefined. In file included from ui/gtk.c:40:0: include/ui/gtk.h:5:0: warning: "_WIN32_WINNT" redefined # define _WIN32_WINNT 0x0601 /* needed to get definition of MAPVK_VK_TO_V

[Qemu-devel] [PULL 5/5] oslib-win32: only provide localtime_r/gmtime_r if missing

2015-09-24 Thread Stefan Weil
From: "Daniel P. Berrange" The oslib-win32 file currently provides a localtime_r and gmtime_r replacement unconditionally. Some versions of Mingw-w64 would provide crude macros for localtime_r/gmtime_r which QEMU takes care to disable. Latest versions of Mingw-w64 now provide actual functions for

Re: [Qemu-devel] [PATCH v3 18/25] tcg: Add TCG_MAX_INSNS

2015-09-24 Thread Richard Henderson
On 09/24/2015 01:02 PM, Aurelien Jarno wrote: >> @@ -2903,6 +2903,9 @@ static inline void >> gen_intermediate_code_internal(AlphaCPU *cpu, >> if (max_insns == 0) { >> max_insns = CF_COUNT_MASK; >> } > > I guess you can change also change the value to TCG_MAX_INSNS, though I > g

Re: [Qemu-devel] [PULL v2] virtio,pc features, fixes

2015-09-24 Thread Peter Maydell
On 24 September 2015 at 12:54, Michael S. Tsirkin wrote: > Same as v1 but 2 last patches dropped. > Not reposting since patches left are the same. > > The following changes since commit fefa4b128de06cec6d513f00ee61e8208aed4a87: > > Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-

Re: [Qemu-devel] [PULL v2] virtio,pc features, fixes

2015-09-24 Thread Peter Maydell
On 24 September 2015 at 14:08, Peter Maydell wrote: > On 24 September 2015 at 12:54, Michael S. Tsirkin wrote: >> Same as v1 but 2 last patches dropped. >> Not reposting since patches left are the same. >> >> The following changes since commit fefa4b128de06cec6d513f00ee61e8208aed4a87: >> >> Mer

[Qemu-devel] [Bug 1498144] Re: Failure booting hurd with qemu-system-i386 on ARM

2015-09-24 Thread PeteVine
Lastly, the machine 'power down' button doesn't work and a new message appeared inside hurd: 'kdb: queue full' -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1498144 Title: Failure booting hurd wi

[Qemu-devel] [Bug 1498144] Re: Failure booting hurd with qemu-system-i386 on ARM

2015-09-24 Thread PeteVine
Even though not related to the original issue (was also happening on i386 a few days ago), after getting to the login prompt inside hurd the keyboard doesn't work and the only clue from the kernel at boot time might be this: 'Unexpected ACK from keyboard' or this: '/bin/console: could not receiv

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

2015-09-24 Thread John Snow
This replaces the per-action property as in Fam's series. Instead, we have a transaction-wide property that is shared with each action. At the action level, if a property supplied transaction-wide is disagreeable, we return error and the transaction is aborted. RFC: Where this makes sense: Any t

Re: [Qemu-devel] [PATCH 1/3] virtio: introduce virtqueue_unmap_sg()

2015-09-24 Thread Andrew James
On 09/18/2015 02:01 AM, Jason Wang wrote: > Factor out sg unmapping logic. This will be reused by the patch that > can discard descriptor. > > Cc: Michael S. Tsirkin > Signed-off-by: Jason Wang > --- > hw/virtio/virtio.c | 15 ++- > 1 file changed, 10 insertions(+), 5 deletions(-) >

Re: [Qemu-devel] [PATCH v5 15/21] vhost user: add rarp sending after live migration for legacy guest

2015-09-24 Thread Marc-André Lureau
Hi - Original Message - > On Thu, Sep 24, 2015 at 6:22 PM, wrote: > > From: Thibaut Collet > > > > A new vhost user message is added to allow QEMU to ask to vhost user > > backend to > > broadcast a fake RARP after live migration for guest without GUEST_ANNOUNCE > > capability. > > > >

Re: [Qemu-devel] [PATCH] tilegx: Support raise instruction

2015-09-24 Thread Chen Gang
On 9/24/15 02:34, Richard Henderson wrote: > You forgot to cc qemu-devel. > Oh, we can not find it in qemu mail archive list. But I really cc qemu-devel. When I send the next patches, I'll notice about it, if still "can not cc qemu-devel", I shall try to send patches from my hotmail client. >

[Qemu-devel] Possible bug in target-i386/helper.c:do_cpu_init()?

2015-09-24 Thread Bill Paul
Consider the following circumstances: - An x86-64 multicore system is running with all cores set for long mode (EFER.LME and EFER.LMA set) - The OS decides to re-launch one of the AP CPUs using an INIT IPI According to the Intel architecture manual, an INIT IPI should reset the CPU state (with

Re: [Qemu-devel] [PATCH v4 2/2] spapr: generate DT node names

2015-09-24 Thread Gavin Shan
On Thu, Sep 24, 2015 at 12:27:39PM +0200, Laurent Vivier wrote: >When DT node names for PCI devices are generated by SLOF, >they are generated according to the type of the device >(for instance, ethernet for virtio-net-pci device). > >Node name for hotplugged devices is generated by QEMU. >This pat

Re: [Qemu-devel] [PULL 0/5] Patch queue for w32/w64

2015-09-24 Thread Peter Maydell
git repository at: > > git://qemu.weilnetz.de/qemu.git tags/pull-wxx-20150924 > > for you to fetch changes up to 4d9310f427b477a126f6f2006c3a73b9764948b6: > > oslib-win32: only provide localtime_r/gmtime_r if missing (2015-09-24 > 21:13:49 +0200) > > ---

Re: [Qemu-devel] [PATCH v8] hw/arm/virt: Add high MMIO PCI region, 512G in size

2015-09-24 Thread Peter Maydell
On 4 September 2015 at 00:13, Pavel Fedin wrote: > Peter Maydell wrote: >> Did you report the bug where the pci controller driver >> fails to start if the second region is out of its range >> to the kernel mailing list? (It would be nice to be able >> to point to a kernel patch in the changelog to

Re: [Qemu-devel] [PATCH v11 01/12] qmp: delete qemu opts when delete an object

2015-09-24 Thread Yang Hongyang
On 09/24/2015 07:35 PM, Markus Armbruster wrote: Yang Hongyang writes: On 09/24/2015 05:42 PM, Markus Armbruster wrote: Yang Hongyang writes: On 09/24/2015 03:43 PM, Markus Armbruster wrote: This has finally reached the front of my review queue. I apologize for the lng delay. Copy

Re: [Qemu-devel] [PATCH v11 01/12] qmp: delete qemu opts when delete an object

2015-09-24 Thread Yang Hongyang
On 09/24/2015 07:36 PM, Markus Armbruster wrote: Yang Hongyang writes: On 09/24/2015 05:42 PM, Markus Armbruster wrote: Yang Hongyang writes: On 09/24/2015 03:43 PM, Markus Armbruster wrote: This has finally reached the front of my review queue. I apologize for the lng delay. Copy

Re: [Qemu-devel] [PATCH v11 02/12] init/cleanup of netfilter object

2015-09-24 Thread Yang Hongyang
On 09/24/2015 07:40 PM, Markus Armbruster wrote: Yang Hongyang writes: On 09/24/2015 04:41 PM, Markus Armbruster wrote: Yang Hongyang writes: Add a netfilter object based on QOM. A netfilter is attached to a netdev, captures all network packets that pass through the netdev. When we dele

Re: [Qemu-devel] [PATCH 1/1] migration: fix deadlock

2015-09-24 Thread Wen Congyang
On 09/24/2015 08:53 PM, Denis V. Lunev wrote: > From: Igor Redko > > Release qemu global mutex before call synchronize_rcu(). > synchronize_rcu() waiting for all readers to finish their critical > sections. There is at least one critical section in which we try > to get QGM (critical section is i

Re: [Qemu-devel] [PULL 20/22] virtio: introduce virtqueue_unmap_sg()

2015-09-24 Thread Jason Wang
On 09/25/2015 02:58 AM, Michael S. Tsirkin wrote: > On Thu, Sep 24, 2015 at 04:21:02PM +0300, Michael S. Tsirkin wrote: >> From: Jason Wang >> >> Factor out sg unmapping logic. This will be reused by the patch that >> can discard descriptor. >> >> Cc: Michael S. Tsirkin >> Signed-off-by: Jason

Re: [Qemu-devel] [PATCH 1/3] virtio: introduce virtqueue_unmap_sg()

2015-09-24 Thread Jason Wang
On 09/25/2015 12:19 AM, Andrew James wrote: > On 09/18/2015 02:01 AM, Jason Wang wrote: >> > Factor out sg unmapping logic. This will be reused by the patch that >> > can discard descriptor. >> > >> > Cc: Michael S. Tsirkin >> > Signed-off-by: Jason Wang >> > --- >> > hw/virtio/virtio.c | 15

Re: [Qemu-devel] [PATCH V6 2/2] sdhci: Split sdhci.h for public and internal device usage

2015-09-24 Thread Peter Crosthwaite
On Wed, Sep 23, 2015 at 12:32 AM, Sai Pavan Boddu wrote: > Split sdhci.h into Pubilc version (i.e include/hw/sd/sdhci.h) and > Internal version (i.e hw/sd/sdhci-interna.h) based on register "internal". > declarations and object declaration. > > Signed-off-by: Sai Pavan Boddu > Reviewed-by: Alis

Re: [Qemu-devel] [PATCH V6 1/2] sd.h: Move sd.h to include/hw/sd/

2015-09-24 Thread Peter Crosthwaite
On Wed, Sep 23, 2015 at 12:32 AM, Sai Pavan Boddu wrote: > Create a sd directory under include/hw/ and move sd.h to same. > > Signed-off-by: Sai Pavan Boddu > Reviewed-by: Alistair Francis This probably needs more work for what the public API should be, but a step in the right direction for SoC

Re: [Qemu-devel] [PATCH V6 1/2] sd.h: Move sd.h to include/hw/sd/

2015-09-24 Thread Sai Pavan Boddu
> -Original Message- > From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > Sent: Friday, September 25, 2015 9:02 AM > To: Sai Pavan Boddu > Cc: qemu-devel@nongnu.org Developers; Peter Maydell; Alistair Francis; > Edgar Iglesias; Sai Pavan Boddu > Subject: Re: [PATCH V6 1/2] sd.h

Re: [Qemu-devel] [PATCH V6 2/2] sdhci: Split sdhci.h for public and internal device usage

2015-09-24 Thread Sai Pavan Boddu
> -Original Message- > From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > Sent: Friday, September 25, 2015 9:00 AM > To: Sai Pavan Boddu > Cc: qemu-devel@nongnu.org Developers; Peter Maydell; Alistair Francis; > Edgar Iglesias; Sai Pavan Boddu > Subject: Re: [PATCH V6 2/2] sdhc

[Qemu-devel] [PATCH v3] Add argument filters to the seccomp sandbox

2015-09-24 Thread Namsun Ch'o
Here's the v3 patch. I applied it and compiled QEMU, and it worked fine. Changes so far: v1 - Created argument filters for the madvise, shmget, and shmctl syscalls. v1 -> v2 - Added 5 new madvise flags which were present in the source code but not in the strace which I generated. - Added IP_

Re: [Qemu-devel] [PATCH v2] Add argument filters to the seccomp sandbox

2015-09-24 Thread Namsun Ch'o
>Can you point out which exact use case breaks if you don't whitelist the >below mentioned system calls' flags? It happens whenever I do -runas with the sandbox enabled, or chroot with the sandbox enabled. sh# qemu-system-x86_64 -m 2048 -enable-kvm -chroot /var/empty -sandbox on \ > -cdrom /tmp/d

[Qemu-devel] [PATCH V2 1/3] virtio: introduce virtqueue_unmap_sg()

2015-09-24 Thread Jason Wang
Factor out sg unmapping logic. This will be reused by the patch that can discard descriptor. Cc: Michael S. Tsirkin Cc: Andrew James Signed-off-by: Jason Wang --- Changes from V1: - Fix use of uninitialized var warning. --- hw/virtio/virtio.c | 14 ++ 1 file changed, 10 insertions(

[Qemu-devel] [PATCH V2 2/3] virtio: introduce virtqueue_discard()

2015-09-24 Thread Jason Wang
This patch introduces virtqueue_discard() to discard a descriptor and unmap the sgs. This will be used by the patch that will discard descriptor when packet is truncated. Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- hw/virtio/virtio.c | 7 +++ include/hw/virtio/virtio.h | 2

[Qemu-devel] [PATCH V2 3/3] virtio-net: correctly drop truncated packets

2015-09-24 Thread Jason Wang
When packet is truncated during receiving, we drop the packets but neither discard the descriptor nor add and signal used descriptor. This will lead several issues: - sg mappings are leaked - rx will be stalled if a lots of packets were truncated In order to be consistent with vhost, fix by disca

Re: [Qemu-devel] [PULL 6/7] vmxnet3: Drop net_vmxnet3_info.can_receive

2015-09-24 Thread Jason Wang
On 09/24/2015 07:19 PM, Shmulik Ladkani wrote: > Hi, > > On Thu, 3 Sep 2015 10:19:19 +0300, shmulik.ladk...@ravellosystems.com wrote: >> On Wed, 2 Sep 2015 17:14:52 +0100, stefa...@redhat.com wrote: >>> From: Fam Zheng >>> >>> Commit 6e99c63 ("net/socket: Drop net_socket_can_send") changed the

Re: [Qemu-devel] [PATCH 4/7] vfio: Record host IOMMU's available IO page sizes

2015-09-24 Thread David Gibson
On Thu, Sep 24, 2015 at 11:32:14AM -0600, Alex Williamson wrote: > On Thu, 2015-09-24 at 14:33 +1000, David Gibson wrote: > > Depending on the host IOMMU type we determine and record the available page > > sizes for IOMMU translation. We'll need this for other validation in > > future patches. > >

Re: [Qemu-devel] [PATCH 5/7] memory: Allow replay of IOMMU mapping notifications

2015-09-24 Thread David Gibson
On Thu, Sep 24, 2015 at 11:32:29AM -0600, Alex Williamson wrote: > On Thu, 2015-09-24 at 14:33 +1000, David Gibson wrote: > > When we have guest visible IOMMUs, we allow notifiers to be registered > > which will be informed of all changes to IOMMU mappings. This is used by > > vfio to keep the hos

Re: [Qemu-devel] [PATCH 1/7] vfio: Remove unneeded union from VFIOContainer

2015-09-24 Thread David Gibson
On Thu, Sep 24, 2015 at 10:01:55AM -0600, Alex Williamson wrote: > On Thu, 2015-09-24 at 14:33 +1000, David Gibson wrote: > > Currently the VFIOContainer iommu_data field contains a union with > > different information for different host iommu types. However: > >* It only actually contains inf

Re: [Qemu-devel] [PATCH 3/7] vfio: Check guest IOVA ranges against host IOMMU capabilities

2015-09-24 Thread David Gibson
On Thu, Sep 24, 2015 at 11:32:01AM -0600, Alex Williamson wrote: > On Thu, 2015-09-24 at 14:33 +1000, David Gibson wrote: > > The current vfio core code assumes that the host IOMMU is capable of > > mapping any IOVA the guest wants to use to where we need. However, real > > IOMMUs generally only s

Re: [Qemu-devel] [PATCH 5/7] memory: Allow replay of IOMMU mapping notifications

2015-09-24 Thread David Gibson
On Thu, Sep 24, 2015 at 06:08:59PM +0200, Laurent Vivier wrote: > > > On 24/09/2015 06:33, David Gibson wrote: > > When we have guest visible IOMMUs, we allow notifiers to be registered > > which will be informed of all changes to IOMMU mappings. This is used by > > vfio to keep the host IOMMU m

Re: [Qemu-devel] [v4][PATCH 0/2] libxl: try to support IGD passthrough for qemu upstream

2015-09-24 Thread Chen, Tiejun
Ping... Thanks Tiejun On 9/18/2015 4:30 PM, Tiejun Chen wrote: Ian, As we discussed previously, http://patchwork.ozlabs.org/patch/457055/ now it's time to push this into on xen/tools side since all qemu stuffs have been merged. https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg02094.

Re: [Qemu-devel] [PATCH v3 6/7] qdev: Protect device-list-properties against broken devices

2015-09-24 Thread Markus Armbruster
Eduardo Habkost writes: > On Thu, Sep 24, 2015 at 08:57:21PM +0200, Markus Armbruster wrote: > [...] >> diff --git a/hw/arm/allwinner-a10.c b/hw/arm/allwinner-a10.c >> index ff249af..7692090 100644 >> --- a/hw/arm/allwinner-a10.c >> +++ b/hw/arm/allwinner-a10.c >> @@ -103,6 +103,8 @@ static void

Re: [Qemu-devel] [PATCH 11/16] Add new block driver interfaces to control block replication

2015-09-24 Thread Wen Congyang
On 09/03/2015 12:33 AM, Eric Blake wrote: > On 09/02/2015 02:51 AM, Wen Congyang wrote: >> Signed-off-by: Wen Congyang >> Signed-off-by: zhanghailiang >> Signed-off-by: Gonglei >> Cc: Luiz Capitulino >> Cc: Michael Roth >> Reviewed-by: Paolo Bonzini >> --- >> block.c | 43 +

[Qemu-devel] [PATCH v10 01/10] allow writing to the backing file

2015-09-24 Thread Wen Congyang
For block replication, we have such backing chain: secondary disk <-- hidden disk <-- active disk secondary disk is top BDS(use bacing reference), so it can be opened in read-write mode. But hidden disk is read only, and we need to write to hidden disk(backup job will write data to it). TODO:

[Qemu-devel] [PATCH v10 02/10] Backup: clear all bitmap when doing block checkpoint

2015-09-24 Thread Wen Congyang
Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Reviewed-by: Jeff Cody --- block/backup.c | 14 ++ blockjob.c | 11 +++ include/block/blockjob.h | 12 3 files changed, 37 insertions(+) diff --git a/block/

[Qemu-devel] [PATCH v10 09/10] support replication driver in blockdev-add

2015-09-24 Thread Wen Congyang
Signed-off-by: Wen Congyang --- qapi/block-core.json | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/qapi/block-core.json b/qapi/block-core.json index d5a177b..0907a72 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -219,7 +219,7 @@ #

[Qemu-devel] [PATCH v10 04/10] block: make bdrv_put_ref_bh_schedule() as a public API

2015-09-24 Thread Wen Congyang
Signed-off-by: Wen Congyang --- block.c | 25 + blockdev.c| 37 ++--- include/block/block.h | 1 + 3 files changed, 32 insertions(+), 31 deletions(-) diff --git a/block.c b/block.c index 328c52f..f9a985c 100644 --

[Qemu-devel] [PATCH v10 00/10] Block replication for continuous checkpoints

2015-09-24 Thread Wen Congyang
Block replication is a very important feature which is used for continuous checkpoints(for example: COLO). You can 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 is bas

[Qemu-devel] [PATCH v10 10/10] Add a new API to start/stop replication, do checkpoint to all BDSes

2015-09-24 Thread Wen Congyang
Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei --- block.c | 83 +++ include/block/block.h | 4 +++ 2 files changed, 87 insertions(+) diff --git a/block.c b/block.c index 5cb916b..5891c4d 100644 ---

[Qemu-devel] [PATCH v10 03/10] Allow creating backup jobs when opening BDS

2015-09-24 Thread 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 Reviewed-by: Stefan Hajnoczi Reviewed-by: Jeff Cody --- block/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[Qemu-devel] [PATCH v10 07/10] quorum: implement block driver interfaces for block replication

2015-09-24 Thread Wen Congyang
Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Reviewed-by: Alberto Garcia --- block/quorum.c | 77 ++ 1 file changed, 77 insertions(+) diff --git a/block/quorum.c b/block/quorum.c index 111a57b..d647ab4

[Qemu-devel] [PATCH v10 06/10] Add new block driver interfaces to control block replication

2015-09-24 Thread Wen Congyang
Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei Cc: Luiz Capitulino Cc: Michael Roth Reviewed-by: Paolo Bonzini --- block.c | 43 +++ include/block/block.h | 5 + include/block/block_int.h | 14

[Qemu-devel] [PATCH v10 08/10] Implement new driver for block replication

2015-09-24 Thread Wen Congyang
Signed-off-by: Wen Congyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei --- block/Makefile.objs | 1 + block/replication.c | 471 2 files changed, 472 insertions(+) create mode 100644 block/replication.c diff --git a/block/Makefil

[Qemu-devel] [PATCH v10 05/10] docs: block replication's description

2015-09-24 Thread Wen Congyang
Signed-off-by: Wen Congyang Signed-off-by: Yang Hongyang Signed-off-by: zhanghailiang Signed-off-by: Gonglei --- docs/block-replication.txt | 259 + 1 file changed, 259 insertions(+) create mode 100644 docs/block-replication.txt diff --git a/docs/b

Re: [Qemu-devel] [PATCH v11 01/12] qmp: delete qemu opts when delete an object

2015-09-24 Thread Jason Wang
On 09/24/2015 04:35 PM, Yang Hongyang wrote: > On 09/24/2015 03:43 PM, Markus Armbruster wrote: >> This has finally reached the front of my review queue. I apologize for >> the lng delay. >> >> Copying Paolo for another pair of eyeballs (he wrote this code). >> > [...] >>> + >>> +opts =

[Qemu-devel] [PULL v3] virtio,pc features, fixes

2015-09-24 Thread Michael S. Tsirkin
Dropped the offending iommu patch. The following changes since commit fefa4b128de06cec6d513f00ee61e8208aed4a87: Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20150923.0' into staging (2015-09-23 21:39:46 +0100) are available in the git repository at: git://git.kernel.org/

Re: [Qemu-devel] [PULL 17/22] intel_iommu: Add support for translation for devices behind bridges

2015-09-24 Thread Michael S. Tsirkin
On Thu, Sep 24, 2015 at 04:20:53PM +0300, Michael S. Tsirkin wrote: > From: Knut Omang > > - Use a hash table indexed on bus pointers to store information about buses > instead of using the bus numbers. > Bus pointers are stored in a new VTDBus struct together with the vector > of device ad

Re: [Qemu-devel] [PATCH v11 02/12] init/cleanup of netfilter object

2015-09-24 Thread Jason Wang
On 09/24/2015 07:52 PM, Markus Armbruster wrote: > Yang Hongyang writes: > >> On 09/24/2015 04:41 PM, Markus Armbruster wrote: >>> Yang Hongyang writes: >>> Add a netfilter object based on QOM. A netfilter is attached to a netdev, captures all network packets that pass throu

<    1   2   3   4