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

Re: [Xen-users] CentOS/Xen PCI pass-through

To: <deshantm@xxxxxxxxx>, "Rob Greene" <robgreene@xxxxxxxxx>
Subject: Re: [Xen-users] CentOS/Xen PCI pass-through
From: "Phillip Bennett" <phillip@xxxxxxx>
Date: Tue, 22 Apr 2008 09:02:35 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 Apr 2008 01:03:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Midland Valley Exploration
References: <738584f80804202033r61e82daew6f512fcc9aa7b618@xxxxxxxxxxxxxx> <1e16a9ed0804211034x427e5bb8x912f9ac041602365@xxxxxxxxxxxxxx>
Reply-to: Phillip Bennett <phillip@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
----- Original Message -----
Sent: Monday, April 21, 2008 6:34 PM
Subject: Re: [Xen-users] CentOS/Xen PCI pass-through

Hi Rob,

On Sun, Apr 20, 2008 at 11:33 PM, Rob Greene <robgreene@xxxxxxxxx> wrote:
Is PCI pass-through available in the "standard" CentOS 5.1 kernel?  From the "xm info" command, I see the major.minor version of Xen is 3.1, so I'm assuming it is and that I'm missing something basic.

I've tried using "pciback.hide=(...)" in grub.conf, but after getting an error message about it not being valid, I realized that pciback is a module, so it's not available.

So, I tried it in /etc/modprobe.conf, but that apparently didn't work either.  I also tried this (http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_module?highlight=%28pci%29) and it seemed to work -- I at least got a message about the pciback grabbing the device.  I do, however, still see the device when I do a "lspci", but I'm not certain if that is normal or not.


This is normal, at least in my experience I have always seen the device in lspci. The seizing device line is one of the best ways to know that it worked.

 

I added the "pci = [ ... ]" in my Xen domU config file but am not seeing the device in lspci (which is totally empty), and am not sure what is up.  Since I don't have the "xm" commands in the domU, I'm not sure what to do.


Usually if you pass the pci device in the domU config file it will give an error if it isn't able to give it. Are you seeing any errors in any of the xen log files when you start that guest?

Cheers,
Todd

 

I'd like to pass in my video capture devices into a domU and get Myth or Sage running in one of my domU's.  Base OS is CentOS 5.1 x86_64 for sheer stability and patchability; that way the domU can be tweaked/upgraded/rebuilt without impacting anything else.

Any suggestions would be appreciated!
-Rob

_______________________________________________
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
 
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users