From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: Is it possible to follow a rebooted domain (with a different ID)? Date: Mon, 07 Jan 2013 14:10:22 +0200 Message-ID: <50EABB2E.5080402@gmail.com> References: <50EAA7FC.1090602@gmail.com> <50EAAE5E.4000001@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50EAAE5E.4000001@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mats Petersson Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org > Xenstore will keep track of the name of the domain, which has to be > unique, so you should be able to "find" your domain again by looking for > its name. I've just reinstalled everything on my test-box, so I can't > look at exactly where the name is stored [I don't have any VM's on > there!], but I think you can figure it out yourself with a bit of > "xenstore-ls". > [...] >> A related question is this: is it possible to get notifications from >> userspace about a new domU that's just been started (regardless of >> whether it's a reboot of a previously watched domU or not)? > You can have a xenstore watch for that. > > I was looking at some code that does that the other day in xenconsoled > [it watches for "new domain appearing"]. Have a look at > xen/tools/console/daemon/io.c (I think!) Thank you for all the replies, I appreciate your help! I'll look those up. Thanks, Razvan Cojocaru