提交 0e29f711 编写于 作者: W Wen Congyang 提交者: Eric Blake

support to detach USB disk

Signed-off-by: NWen Congyang <wency@cn.fujitsu.com>
上级 8f338032
......@@ -4278,6 +4278,8 @@ static int qemudDomainDetachDevice(virDomainPtr dom,
}
else if (dev->data.disk->bus == VIR_DOMAIN_DISK_BUS_SCSI) {
ret = qemuDomainDetachDiskDevice(driver, vm, dev, qemuCaps);
} else if (dev->data.disk->bus == VIR_DOMAIN_DISK_BUS_USB) {
ret = qemuDomainDetachDiskDevice(driver, vm, dev, qemuCaps);
}
else {
qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册