mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +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) {
|
||||
case VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI:
|
||||
ret = qemudDomainDetachHostPciDevice(conn, vm, dev);
|
||||
break;
|
||||
default:
|
||||
qemudReportError(conn, dom, NULL, VIR_ERR_NO_SUPPORT,
|
||||
_("hostdev subsys type '%s' not supported"),
|
||||
|
Loading…
Reference in New Issue
Block a user