diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 170c9c8ca2c008bc0ace79476de7059bf9ac7b91..0f7cbad68d71bf5a12d9d468b7b0d0c27ad38703 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -4278,6 +4278,8 @@ static int qemudDomainDetachDevice(virDomainPtr dom, } else if (dev->data.disk->bus == VIR_DOMAIN_DISK_BUS_SCSI) { ret = qemuDomainDetachDiskDevice(driver, vm, dev, qemuCaps); + } else if (dev->data.disk->bus == VIR_DOMAIN_DISK_BUS_USB) { + ret = qemuDomainDetachDiskDevice(driver, vm, dev, qemuCaps); } else { qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",