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] Re: XEN - networking and performance

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: XEN - networking and performance
From: Andy Burns <xen.lists@xxxxxxxxxxx>
Date: Mon, 10 Oct 2011 21:13:39 +0100
Delivery-date: Mon, 10 Oct 2011 13:18:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=l50fOaEFrELzDrdSF/+AJi8arkA1peWYZfiIDEYUBQ8=; b=M/k7HTIamLFGSWFnR0iUz/N03AP95RlcDWkkMfr2E+Fo+VNXX/uG/T3fKlWUPPH8xN Zwtnpu0nnEf00IwMD4VMrAPz1TtlUB51E/oxaTkSMq7IK6lDvf19z5qtHsIYmLDUya8v n7yu/Oiv2dWP3bQuwzJ28ppnV6f+T1jRJ1AXI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAHsh07v=_Ju_hPQFqGm+UgCEJBSbm8_FX7P8pnnnUM7v_HV0Wg@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CAHsh07tm73Mb5VA6ye3uiwOVnhswbm-YUda=Ac139iOueavQMg@xxxxxxxxxxxxxx> <CAHsh07v=_Ju_hPQFqGm+UgCEJBSbm8_FX7P8pnnnUM7v_HV0Wg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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