|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] VT-d: only scan secondary functions on multi-functio
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
--- a/xen/drivers/passthrough/pci.c
+++ b/xen/drivers/passthrough/pci.c
@@ -445,6 +445,10 @@ int __init scan_pci_devices(void)
spin_unlock(&pcidevs_lock);
return -EINVAL;
}
+
+ if ( !func && !(pci_conf_read8(bus, dev, func,
+ PCI_HEADER_TYPE) & 0x80) )
+ break;
}
}
}
pci-scan-single-func.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] VT-d: only scan secondary functions on multi-function devices,
Jan Beulich <=
|
|
|
|
|