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

[Xen-users] Re: PCI e Passthrough

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: PCI e Passthrough
From: Mike Fröhner <mikefroehner@xxxxxx>
Date: Wed, 25 May 2011 11:35:19 +0200
Delivery-date: Wed, 25 May 2011 02:37:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BAY166-w31D6834D4CD11EE54DEA68F3750@xxxxxxx>
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: <BAY166-w31D6834D4CD11EE54DEA68F3750@xxxxxxx>
Reply-to: mikefroehner@xxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10
Hi,

I needed to add "... pciback.permissive pciback.hide=(00:1d.7) ... " to get it working, do u see the difference? Did u setup the right kernel config?

CONFIG_XEN_PCIDEV_BACKEND_PASS=y should be the right


,
Mike

Am 24.05.2011 23:21, schrieb Achala Aryal:

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.


*
*



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



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

<Prev in Thread] Current Thread [Next in Thread>