Steve Higton
2006-Mar-19 14:38 UTC
[Xen-users] Hiding PCI Devices in Xen 3.0 under OpenSUSE 10.0
Hi all, I''m trying to set up a mythtv backend server under Xen 3.0 and would like to hide my TV tuners from dom0. lspci on dom0 shows the following: 00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02) 00:03.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to CSA Bridge (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) 01:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller (LOM) 02:01.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05) 02:01.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05) 02:01.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05) 02:03.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05) 02:03.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05) 02:03.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05) 02:05.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05) 02:05.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05) 02:05.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05) The PCI devices I want to hide are the Multimedia controller devices at the bottom of the list. The grub entry I''m using to boot the dom0 is: title XEN root (hd0,5) kernel /boot/xen.gz dom0_mem=262144 pciback.hide=(02:01.0)(02:01.2) (02:01.4)(02:03.0)(02:03.2)(02:03.4)(02:05.0)(02:05.2)(02:05.4) module /boot/vmlinuz-xen root=/dev/hda6 vga=0x317 selinux=0 resume=/dev/hda2 splash=silent showopts module /boot/initrd-xen However, no messages about hiding the PCI devices appear in the boot log and the PCI devices are still visible in dom0. Can anyone tell me if I''m doing anything wrong? I''m using the xen rpms as provided by Kurt Garloff, maybe the PCI backend options weren''t compiled into the kernel. How could I check that? Thanks in advance, Steve. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Markus Schuster
2006-Mar-20 20:10 UTC
[Xen-users] Re: Hiding PCI Devices in Xen 3.0 under OpenSUSE 10.0
Steve Higton schrieb:> I''m trying to set up a mythtv backend server under Xen 3.0 and would like to > hide my TV tuners from dom0. > [..] > title XEN > root (hd0,5) > kernel /boot/xen.gz dom0_mem=262144 pciback.hide=(02:01.0)(02:01.2) > (02:01.4)(02:03.0)(02:03.2)(02:03.4)(02:05.0)(02:05.2)(02:05.4) > module /boot/vmlinuz-xen root=/dev/hda6 vga=0x317 selinux=0 > resume=/dev/hda2 splash=silent showopts > module /boot/initrd-xen > [..] > Can anyone tell me if I''m doing anything wrong?First of all, you have to verify that the packages you use are based on XEN-unstable (I don''t know the packages you mentioned). Then you have to correct the grub boot entry to the following: title XEN root (hd0,5) kernel /boot/xen.gz dom0_mem=262144 module /boot/vmlinuz-xen root=/dev/hda6 vga=0x317 selinux=0 resume=/dev/hda2 splash=silent showopts pciback.hide=(02:01.0)(02:01.2) (02:01.4)(02:03.0)(02:03.2)(02:03.4)(02:05.0)(02:05.2)(02:05.4) module /boot/initrd-xen The pciback.hide is a Linux kernel parameter (not as in XEN 2.0.x). And don''t forget the matching pci = ... entry in the domU config file. That should do the job (at least for me here). Greetings, Markus _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users