|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] PCI passthru
On Mon, May 19, 2008 at 5:55 PM, Geoff Gibbs < geoff.gibbs@xxxxxxxxx> wrote:
I have been trying to get PCI passthru to work for a while now. I am running 3.3-unstable on Centos 5.1. I have a Intel XEON 5140 CPU, with the latest BIOS.
I would like to be able to pass the SAS raid controller from
dom0 to dumU.
Do I need to do anything special to domU? It is running Fedora core 4.
Is there any real documentation available on how to configure PCI passthru on both dom0 and dumU?
thanks,
-- Geoff Gibbs
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
I have centos as well and the pciback is a module ( hence not part of the booting kernel). You have to use late binding with pciback. These are the steps I took to hide an ethernet card from dom0.
Grub --> nothing to do here
/etc/modprobe.conf: options pciback hide=(0000:03:08.0) install e100 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install e100
--> only need the install line if your dom0 kernel has modules for the pci device.
Now boot the domU with a line in the config file : pci = [ '0000:03:08.0' ]
In some cases you may have to set the device to be permissive. In /sbin/lspci -vnn, get the device numbers: 03:08.0 0200: 8086:27dc (rev 01)
Subsystem: 1028:01ab Flags: bus master, medium devsel, latency 64, IRQ 21 Memory at efbff000 (32-bit, non-prefetchable) [size=4K] I/O ports at dcc0 [size=64] Capabilities: [dc] Power Management version 2
And then put them in xend-pci-permissive.sxp
(unconstrained_dev_ids ('8086:27dc:1028:01ab') )
Boot the domU and it should see the device.
Chris
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|