From: Tristan Gingold Subject: Re: PCI backend and slot functions Date: Wed, 2 Aug 2006 15:42:12 +0200 Message-ID: <200608021542.12983.Tristan.Gingold@bull.net> References: <200608021512.04612.Tristan.Gingold@bull.net> <44D0A5E7.9010807@tycho.ncsc.mil> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <44D0A5E7.9010807@tycho.ncsc.mil> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chris Cc: xen-devel@lists.xensource.com, xen-ia64-devel List-Id: xen-devel@lists.xenproject.org Le Mercredi 02 Ao=FBt 2006 15:17, Chris a =E9crit : > Tristan Gingold wrote: > > Currently PCI slot functions are not virtualized. When I hide > > 0000:06:01.1 it appears as 0000:00:00.1 and there is no function 0 for > > the slot. This is an issue because on linux/ia64, functions > 0 are not > > probed if there is no function 0. > > > > How is it handled on x86 ? > > > > Should I add an option to virtualize slot functions ? > > IIUC, when you hide 0000:06:01.1 from dom0 you want that device to > appear as 0000:06:01.1 to domU. Have you looked at the PCI Backend Mode > options in the xenolinux configuration? Specifically, look at the > difference between XEN_PCIDEV_BACKEND_VPCI and XEN_PCIDEV_BACKEND_PASS > to see if either gives what you want. Yes both works on ia64. > I've only tried this on x86, but > it sounds like what you want, but perhaps there's a bug in the ia64 > implementation (I haven't looked at it yet). As far as I understand pci backend and frontend work correctly but the pci= =20 cards probing seems to be different to x86. Thank you for your comment, Tristan.