--- src/util/virhostdev.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/util/virhostdev.c b/src/util/virhostdev.c index 5be61cd..48a44bc 100644 --- a/src/util/virhostdev.c +++ b/src/util/virhostdev.c @@ -833,9 +833,10 @@ virHostdevReAttachPCIDevices(virHostdevManagerPtr hostdev_mgr, virPCIDeviceGetUsedBy(activeDev, &usedby_drvname, &usedby_domname); if (STRNEQ_NULLABLE(drv_name, usedby_drvname) || STRNEQ_NULLABLE(dom_name, usedby_domname)) { - virPCIDeviceListDel(pcidevs, dev); - continue; - } + + virPCIDeviceListDel(pcidevs, dev); + continue; + } } VIR_DEBUG("Removing PCI device %s from active list", -- 2.5.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list