Fix thinko in PCI hostdev detach

* src/qemu_driver.c: Add missing break statement in
  qemudDomainDetachHostDevice()
This commit is contained in:
Mark McLoughlin 2009-08-17 15:05:23 +01:00
parent 12edef9a6a
commit 457e050628

View File

@ -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"),