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

[Xen-devel] Re: [PATCH] xen: rename gntdev and evtdev modules to be less generic



On Thu, 2009-12-10 at 23:25 +0000, Jeremy Fitzhardinge wrote: 
> On 12/10/09 14:50, Ian Campbell wrote:
> > It never occurred to me that autoloading would work at all for this
> > driver, I always just load the module explicitly by listing
> > in /etc/modules. What triggers (or is supposed to trigger) autoloading?
> >    
> 
> Magic earwigs?  How to misc drivers get autoloaded in general?

In the absence of an explicit request_module or module alias which
matches a device on a bus somewhere I don't think anything much has been
autoloaded since udev came along since the only other way was the old
"open a device node with no driver" method and udev effectively removed
those device nodes.

A module alias won't work since there is no device on a bus which could
match this driver and I can't find a request_module for evtchn anywhere.
If we think this driver should always get loaded when Xen is running
then I think a late_initcall which calls request_module might be the way
to go, although I'm not sure late_initcall is late enough sine it needs
to be when the proper root is mounted.

Ian.



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