[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xend: PCIQuirk`__devIsUnconstrained refers to an undeclared variable if
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1234349134 0 # Node ID 1a786ec606e491895c8d2d2f0bdc3b880cbe60ff # Parent 1a2c446d79877bd84e74abdf2cfe1f39b3636cf4 xend: PCIQuirk`__devIsUnconstrained refers to an undeclared variable if /etc/xen/xend-pci-permissive.sxp doesn't exist. Signed-off-by: David Edmondson <dme@xxxxxxx> --- tools/python/xen/xend/server/pciquirk.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r 1a2c446d7987 -r 1a786ec606e4 tools/python/xen/xend/server/pciquirk.py --- a/tools/python/xen/xend/server/pciquirk.py Wed Feb 11 10:45:19 2009 +0000 +++ b/tools/python/xen/xend/server/pciquirk.py Wed Feb 11 10:45:34 2009 +0000 @@ -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) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |