From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [Xen-devel] RE: SR-IOV for pv_ops dom0 Date: Mon, 28 Sep 2009 11:51:55 +0300 Message-ID: <20090928085155.GB1434@reaktio.net> References: <20090728022141.GA8984@verge.net.au> <715D42877B251141A38726ABF5CABF2C05481C2147@pdsmsx503.ccr.corp.intel.com> <20090926110605.GW31123@reaktio.net> <20090927030238.GD27213@ub-qhe2> <20090927094738.GA31123@reaktio.net> <20090928085107.GA25960@ub-qhe2> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <20090928085107.GA25960@ub-qhe2> Sender: linux-pci-owner@vger.kernel.org To: Qing He Cc: "Han, Weidong" , "'linux-pci@vger.kernel.org'" , 'Simon Horman' , "'xen-devel@lists.xensource.com'" List-Id: xen-devel@lists.xenproject.org On Mon, Sep 28, 2009 at 04:51:07PM +0800, Qing He wrote: > On Sun, 2009-09-27 at 17:47 +0800, Pasi K=E4rkk=E4inen wrote: > > On Sun, Sep 27, 2009 at 11:02:38AM +0800, Qing He wrote: > > > On Sat, 2009-09-26 at 19:06 +0800, Pasi K=E4rkk=E4inen wrote: > > > > Hello, > > > >=20 > > > > Is pv_ops dom0 (xen/master) currently ready for SR-IOV, or are > > > > additional patches still needed?=20 > > > >=20 > > >=20 > > > VFs can be created and assigned to HVM domains, we've tested that= =2E But > > > assigning VFs to PV domains doesn't work since the support isn't > > > complete (at least MSI, I'm not sure about the status of INTx dev= ice). > > >=20 > >=20 > > Ok. Do you know if anyone is working on adding those missing bits?=20 > > Is it missing only from domU kernel, or also from Xen hypervisor PV= code? >=20 > Hypervisor has the proper code, and old 2.6.18 based domU works well. > It's just pv_ops based domU lacking this feature. Traditionally, domU > doesn't have sufficient privilege but relies on dom0 to do certain > things, this kind of delegation requires some special handling and > is still subjected to more thinking. > Ok. So if I use linux-2.6.18-xen.hg everything should work also for PV = domU. Does Xen 3.4.1 hypervisor have the needed bits, or is it just xen-unsta= ble?=20 > >=20 > > Also, what kernel you used in the HVM guest for SR-IOV? Just so I c= an > > try this myself some day.. :) >=20 > The kernel version is not important, just need the driver of VFs, lik= e > igbvf. >=20 OK. > >=20 > > > > Can upstream/vanilla 2.6.31 be used as PV guest and run the VF = driver? > > > > Or does it need additional patches? > > >=20 > > > Vanilla kernel doesn't have pirq and msi-x related code, so VF do= esn't > > > work there either. > > >=20 > >=20 > > Ok. Do you know if this is being worked on? >=20 > Yes, but that's likely to take quite a long time to eventually get > everything in. >=20 Ok.=20 Thanks! -- Pasi