Ramesh Dhami (VA3UV)
2009-Dec-09 03:56 UTC
[Xen-users] Passing an entire PCI device to the XEN Guest....
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@lists.xensource.com http://lists.xensource.com/xen-users