提交 ff05b2c4 编写于 作者: V Vladislav Bogdanov 提交者: Cole Robinson

qemu: Do not ignore address for USB disks

(cherry picked from commit 8f708761)
上级 6ca56496
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册