diff --git a/AUTHORS b/AUTHORS index 6390df809c..c41615a1a1 100644 --- a/AUTHORS +++ b/AUTHORS @@ -243,6 +243,7 @@ Patches have also been contributed by: Wido den Hollander Gene Czarcinski Stefan Hajnoczi + Vladislav Bogdanov [....send patches to get your name here....] diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 1cdc6d27b6..b61fca38b2 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -2398,6 +2398,9 @@ qemuBuildDriveDevStr(virDomainDefPtr def, break; case VIR_DOMAIN_DISK_BUS_USB: virBufferAddLit(&opt, "usb-storage"); + + if (qemuBuildDeviceAddressStr(&opt, &disk->info, qemuCaps) < 0) + goto error; break; default: qemuReportError(VIR_ERR_INTERNAL_ERROR,