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-devel

Re: [Xen-devel] Re: [DOM0 KERNELS] pciback: Fix SR-IOV VF passthrough

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [DOM0 KERNELS] pciback: Fix SR-IOV VF passthrough
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Mon, 1 Mar 2010 11:20:26 -0500
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, yu.zhao@xxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 01 Mar 2010 08:49:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B8B91AF0200007800031C75@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C7ADB49A.B801%keir.fraser@xxxxxxxxxxxxx> <4B8B91AF0200007800031C75@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.19 (2009-01-05)
On Mon, Mar 01, 2010 at 09:06:39AM +0000, Jan Beulich wrote:
> >>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 26.02.10 18:25 >>>
> >Vendor/device and BAR fields in a VF's host-level PCI config space are dummy
> >and must always be virtualised/emulated. Implement this in pciback by always
> >extracting the values installed in dom0 kernel's own PCI structures, rather
> >than interrogating the underlying PCI config space directly.
> >
> >AFAIK, this patch should apply to any kernel that implements pciback: That
> >includes pv_ops, SLES, and the XS/XCP kernels. It should be applied to all
> >of them. It is already applied to linux-2.6.18-xen.hg as 998:693c40564c8d.
> >
> >Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
> 
> Some parts of this we had been given by Intel, but some were also
> implemented differently there. I'm reproducing the patch below, and

Could attach it as an attachment? I get:

patching file drivers/xen/pciback/conf_space_header.c
patch: **** malformed patch at line 139: *data)

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