Re: [Qemu-devel] [RFC 04/13] virtio-blk: implement BlockDevOps->drain_threads_cb()

2013-06-14 Thread Paolo Bonzini
Il 14/06/2013 05:48, Stefan Hajnoczi ha scritto: > Drain and stop the dataplane thread when bdrv_drain_all() is called. > Note that the thread will be restarted in virtio_blk_handle_output() the > next time the guest kicks the virtqueue. Long term I still think we want to move towards aio_loc

[Qemu-devel] [RFC 04/13] virtio-blk: implement BlockDevOps->drain_threads_cb()

2013-06-14 Thread Stefan Hajnoczi
Drain and stop the dataplane thread when bdrv_drain_all() is called. Note that the thread will be restarted in virtio_blk_handle_output() the next time the guest kicks the virtqueue. Signed-off-by: Stefan Hajnoczi --- hw/block/virtio-blk.c | 12 1 file changed, 12 insertions(+) dif