|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] VT-d: only scan secondary functions on mu
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1288371977 -3600
# Node ID 7afd8dd1d6cb97484d263311f3f0e6ab74d27ed3
# Parent 49803ac994f4094719ec2c3b67d82561a24ba293
VT-d: only scan secondary functions on multi-function devices
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
xen/drivers/passthrough/pci.c | 4 ++++
1 files changed, 4 insertions(+)
diff -r 49803ac994f4 -r 7afd8dd1d6cb xen/drivers/passthrough/pci.c
--- a/xen/drivers/passthrough/pci.c Fri Oct 29 18:05:50 2010 +0100
+++ b/xen/drivers/passthrough/pci.c Fri Oct 29 18:06:17 2010 +0100
@@ -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;
}
}
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] VT-d: only scan secondary functions on multi-function devices,
Xen patchbot-unstable <=
|
|
|
|
|