]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/xen-co_assignment.patch
Updated xen patches taken from suse.
[people/pmueller/ipfire-2.x.git] / src / patches / xen-co_assignment.patch
diff --git a/src/patches/xen-co_assignment.patch b/src/patches/xen-co_assignment.patch
new file mode 100644 (file)
index 0000000..f0b59f0
--- /dev/null
@@ -0,0 +1,22 @@
+diff -r 6ab55f716ce3 tools/python/xen/util/pci.py
+--- a/tools/python/xen/util/pci.py  Thu Oct 09 17:18:11 2008 +0100
++++ b/tools/python/xen/util/pci.py  Fri Oct 10 13:16:00 2008 +0800
+@@ -696,6 +696,7 @@ class PciDevice:
+     def do_FLR(self):
+         """ Perform FLR (Functional Level Reset) for the device.
+         """
++        return
+         if self.dev_type == DEV_TYPE_PCIe_ENDPOINT:
+             # If PCIe device supports FLR, we use it.
+             if self.pcie_flr:
+diff -r 6ab55f716ce3 tools/python/xen/xend/server/pciif.py
+--- a/tools/python/xen/xend/server/pciif.py Thu Oct 09 17:18:11 2008 +0100
++++ b/tools/python/xen/xend/server/pciif.py Fri Oct 10 13:18:25 2008 +0800
+@@ -375,6 +375,7 @@ class PciController(DevController):
+             pci_dev_list = pci_dev_list + [(domain, bus, slot, func)]
+
+         for (domain, bus, slot, func) in pci_dev_list:
++            continue
+             try:
+                 dev = PciDevice(domain, bus, slot, func)
+             except Exception, e: