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

[Xen-devel] xenstore reboot/crash watch



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 ?
  2. Why can't xenstore-ls, xenstore-read et al "see" this key ?
3. docs/misc/xenstore.txt has this to say - "WATCH <wpath>|<token>|?
             Adds a watch.
     <snip>

             <wpath> can be a <path> to watch or @<wspecial>.  In the
             latter case <wspecial> may have any syntax but it matches
             (according to the rules above) only the following special
             events which are invented by xenstored:
                 @introduceDomain    occurs on INTRODUCE
                 @releaseDomain      occurs on any domain crash or
                                     shutdown, and also on RELEASE
                                     and domain destruction

             When a watch is first set up it is triggered once straight
             away, with <path> equal to <wpath>.  Watches may be triggered
             spuriously.  The tx_id in a WATCH request is ignored."
       So would the following python code register watch for  restart
     events of ANY domain - 'watch = xswatch("@releaseDomain",
     watch_func, xshandle())' ?

- Regards,
Ashwin

_______________________________________________
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®.