mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: PCIQuirk`__devIsUnconstrained refers to an undeclared variable if
/etc/xen/xend-pci-permissive.sxp doesn't exist. Signed-off-by: David Edmondson <dme@sun.com>
This commit is contained in:
1 parent
8c091f8f56
commit
cef052b621
1 file changed
+2
-1
@@ -123,7 +123,8 @@ class PCIQuirk:
|
||||
log.info("Config file does not exist: %s" % PERMISSIVE_CONFIG_FILE)
|
||||
self.pci_perm_dev_config = ['xend-pci-perm-devs']
|
||||
|
||||
devices = child_at(child(pci_perm_dev_config, 'unconstrained_dev_ids'),0)
|
||||
devices = child_at(child(self.pci_perm_dev_config,
|
||||
'unconstrained_dev_ids'),0)
|
||||
if self.__matchPCIdev( devices ):
|
||||
log.debug("Permissive mode enabled for PCI device [%s]" %
|
||||
self.devid)
|
||||
|
||||