[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: XEN - networking and performance



On 7 October 2011 19:17, fpt stl <fptstl@xxxxxxxxx> wrote:

> And on my networking question, does anybody have anything to comment? Maybe
> some successful pciback hide solutions for Centos 5.5...

On Centos5.x the pciback driver is a module rather than built into the
kernel, therefore you can't use pciback.hide on the kernel command
line

However you can manually bind the devices to pciback after the dom0 is
booted, then pass them to the domU e.g.

modprobe pciback passthrough=1

SLOTS=(0000:09:00.0 0000:09:01.0 0000:09:03.0)
for i in ${SLOTS[@]}; do
  echo -n $i > /sys/bus/pci/drivers/pciback/new_slot
  echo -n $i > /sys/bus/pci/drivers/pciback/bind
done

xm pci-list-assignable-devices

and then in your domU.cfg
pci = [ '09:00.0', '09:01.0', '09:03.0']


(I might be slightly mixing my Centos5.x and Fedora16 syntax above,
poke me if you can't get it working)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.