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

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: [Xen-devel] [DOM0 KERNELS] pciback: Fix SR-IOV VF passthrough
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 26 Feb 2010 17:25:45 +0000
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>
Delivery-date: Fri, 26 Feb 2010 09:26:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq3CLp/BU0RFTBT5UawBEpbUAMufQ==
Thread-topic: [DOM0 KERNELS] pciback: Fix SR-IOV VF passthrough
User-agent: Microsoft-Entourage/12.23.0.091001
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>

Attachment: 00-pciback
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>