[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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 
pci-list-assignable-devices"
I've tried assigning the function to my domU using both the xen config:
...
            (dev
                (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 
message:
[  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 2.6.31.12-0.1-xen, and xen 
4.0.
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,
Chris


      

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.