blob: e8d09c587156c915a7a03c923fa97fdbbc89f156 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-dn,v 1.1 2009/03/05 19:43:32 bouyer Exp $
--- python/xen/xend/server/pciquirk.py.orig 2009-03-05 16:24:01.000000000 +0000
+++ python/xen/xend/server/pciquirk.py 2009-03-05 16:25:22.000000000 +0000
@@ -115,14 +115,14 @@
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(pci_perm_dev_config, 'unconstrained_dev_ids'),0)
if self.__matchPCIdev( devices ):
log.debug("Permissive mode enabled for PCI device [%s]" %
|