Re: [Qemu-devel] [PATCH v4 4/6] virtio-scsi: Call virtio_add_queue_aio

2016-07-13 Thread Cornelia Huck
On Wed, 13 Jul 2016 13:09:46 +0800 Fam Zheng wrote: > AIO based handler is more appropriate here because it will then > cooperate with bdrv_drained_begin/end. It is needed by the coming > revert patch. > > Signed-off-by: Fam Zheng > --- > hw/scsi/virtio-scsi.c | 9 +++-- > 1 file changed,

[Qemu-devel] [PATCH v4 4/6] virtio-scsi: Call virtio_add_queue_aio

2016-07-12 Thread Fam Zheng
AIO based handler is more appropriate here because it will then cooperate with bdrv_drained_begin/end. It is needed by the coming revert patch. Signed-off-by: Fam Zheng --- hw/scsi/virtio-scsi.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hw/scsi/virtio-scsi.c b/