From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Re: [DOM0 KERNELS] pciback: Fix SR-IOV VF passthrough Date: Mon, 1 Mar 2010 11:20:26 -0500 Message-ID: <20100301162026.GD7881@phenom.dumpdata.com> References: <4B8B91AF0200007800031C75@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4B8B91AF0200007800031C75@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Ian Pratt , Ian Campbell , yu.zhao@intel.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org On Mon, Mar 01, 2010 at 09:06:39AM +0000, Jan Beulich wrote: > >>> Keir Fraser 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 > > 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)