From: Satish Chowdhury Subject: 82576 VF passthrough Date: Thu, 24 Sep 2009 00:26:25 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1295413987==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1295413987== Content-Type: multipart/alternative; boundary=001517741218bdf49d047443465e --001517741218bdf49d047443465e Content-Type: text/plain; charset=ISO-8859-1 Hi, I am trying to setup 82576 VF passthrough to pv domU non Vt-d machine . My dom0 is http://hg.vergenet.net/xen/linux-2.6.18-xen-igb/ kernel on FC11 and 3.4.1 Xen. My domU is also http://hg.vergenet.net/xen/linux-2.6.18-xen-igb/kernel on Ubuntu junty. Passthrough of PF device (igb driver) is successful in my setup. I could see the PF BDF on domU, and the igb driver gets loaded on domU. But, when I do passthrough of VF device, lspci output on DomU doesn't show the VF device.(CONFIG_XEN_PCIDEV_FRONTEND=y) The steps I follow on Dom0: #rmmod igb #modprobe igb max_vfs=1 #modprobe pciback #echo -n VF-BDF > /sys/bus/pci/drivers/pciback/new_slot #echo -n VF-BDF > /sys/bus/pci/drivers/pciback/bind On domU config file has pci = [' VF-BDF'] . The domU starts without any errors. #xm pci-list domU-ID shows the VF BDF Am i missing some thing of VF Passthrough? Please give me pointers to find/debug the issue. Regards, -Satish --001517741218bdf49d047443465e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I am trying to setup 82576 VF passthrough to pv domU non Vt-d ma= chine . My dom0 is http://hg.vergenet.net/xen/linux-2.6.18-xen-igb/= =A0 kernel on FC11 and 3.4.1 Xen.=A0 My domU is also http://hg.vergen= et.net/xen/linux-2.6.18-xen-igb/ kernel on Ubuntu junty.


Passthrough of PF device (igb driver) is successful in my setup. I = could see the PF BDF on domU, and the igb driver gets loaded on domU.
But, when I do passthrough of VF device, lspci output on DomU doesn't= show the VF device.(CONFIG_XEN_PCIDEV_FRONTEND=3Dy)

The steps I follow on Dom0:
=A0#rmmod igb
=A0#modprobe igb max_vf= s=3D1
=A0#modprobe pciback
=A0#echo -n VF-BDF > /sys/bus/pci/drive= rs/pciback/new_slot
=A0#echo -n VF-BDF > /sys/bus/pci/drivers/pciback= /bind
On domU config file has=A0 pci =3D [' VF-BDF'] .

The domU s= tarts without any errors.

#xm pci-list domU-ID
shows the VF BDF<= br>
Am i missing some thing of VF Passthrough? Please give me pointers t= o find/debug the issue.

Regards,
-Satish





--001517741218bdf49d047443465e-- --===============1295413987== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1295413987==--