From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Guthro Subject: Re: Notification on a domU creation and a XenBus watch question Date: Wed, 07 Nov 2007 14:14:30 -0500 Message-ID: <47320E96.1030702@virtualiron.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0388704382==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ashutosh mehra Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0388704382== Content-Type: multipart/alternative; boundary="------------050307080002070607090503" This is a multi-part message in MIME format. --------------050307080002070607090503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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//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//path/keys? > > > Regards, > Ashutosh > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > --------------050307080002070607090503 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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@lists.xensource.com http://lists.xensource.com/xen-devel

--------------050307080002070607090503-- --===============0388704382== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0388704382==--