All of lore.kernel.org
 help / color / mirror / Atom feed
* SR-IOV VF Passthrough Issues
@ 2011-08-18  9:15 Kaushik Kumar Ram
  2011-08-18 14:42 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 4+ messages in thread
From: Kaushik Kumar Ram @ 2011-08-18  9:15 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1409 bytes --]

I am trying to passthrough a SR-IOV VF from an Intel 82599EB 10 GbE NIC to a PV Linux guest (v3.0.0-rc7). 
I am running a pvops dom0 Linux v2.6.32.44 (xen/stable-2.6.32.x branch). 

I followed the instructions on http://wiki.xensource.com/xenwiki/XenPCIpassthrough. But it just did not 
work. I got the following error when I tried loading the ixgbevf driver in the guest:

ixgbevf 0000:02:10.0: device not available (can't reserve [mem 0x00000000-0x00003fff 64bit])
ixgbevf: probe of 0000:02:10.0 failed with error -22

I am not well versed on how PCI devices are setup. But I added some debug statements and figured out 
that the device's memory regions were not initialized. I also found that passing the 'pci=resource_alignment=' 
argument to dom0 during boot was causing the memory regions to be released prior to starting the 
guests. So I just tried removed this particular argument and it worked!  Now I am able to successfully 
passthrough the VF to the guest.

So my question is whether the 'pci=resource_alignment=' argument really needed?

Also, when I start the guest I get the following libxl error:

libxl: error: libxl_pci.c:749:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:02:10.0

It seems harmless. But could this be related to the error above?

Please let me know if you need any other information.

Thanks.

--Kaushik

[-- Attachment #1.2: Type: text/html, Size: 1970 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-19  7:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-18  9:15 SR-IOV VF Passthrough Issues Kaushik Kumar Ram
2011-08-18 14:42 ` Konrad Rzeszutek Wilk
2011-08-18 21:14   ` Kaushik Kumar Ram
2011-08-19  7:42     ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.