Re: [Qemu-devel] [PATCH v3 for-2.6 3/5] virtio: Mark host notifiers as external

2016-05-09 Thread Paolo Bonzini
On 22/04/2016 15:53, Fam Zheng wrote: > The effect of this change is the block layer drained section can work, > for example when mirror job is being completed. > > Signed-off-by: Fam Zheng For 2.7 I think we should do something else: make non-dataplane virtio-{blk,scsi} use the same code path

Re: [Qemu-devel] [PATCH v3 for-2.6 3/5] virtio: Mark host notifiers as external

2016-05-01 Thread Michael S. Tsirkin
On Sun, May 01, 2016 at 11:15:10AM +0300, Michael S. Tsirkin wrote: > On Fri, Apr 22, 2016 at 09:53:54PM +0800, Fam Zheng wrote: > > The effect of this change is the block layer drained section can work, > > for example when mirror job is being completed. > > > > Signed-off-by: Fam Zheng > > Thi

[Qemu-devel] [PATCH v3 for-2.6 3/5] virtio: Mark host notifiers as external

2016-04-22 Thread Fam Zheng
The effect of this change is the block layer drained section can work, for example when mirror job is being completed. Signed-off-by: Fam Zheng --- hw/virtio/virtio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index fffa09f..30