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

[Xen-users] Passing an entire PCI device to the XEN Guest....


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.