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