|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Exclusive allocation of network card
At 15:14 +0530 21/4/09, Fasiha Ashraf wrote:
I tried to find it but in vain... kindly send me the link or exact
location where it hs been discussed.
Apologies - I stand corrected. It came up very recently, but checking
the archives I see it's actually not quite so recent that it's been
answered. You can search the archives for pciback like this :
http://lists.xensource.com/archives/cgi-bin/namazu.cgi?query=pciback&submit=Search%21&idxname=xen-users&max=100&result=normal&sort=date%3Alate
It's also in the Xen handbook http://bits.xensource.com/Xen/docs/user.pdf.
In summary - you need to hide the device from your Dom0 by adding
pciback.hide to your boot config. This example is from one of my
servers where I've hidden an ethenet card and tv tuner :
title Xen 3.2-1-amd64 / Debian 2.6.18-6-xen-amd64 - Ext Eth hidden
root (hd0,0)
kernel /xen-3.2-1-amd64.gz dom0_mem=512M
module /vmlinuz-2.6.18-6-xen-amd64 root=/dev/sda3 ro
console=tty0 pciback.hide=(01:07.0)(01:06.0)
module /initrd.img-2.6.18-6-xen-amd64
Then in your guest config, you specify the device to be made
available to the guest :
pci=['01:07.0']
The address to use is found with lspci and MUST be entered in exactly
that format - eg 1:7:0 is not OK, 01:07:1 is OK.
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|