On 07/22/2016 06:08 AM, Guido Günther wrote:
There is a drive_del in QEMU so we should use it.
Guido Günther (2):
qemu: attempt to delete disk when SCSI attach failed
qemu: attempt to delete disk when USB mass storage attach failed
src/qemu/qemu_hotplug.c | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
I already have some patches on list to handle SCSI and USB case, see:
http://www.redhat.com/archives/libvir-list/2016-July/msg00730.html
Although after Jan's USB address series, they may not git am -3 cleanly...
John