mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
Fix thinko in PCI hostdev detach
* src/qemu_driver.c: Add missing break statement in qemudDomainDetachHostDevice()
This commit is contained in:
parent
12edef9a6a
commit
457e050628
@ -5894,6 +5894,7 @@ static int qemudDomainDetachHostDevice(virConnectPtr conn,
|
|||||||
switch (hostdev->source.subsys.type) {
|
switch (hostdev->source.subsys.type) {
|
||||||
case VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI:
|
case VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI:
|
||||||
ret = qemudDomainDetachHostPciDevice(conn, vm, dev);
|
ret = qemudDomainDetachHostPciDevice(conn, vm, dev);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
qemudReportError(conn, dom, NULL, VIR_ERR_NO_SUPPORT,
|
qemudReportError(conn, dom, NULL, VIR_ERR_NO_SUPPORT,
|
||||||
_("hostdev subsys type '%s' not supported"),
|
_("hostdev subsys type '%s' not supported"),
|
||||||
|
Loading…
Reference in New Issue
Block a user