WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Markus Armbruster <armbru@xxxxxxxxxx>
Subject: Re: [Xen-devel] Backend in user space, how is its kernel dev unregistered?
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Date: Thu, 05 Mar 2009 10:40:11 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 05 Mar 2009 01:41:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87k575yslm.fsf@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C5D4843C.42CE%keir.fraser@xxxxxxxxxxxxx> <87k575yslm.fsf@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090105)
Markus Armbruster wrote:
> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> writes:
> 
>> On 04/03/2009 19:02, "Markus Armbruster" <armbru@xxxxxxxxxx> wrote:
>>
>>> 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.
>> Presumably these should watch xenstore themselves and tear down state when
>> they see state changes from the frontend, or the corresponding xenstore
>> directory disappear completely. Just like in the kernel's xenbus_probe.c.
>>
>>  -- Keir
> 
> Stupid question: how can a user space driver get *kernel* devices 
> unregistered?

/me is confused.
Which kernel device you are talking about?
Frontend?  That one lives in guest kernel space and should work like all
other frontends.
Backend?  There is no kernel device in the first place.

cheers,
  Gerd

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