[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] PCI Passthru: fn0 exported but not fn1


  • To: Jambunathan K <jambunathan@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Fri, 24 Aug 2007 15:42:04 +0100
  • Delivery-date: Fri, 24 Aug 2007 07:42:50 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcfmXO/sLlt3sFJQEdyesQAX8io7RQ==
  • Thread-topic: [Xen-devel] PCI Passthru: fn0 exported but not fn1

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" <jambunathan@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.