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] xenbus callback probe...

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xenbus callback probe...
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Tue, 16 Dec 2008 19:15:02 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Dec 2008 19:15:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C56688F0.2014C%keir.fraser@xxxxxxxxxxxxx>
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>
Organization: Oracle Corp
References: <C56688F0.2014C%keir.fraser@xxxxxxxxxxxxx>
Reply-to: mukesh.rathor@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.5 (X11/20070719)


Thanks. Now, that I played around a bit, am going in circles trying to
figure how to keep very simple in my messaging driver. Basically,
I'd like to keep it symmetric, no frontend/backend, just one file,
dynamically loadable, kernel driver. When a driver is loaded in domU, it
broadcasts ring-ref/event-chnl and causes dom0 callback to wake up and
act on it. Since domU can't write to /local/domain/0/blah/bleh, is there
some other generic way to broadcast it? I'd like to avoid a user level
script. It almost appears xenbus_watch_path() may allow me to set
callback on /local/domain/*/blah/bleh, but I don't have the
xenbus_device ptr as it seems provided by xenbus_driver{} callbacks.

Thanks in advance,
Mukesh


Keir Fraser wrote:
> On 11/12/2008 03:14, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote:
>
>> Hi,
>>
>> I'm trying to figure what causes a probe callback to happen, any quick
>> example?
>
> New directories appearing in xenstore under /local/domain/x/device/
>
>  -- Keir
>

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

<Prev in Thread] Current Thread [Next in Thread>