diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-08-18 16:07:13 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-08-29 16:01:48 +0100 |
| commit | 3255d1c21f364774390061fbc3b8e25c027cc862 (patch) | |
| tree | a03b99470af3b48cd5c249b7326211f86ce9eed9 /scripts/qapi-commands.py | |
| parent | 8ad4202bf61bc1d124ff26016cfe17cb261cc392 (diff) | |
| download | focaccia-qemu-3255d1c21f364774390061fbc3b8e25c027cc862.tar.gz focaccia-qemu-3255d1c21f364774390061fbc3b8e25c027cc862.zip | |
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>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions