$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]" %