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/
Home Products Support Community News


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

To: "Rob Greene" <robgreene@xxxxxxxxx>
Subject: Re: [Xen-users] CentOS/Xen PCI pass-through
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Mon, 21 Apr 2008 13:34:55 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Apr 2008 10:35:44 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=ZF7zYoTZg2O/qXrGI0EmJjcqQ+Mt6q2Zw8TvjtWvn64=; b=dqwfeFhL8rKiV+auB7sOQIWhl8Qwe3k5Q8BYkoOYRL09QrWJVLX5iGG2Eetes/Kco99zQtsgETl6MR5kIGvLxhoXOGOhnn1rQanScTBV6N2TmmDi1aWOFzuf611TDuHvr+GMo/MEChMZU/W9ZjhBsNk/kpI085hxghG8gtb+aVQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DZhCAOz9hwNHvfn3usB0bMvzNSgwcJRsPvxUws1nIZ7w6t9TqVrXKPSZ6D1tFDj1jLzxjiIr2dJL4BaZn2lqfTPruWzvVTgpZzoepp5p/yD+Lo75JxS35KR9iyRHX+LQEHWPl0DaPXyGQRHGZ3AGpCwpIwfEdAS20pCEbCoK6xA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <738584f80804202033r61e82daew6f512fcc9aa7b618@xxxxxxxxxxxxxx>
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>
References: <738584f80804202033r61e82daew6f512fcc9aa7b618@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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?



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!

Xen-users mailing list

Xen-users mailing list