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] Notification on a domU creation and a XenBus watch quest

To: ashutosh mehra <ashutosh.xen@xxxxxxxxx>
Subject: Re: [Xen-devel] Notification on a domU creation and a XenBus watch question
From: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
Date: Wed, 07 Nov 2007 14:14:30 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Nov 2007 11:15:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bb4253730711071109g171bc2d1vb932365514002aee@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <bb4253730711071109g171bc2d1vb932365514002aee@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.5 (X11/20070719)
You should be able to put a watch on the special path of

"@introduceDomain" and
"@releaseDomain"

to catch cases of doman construction / descruction.

Hope that helps

Ben

ashutosh mehra wrote:
Hi,

I am writing a module for dom0 which needs to be notified when a domain is created/destroyed. Is that possible? And is it possible to add a watch on all /local/domain/<id>/path/key without specifying the domain ID? I mean the watch should be on all /path/key of the currently executing domains. Does XenBus support this or will I have to individually add a watch on all  /local/domain/<id>/path/keys?


Regards,
Ashutosh

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>