• S
    virtio-blk: allow drive_del with dataplane · 3255d1c2
    Stefan Hajnoczi 提交于
    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: NStefan Hajnoczi <stefanha@redhat.com>
    3255d1c2
virtio-blk.c 9.6 KB