--- src/qemu_driver.c.orig 2009-06-04 16:10:35.000000000 +0200 +++ src/qemu_driver.c 2009-06-04 16:10:50.000000000 +0200 @@ -1215,7 +1215,7 @@ static int qemuPrepareHostDevices(virCon if (hostdev->source.subsys.type != VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI) continue; - if (!hostdev->managed) { + if (hostdev->managed) { pciDevice *dev = pciGetDevice(conn, hostdev->source.subsys.u.pci.domain, hostdev->source.subsys.u.pci.bus,