From: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
To: Ashwin Pankaj <ashwin.pankaj@lsi.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: xenstore reboot/crash watch
Date: Wed, 04 Nov 2009 11:12:55 +0000 [thread overview]
Message-ID: <4AF161B7.90809@eu.citrix.com> (raw)
In-Reply-To: <4AF003FD.4080902@lsi.com>
Ashwin Pankaj wrote:
> Hi,
>
> I tried googling this one - but documentation on @releaseDomain key in
> xenstore seems scanty.
>
> 1. If a client registers a watch for this key - does it get called
> every time a domain restarts / crashes ?
>
yes
> 2. Why can't xenstore-ls, xenstore-read et al "see" this key ?
>
this is not a database key. this is just a special event.
> So would the following python code register watch for restart
> events of ANY domain - 'watch = xswatch("@releaseDomain",
> watch_func, xshandle())' ?
>
yes it seems right.
but it's not a restart event, the event is there to notify that one or
multiple domain(s) are dead.
--
Vincent
prev parent reply other threads:[~2009-11-04 11:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-03 10:20 xenstore reboot/crash watch Ashwin Pankaj
2009-11-04 11:12 ` Vincent Hanquez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AF161B7.90809@eu.citrix.com \
--to=vincent.hanquez@eu.citrix.com \
--cc=ashwin.pankaj@lsi.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.