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

[Xen-devel] watch event for die domain ?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] watch event for die domain ?
From: NAHieu <nahieu@xxxxxxxxx>
Date: Sat, 10 Sep 2005 23:15:57 +0900
Delivery-date: Sat, 10 Sep 2005 14:13:47 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UrAwmGSzekNdhpyhQm9VT81yh5jQBzCLetCJvSsr8cCB9yr+oq7Ax0PDutX0G2TwyfgusiuaOccQhqjJLnA5Ient4F8ugDdo8NaWalpJiCuEWC3pCyBYu5/Xjwuml7Qhc8Iv3/iXW+v/x9YnrW+MXqXhbBPFrLeE34RIdQHOTG8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Reply-to: nahieu@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I am writing a small application to watch for xenstore events. I want
to know when a specific domain shutdown or reboot. It is best to watch
it via xenbus interface, but how? Is there any event or node can give
me such an event?

If not, I must periodically scan the domains (using libxc interface)
to detect if a domain dies, but that is not as good as xenbus
approach.

Many thanks.
Hieu

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

<Prev in Thread] Current Thread [Next in Thread>