From: Simon Horman Subject: Re: 82576 VF passthrough Date: Fri, 25 Sep 2009 16:41:15 +1000 Message-ID: <20090925064115.GG22779@verge.net.au> References: <20090923232516.GB11263@verge.net.au> <43F901BD926A4E43B106BF17856F075582C556D7@orsmsx508.amr.corp.intel.com> <43F901BD926A4E43B106BF17856F075582C556EC@orsmsx508.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <43F901BD926A4E43B106BF17856F075582C556EC@orsmsx508.amr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Rose, Gregory V" Cc: "xen-devel@lists.xensource.com" , Satish Chowdhury List-Id: xen-devel@lists.xenproject.org On Thu, Sep 24, 2009 at 10:46:12PM -0700, Rose, Gregory V wrote: > I've only ever used HVMs. I can't say whether VF passthrough to a PV guest works or not but I can't think of any reason it wouldn't. Can you pass other devices through to this PV guest? If so then a VF should work also. Generally any guest that you can a physical device through will also work with a VF device. > > Next thing to consider is whether your BIOS supports SR-IOV. There are a lot of machines that have the necessary HW to support SR-IOV but the BIOS does not properly detect SR-IOV capable devices and program the upstream switches and bridges properly to make sure the I/O aperture is large enough to accommodate the extra VF devices when they are enabled by the driver. There are very few BIOS vendors shipping SR-IOV capable BIOS at the moment. If your machine does not have the right BIOS then there is a work around in the Xen 3.4 release that you can use. Or at least I think it's still there. > > pci=assign-mmio=0000:01 > > Try adding that to your kernel command line but substitute the domain/bus of your device. For instance if your Kawela is on bus 4 then you would change the command to pci=assign-mmio=0000:04. Hi, have tried pass-through with very similar hardware to Sanish, though only with HVM domains. The bios on my dc7800 does not seem to set up VT-d correctly and I found that the following boot parameter was required on order to allow the igb driver to create VFs. pci=assign-busses