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/
Home Products Support Community News


[Xen-users] Problem passing an SR-IOV function to a PV domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem passing an SR-IOV function to a PV domU
From: Chris Reeves <chrisrco_08@xxxxxxxxx>
Date: Wed, 9 Jun 2010 14:20:15 -0700 (PDT)
Delivery-date: Wed, 09 Jun 2010 14:22:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1276118415; bh=G6ANm0etoKk/H6192j9ED+lW7jh1xwlgumPbzhzbS9E=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=T4zg2Ka+jLTbkSVC/DH22ohuba/1FWgbj6fwwuPRb3yas6YbqSDHX/+N+JhQEiz3CJ0JkuoBLHVUmso6soOuVHsl1Y8TMY+LiZFLLoE2EQSwM6592WewAQaPXAseQqIB3a2jgPZ0vwW68/eMd1YjFc/UfxaJ2DrnqU3R2zpZ2po=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=tadSUTA81GO6J0i801P+sW09yHw1oEy+qgfmYi2O/IcwMaoBGHUHLg39FzOnI73YRTcC4FvkVrT15euEJFilToaJcBcfE6LqhtSOFcaqa2MmTX9F1bxT9S0iXbFak4drt+0qGXAhXewITW9N483U0ILRlViPHwEtLQCozH63UE4=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have an intel 82576GB SR-IOV network card, and I'm trying to pass a function 
through to a PV domU.
Things seem to be going right, but the function I pass through never shows up 
in an lspci on the domU.

I'm successfully hiding the function in dom0, and it shows up in "xm 
I've tried assigning the function to my domU using both the xen config:
                (slot 0x10)
                (domain 0x0000)
                (key 0000:09:10.1)
                (bus 0x09)
                (vdevfn 0x100)
                (func 0x1)
                (uuid c8d37aaf-d175-4792-d67b-dd0bcf9526e8)
and simply doing a "xm pci-attach <domU> 0000:09:10.1"

In both cases, I get the message
[    1.001725] pcifront pci-0: Installing PCI frontend
[    1.001853] pcifront pci-0: Creating PCI Frontend Bus 0000:00
[    1.051244] pci-stub: invalid id string ""
in the domU dmesg
If I try to more than one function, and attach the second at runtime, I get the 
[  342.002602] pcifront pci-0: Rescanning PCI Frontend Bus 0000:00
in the domU.

However, I've never been able to see the function show up in lspci.

I can successfully pass through a non sriov network card and have it show up, 
so I know pci-passthrough is working.

I'm running opensuse for the dom0 and domU, kernel, and xen 
Can anyone shed some light on my situation?  Has anyone successfully 
accomplished this?
I've looked at all the messages and logs I can find, and can't find any more 
information about what happens when the pci device is attached.  Is there 
anything else I can do or look at to figure out what's happening?

Thanks in advance for any help,


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem passing an SR-IOV function to a PV domU, Chris Reeves <=