Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information