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>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] SR-IOV function passthrough to a PV domU
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 15 Jun 2010 22:29:24 +0100
Cc: Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Tue, 15 Jun 2010 14:31:55 -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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsM0BPyoiCLDhk3ReuAKwddqgVvNAAAb8vM
Thread-topic: [Xen-devel] SR-IOV function passthrough to a PV domU
User-agent: Microsoft-Entourage/12.24.0.100205
The pciback driver in dom0 needs patching.

See http://xenbits.xensource.com/linux-2.6.18-xen.hg changeset 999, for
example. I would imagine some vendor kernels may be missing this, although I
thought Novell had it. Jan might be able to say (cc'ed).

 -- Keir

On 15/06/2010 22:15, "Chris Reeves" <chrisr@xxxxxxxxxxxxxxxx> 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?
> 
> 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?
> 
> 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.
> 
> Thanks,
> Chris
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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