WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen <xen@xxxxxxxxx>
Subject: AW: Re: AW: [Xen-users] FLR Patch for 3.3.1
From: "Carsten Schiers" <carsten@xxxxxxxxxx>
Date: Thu, 12 Mar 2009 00:32:46 +0100
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 11 Mar 2009 16:33:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49B84822.7030201@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Sorry, but I do these two small changes manually normally. But you might 
be true that
You need to use -p1 or so. Not sure about the semantics. Although if 
first patch works,
I don't see any reason it would fail on the second...

GrC.

-----Ursprüngliche Nachricht-----
Von: Velten Spägele [mailto:xen@xxxxxxxxx] 
Gesendet: Donnerstag, 12. März 2009 00:24
An: Carsten Schiers
Cc: xen-users
Betreff: 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



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

<Prev in Thread] Current Thread [Next in Thread>