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-users

Re: [Xen-users] PCIe NIC Passthrough

To: Annie Aryal <anniearyal@xxxxxxxxx>
Subject: Re: [Xen-users] PCIe NIC Passthrough
From: Sumedh Sakdeo <sumedhsakdeo@xxxxxxxxx>
Date: Tue, 12 Jul 2011 14:50:01 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 12 Jul 2011 14:51:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Lz3+KvKt86zPTQvdfA0H4kDyc3cvctZ8xRewe9GphHM=; b=vFZASzy0jMbwQoP9S1x1a6hZdeSIyNPXrdg/bgxFVE8YrWi1+IyzemSCn3WCXNlNzw OjhU0Uq7R15jv6L7p3O78LYUdIYxoKO8AykzvItz6PTw/EZS6Om4u+jjBDKmVfGn18hx +Fu0jXmewmG0+hSGTnEEfZfVffhN0vhOeVj54=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimVL5VsEYKqLPpdbNMS3qXqe7SbZg@xxxxxxxxxxxxxx>
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>
References: <BANLkTimVL5VsEYKqLPpdbNMS3qXqe7SbZg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] PCIe NIC Passthrough, Sumedh Sakdeo <=