From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: Backend in user space, how is its kernel dev unregistered? Date: Thu, 05 Mar 2009 14:17:38 +0100 Message-ID: <49AFD0F2.5030704@redhat.com> References: <87y6vkw3b5.fsf@pike.pond.sub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87y6vkw3b5.fsf@pike.pond.sub.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Markus Armbruster Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org > The vfb and vkbd backends live in user space, i.e. there is no backend > driver in the kernel. device_unregister() never gets called. This is a > resource leak. When a domain shuts down xend will cleanup the backend device entries in xenstore, which in turn kills the devices. At least they disappear from sysfs on my box ... cheers, Gerd