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] Passing an entire PCI device to the XEN Guest....

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Passing an entire PCI device to the XEN Guest....
From: "Ramesh Dhami (VA3UV)" <Ramesh@xxxxxxxxx>
Date: Tue, 08 Dec 2009 22:56:19 -0500
Delivery-date: Tue, 08 Dec 2009 19:56:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Organization: VA3UV
Reply-to: Ramesh@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
OK so instead of passing a USB device, I tried to pass the entire USB device.

Here's the device as seen on the HOST:

[root@VE3RSD-TEST ~]# lspci | grep USB
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
[root@VE3RSD-TEST ~]#



It's the last device 00:1d.7

So I attempted to hide it from the HOST by using pci.hideback in the kernel boot options in /boot/drub/menu.lst:

title CentOS (2.6.18-164.6.1.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-164.6.1.el5
module /vmlinuz-2.6.18-164.6.1.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb pciback.hide=(00:1d.7)
        module /initrd-2.6.18-164.6.1.el5xen.img


So once the HOST boots up, I can still see the device on the HOST.... what I am I doing wrong?

Secondly (consequently), when I try and start the guest VM, I get the following error:

Error: pci: PCI Backend does not own device 0000:00:1d.7
See the pciback.hide kernel command-line parameter or
bind your slot/device to the PCI backend using sysfs


(I have specified the PCI device in the config file for the guest VM).


Appreciate any help that I can get .... before I trash the idea of using a VM for my project!

Thx,

Ramesh.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Passing an entire PCI device to the XEN Guest...., Ramesh Dhami (VA3UV) <=