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

Re: [Xen-users] PCIe NIC Passthrough



Hi Annie,

Did you already fix this issue? Do you have a pv driver on your HVM domU to connect to the backend driver in domU (with device assign)?
Could you try adding "pci=resource_alignment=03:00.0" before xen-pciback.hide option? Rebooting xen-server might help after updating the dom0 grub.


On Tue, May 24, 2011 at 11:22 AM, Annie Aryal <anniearyal@xxxxxxxxx> wrote:
Hi :

I am trying to do PCIe passthrough on HVM domu. I have window XP as a HVM domu and xen-4.0. dom0 and domU (without device assign) works fine.

I have more than one NIC card. I want to passthrough 03:00.0 to domu
here are the list of my nic cards:

lspci | grep -i eth
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
07:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection

Here is my grub:
menuentry 'Xen 4.0'{
        insmod ext2
        set root='(hd0,7)'
        multiboot       (hd0,7)/boot/xen-4.0.0-rc8.gz dom0_mem=2056M dummy=dummy xen-pciback.hide=(03:00.0)
        module  (hd0,7)/boot/vmlinuz-2.6.32.25 dummy=dummy root=UUID=045b2154-a6b3-45ed-8fce-61d3b0358808 ro nomodeset iommu=1
        module (hd0,7)/boot/initrd.img-2.6.32.25
}

And I added pci=['03:00.0'] on my domu.cfg

When I do xm pci-list  or xm pci-list-assignable-devices
It does not return anythings.

When I do xm create domu.cfg I get following error
Error: pci: PCI Backend and pci-stub don't own device 0000:03:00.0

Did I miss something somewhere?

Any help will be appreciated.


Annie



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



-s


_______________________________________________
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®.