Re: [Qemu-devel] [PATCH v4 3/6] virtio-blk: Call virtio_add_queue_aio

2016-07-13 Thread Cornelia Huck
On Wed, 13 Jul 2016 13:09:45 +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. Not sure whether you really need to refer to an upcoming patch: I think it is enough for the r

[Qemu-devel] [PATCH v4 3/6] virtio-blk: 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/block/virtio-blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/block/virtio-blk.c b/hw/block/