From: Tristan Gingold Subject: Re: [Xen-ia64-devel] PCI backend and slot functions Date: Wed, 2 Aug 2006 16:30:12 +0200 Message-ID: <200608021630.12448.Tristan.Gingold@bull.net> References: <200608021512.04612.Tristan.Gingold@bull.net> <1154528139.21726.8.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1154528139.21726.8.camel@lappy> 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: Alex Williamson Cc: xen-devel@lists.xensource.com, xen-ia64-devel List-Id: xen-devel@lists.xenproject.org Le Mercredi 02 Ao=C3=BBt 2006 16:15, Alex Williamson a =C3=A9crit : > On Wed, 2006-08-02 at 15:12 +0200, Tristan Gingold wrote: > > Hi, > > > > 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 ? > > Yes, I think so. The ia64 PCI discovery appears to more closely > follow the PCI spec. Both multi-function and single-function PCI > devices must have configuration space at function 0. I would guess x86 > may probe all functions to deal with old, buggy hardware. Ok. Could we virtualize functions as slots (ie two functions appear as two slot= s)? Doing something more clever seems not that easy! Tristan.