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

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



On 27/8/07 17:34, "Jambunathan K" <jambunathan@xxxxxxxxxx> wrote:

> I didn't create any dummy device whatsoever in case of Xen304 kernel for
> fn1 to be reported in lspci. (Xen304 kernel was hand compiled from
> vanilla sources as mentioned above)
> 
> You seem to suggest that behaviour in Xen304 was buggy and has been
> addressed with Xen310.
> 
> I will try out the dummy device option and keep you posted.

No, I think that the behaviour in the domU (scanning all fns) was different
from native Linux behaviour in 3.0.4. This probably got fixed in 3.1.0 but
that has broken export of just fn!=0 to pcifront. The possible fixes are:
 1. Revert to scanning all fns in domU.
 2. Modify pciback to supply a dummy device of some sort on fn==0, to stop
the scan aborting.

I'll have to look into this a bit. Option 1 is probably easier.

 -- Keir



_______________________________________________
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®.