]> git.pld-linux.org Git - packages/xen.git/blame - xend-pci-loop.patch
EFI boot configuration files added
[packages/xen.git] / xend-pci-loop.patch
CommitLineData
f151cb77
JR
1# Don't crash due to weird PCI cards (Bug 767742)
2
3diff -r fb8dd4c67778 tools/python/xen/util/pci.py
4--- a/tools/python/xen/util/pci.py Tue Dec 13 14:16:20 2011 -0500
5+++ b/tools/python/xen/util/pci.py Wed Dec 14 15:46:56 2011 -0500
6@@ -1268,7 +1268,12 @@ class PciDevice:
7 pass
8
9 def get_info_from_sysfs(self):
10- self.find_capability(0x11)
11+ try:
12+ self.find_capability(0x11)
13+ except PciDeviceParseError, err:
14+ log.error("Caught '%s'" % err)
15+ return False
16+
17 sysfs_mnt = find_sysfs_mnt()
18 if sysfs_mnt == None:
19 return False
This page took 0.117508 seconds and 4 git commands to generate.