mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-02 11:05:22 +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>
|
Wido den Hollander <wido@widodh.nl>
|
||||||
Gene Czarcinski <gene@czarc.net>
|
Gene Czarcinski <gene@czarc.net>
|
||||||
Stefan Hajnoczi <stefanha@redhat.com>
|
Stefan Hajnoczi <stefanha@redhat.com>
|
||||||
|
Vladislav Bogdanov <bubble@hoster-ok.com>
|
||||||
|
|
||||||
[....send patches to get your name here....]
|
[....send patches to get your name here....]
|
||||||
|
|
||||||
|
@ -2398,6 +2398,9 @@ qemuBuildDriveDevStr(virDomainDefPtr def,
|
|||||||
break;
|
break;
|
||||||
case VIR_DOMAIN_DISK_BUS_USB:
|
case VIR_DOMAIN_DISK_BUS_USB:
|
||||||
virBufferAddLit(&opt, "usb-storage");
|
virBufferAddLit(&opt, "usb-storage");
|
||||||
|
|
||||||
|
if (qemuBuildDeviceAddressStr(&opt, &disk->info, qemuCaps) < 0)
|
||||||
|
goto error;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
qemuReportError(VIR_ERR_INTERNAL_ERROR,
|
qemuReportError(VIR_ERR_INTERNAL_ERROR,
|
||||||
|
Loading…
Reference in New Issue
Block a user