[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: [Xen-users] FLR Patch for 3.3.1



but there is an error at pci.py

File to patch: tools/python/xen/util/pci.py
patching file tools/python/xen/util/pci.py
Hunk #1 succeeded at 699 (offset 3 lines).
can't find file to patch at input line 17
Perhaps you should have used the -p or --strip option?



Carsten Schiers schrieb:
Hi,

if it's the one to use PCI devices in different pv domains, even if they are bound
to the same bridge, it's this one.

BR,
Carsten.

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:

-----Ursprüngliche Nachricht-----
Von: Velten Spägele [mailto:xen@xxxxxxxxx] Gesendet: Sonntag, 8. März 2009 10:22
An: Xen Users
Betreff: [Xen-users] FLR Patch for 3.3.1

Hi,

is there a actual Patch for FLR PCI Passtrought for 3.3.1 ?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.