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(-)
--
2.8.1