|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend, pciquirk: fix uninitialized variabl
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1263279416 0
# Node ID 5e1971bec8819c4ea55af24dfe8b30762e00965d
# Parent 91d1d06d658e959ad8a2ab5ed405f85832ffab60
xend, pciquirk: fix uninitialized variable
Fixes uninitialized variable when there's no
PERMISSIVE_CONFIG_FILE
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
tools/python/xen/xend/server/pciquirk.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 91d1d06d658e -r 5e1971bec881 tools/python/xen/xend/server/pciquirk.py
--- a/tools/python/xen/xend/server/pciquirk.py Tue Jan 12 06:55:24 2010 +0000
+++ b/tools/python/xen/xend/server/pciquirk.py Tue Jan 12 06:56:56 2010 +0000
@@ -117,14 +117,14 @@ class PCIQuirk:
pci_perm_dev_config = ['']
else:
pci_perm_dev_config.insert(0, '')
- self.pci_perm_dev_config = pci_perm_dev_config
except Exception, ex:
raise XendError("Reading config file %s: %s" %
(PERMISSIVE_CONFIG_FILE,str(ex)))
else:
log.info("Config file does not exist: %s" % PERMISSIVE_CONFIG_FILE)
- self.pci_perm_dev_config = ['xend-pci-perm-devs']
+ pci_perm_dev_config = ['xend-pci-perm-devs']
+ self.pci_perm_dev_config = pci_perm_dev_config
devices = child_at(child(self.pci_perm_dev_config,
'unconstrained_dev_ids'),0)
if self.__matchPCIdev( devices ):
_______________________________________________
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] xend, pciquirk: fix uninitialized variable,
Xen patchbot-unstable <=
|
|
|
|
|