mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
qemu: Do not ignore address for USB disks
(cherry picked from commit 8f708761c0
)
This commit is contained in:
parent
6ca5649625
commit
ff05b2c4f9
1
AUTHORS
1
AUTHORS
@ -243,6 +243,7 @@ Patches have also been contributed by:
|
||||
Wido den Hollander <wido@widodh.nl>
|
||||
Gene Czarcinski <gene@czarc.net>
|
||||
Stefan Hajnoczi <stefanha@redhat.com>
|
||||
Vladislav Bogdanov <bubble@hoster-ok.com>
|
||||
|
||||
[....send patches to get your name here....]
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user