qemu-e2k/hw/block/dataplane
Stefan Hajnoczi 3255d1c21f virtio-blk: allow drive_del with dataplane
Now that drive_del acquires the AioContext we can safely allow deleting
the drive.  As with non-dataplane mode, all I/Os submitted by the guest
after drive_del will return EIO.

This patch makes hot unplug work with virtio-blk dataplane.  Previously
drive_del reported an error because the device was busy.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-08-29 16:01:48 +01:00
..
Makefile.objs dataplane: delete IOQueue since it is no longer used 2014-06-04 09:56:12 +02:00
virtio-blk.c virtio-blk: allow drive_del with dataplane 2014-08-29 16:01:48 +01:00
virtio-blk.h virtio-blk-dataplane: Improve error reporting 2013-12-09 21:46:48 +01:00