From: Chris Subject: Re: PCI backend and slot functions Date: Wed, 02 Aug 2006 09:17:27 -0400 Message-ID: <44D0A5E7.9010807@tycho.ncsc.mil> References: <200608021512.04612.Tristan.Gingold@bull.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200608021512.04612.Tristan.Gingold@bull.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tristan Gingold Cc: xen-devel@lists.xensource.com, xen-ia64-devel List-Id: xen-devel@lists.xenproject.org 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. 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). -Chris