From 3f3d0944a1f515793e6b27f07b5c33caa98f798f Mon Sep 17 00:00:00 2001 From: Vladislav Bogdanov Date: Fri, 26 Oct 2012 09:09:21 +0000 Subject: [PATCH] qemu: Do not ignore address for USB disks (cherry picked from commit 8f708761c0d0e4eaf36bcb274d4f49fc3e0c3874) --- src/qemu/qemu_command.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 755f8278de..554a4d5232 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -2672,6 +2672,9 @@ qemuBuildDriveDevStr(virDomainDefPtr def, break; case VIR_DOMAIN_DISK_BUS_USB: virBufferAddLit(&opt, "usb-storage"); + + if (qemuBuildDeviceAddressStr(&opt, &disk->info, caps) < 0) + goto error; break; default: virReportError(VIR_ERR_INTERNAL_ERROR,