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] SR-IOV function passthrough to a PV domU

To: Chris Reeves <chrisr@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] SR-IOV function passthrough to a PV domU
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Tue, 15 Jun 2010 17:28:32 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 16 Jun 2010 06:48:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1276636535.4079.49.camel@chrisr-laptop>
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: <1276636535.4079.49.camel@chrisr-laptop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-12-10)
On Tue, Jun 15, 2010 at 03:15:35PM -0600, Chris Reeves wrote:
> I'm trying to pass through an SR-IOV virtual function to a PV domU.
> The pci passthrough seems to work, but the virtual function never shows
> up on the pci bus of the domU.  All I see is a message stating:
> [  342.002602] pcifront pci-0: Rescanning PCI Frontend Bus 0000:00
> 
> I'm using kernel 2.6.31.12-0.1-xen from OpenSUSE on the dom0 and domU
> and Xen 4.0.  I've recompiled with the CONFIG_XEN_PCIDEV_FE_DEBUG option
> set, but I don't get any additional output when attaching the device.
> 
> Is it possible to use pci passthrough with SR-IOV virtual functions to a
> PV domU?

Yes. But your Dom0 kernel MUST be the updated PV-OPS version. You need
to get the latest pv-ops kernel. Details at:
http://wiki.xensource.com/xenwiki/XenParavirtOps

> 
> I noticed in this thread:
> http://lists.xensource.com/archives/html/xen-devel/2010-03/msg00082.html
> That someone mentioned a specific SR-IOV pcifront driver.
> Does anyone know where this driver may be available?

In the PV-OPS tree.
> 
> For what it's worth, I've also tried kernel 2.6.34 with the xen patches
> from http://code.google.com/p/gentoo-xen-kernel/downloads/list and I get
> the same results.

Yeah, no surprise. They don't have the fixes for Xen PCIBack working
with SR-IOV hardware.


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