From mboxrd@z Thu Jan 1 00:00:00 1970 From: NAHieu Subject: watch event for die domain ? Date: Sat, 10 Sep 2005 23:15:57 +0900 Message-ID: <5d7aca95050910071574eed9b@mail.gmail.com> Reply-To: nahieu@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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