From 457e05062863a35c7efb35470886b9b83a49d04d Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Mon, 17 Aug 2009 15:05:23 +0100 Subject: [PATCH] Fix thinko in PCI hostdev detach * src/qemu_driver.c: Add missing break statement in qemudDomainDetachHostDevice() --- src/qemu_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qemu_driver.c b/src/qemu_driver.c index 187497f953..048e1c0925 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -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"),