]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix thinko in PCI hostdev detach
authorMark McLoughlin <markmc@redhat.com>
Mon, 17 Aug 2009 14:05:23 +0000 (15:05 +0100)
committerMark McLoughlin <markmc@redhat.com>
Tue, 18 Aug 2009 08:41:57 +0000 (09:41 +0100)
* src/qemu_driver.c: Add missing break statement in
  qemudDomainDetachHostDevice()

src/qemu_driver.c

index 187497f953d5c44716a30f951bcdefe8f24cc353..048e1c0925c453d77fabacd00450d8cfcdbab920 100644 (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"),