From: Keir Fraser Subject: Re: PCI Passthru: fn0 exported but not fn1 Date: Fri, 24 Aug 2007 15:42:04 +0100 Message-ID: References: <46CDDA36.4090508@netxen.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46CDDA36.4090508@netxen.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: Jambunathan K , xen-devel List-Id: xen-devel@lists.xenproject.org I think it's not usual to scan non-zero fns of a PCI slot if fn0 is empty. But actually pciback should be renaming the devfn address to a fn0 address anyway, unless you fiddled with pciback's kernel configuration. If you grep for PCIDEV_BACKEND in your kernel build configuration, what do you see? -- Keir On 23/8/07 20:04, "Jambunathan K" wrote: > Given the following device list, I am exporting one of the functions to > Dom1 through PCI passthrough. > > $ lspci | grep known > 04:00.0 Ethernet controller: Unknown device 4040:0002 (rev 25) > 04:00.1 Ethernet controller: Unknown device 4040:0002 (rev 25) > 04:00.2 Ethernet controller: Unknown device 4040:0002 (rev 25) > 04:00.3 Ethernet controller: Unknown device 4040:0002 (rev 25) > > If I export just 04:00.0, it is visible ('lspci') in Dom1. However if I > export just 04:00.1 then it is no more visible in Dom1. > > I am using Xen310. As an additional information, I am seeing this > behaviour on my 'new box'. Things were fine on my earlier box. It is > possible that this is a platform specific thing. > > If it is a known issue, I would be happy to patch my tree. Otherwise I > can debug this further post some debug logs for your scrutiny. > > Jambunathan K. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel