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

Re: [Xen-devel] Backend in user space, how is its kernel dev unregistered?



On 04/03/2009 19:02, "Markus Armbruster" <armbru@xxxxxxxxxx> wrote:

> Unregistering is the device driver's job: it watches xenstore, and when
> it sees the front end shut down, it calls device_unregister().
> 
> But what if the device driver is in user space?  vfb and vkbd are.  I
> can't see how their kernel devices can ever get unregistered.
> 
> If that is true, any ideas on how to plug the leak?

Backends also tear down when their xenstore directory is removed. I think
that's the job of xenbus_cleanup_devices() in the 2.6.18 tree.

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