[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Notification on a domU creation and a XenBus watch question


  • To: "Ben Guthro" <bguthro@xxxxxxxxxxxxxxx>
  • From: "ashutosh mehra" <ashutosh.xen@xxxxxxxxx>
  • Date: Fri, 9 Nov 2007 01:44:21 +0530
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 08 Nov 2007 12:15:08 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=oG8n1Kkf3BBKDEN+jpkl5aIyYO4/LL9mEcpIQ/UC3H8v6cqPO43oV5Iqrfd/Ke7AGBTBpkfLOnMedIc3dYdOx8t3iXTXJ7Yf8OLn7SLsSfTSyf2ZEcuhc9CS0o4hkHlrIRiMsPLR5HD9YXsrBzr1J6dxU/CeK1a2G6xj77CXXVI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

Thanks, that worked! Where are these documented? :) Now how do I iterate over the domains? for_each_domain is defined in xen/sched.h, but when I try to include it I get an error that there's no such file!

Also, can I add a "generic" watch on all /local/domain/*/path/key without specifying the domain ID? Or will I have to individually add a watch on all  /local/domain/<id>/path/keys?

Thanks,
Ashutosh



On Nov 8, 2007 12:44 AM, Ben Guthro < bguthro@xxxxxxxxxxxxxxx> wrote:
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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.