diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-09-15 11:08:05 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-09-15 11:08:05 +0100 |
commit | 1f9d04fb021cbf35cc420d401a88c696d6524c14 (patch) | |
tree | faf66934ac97c71f944e7d33cd558295fc03bd02 /docs/misc | |
parent | dcbc297aea6a159f2f5fad5de84666f23c2d17ad (diff) | |
download | xen-1f9d04fb021cbf35cc420d401a88c696d6524c14.tar.gz xen-1f9d04fb021cbf35cc420d401a88c696d6524c14.tar.bz2 xen-1f9d04fb021cbf35cc420d401a88c696d6524c14.zip |
xenstored: allow guest to shutdown all its watches/transactions
During kexec all old watches have to be removed, otherwise the new
kernel will receive unexpected events. Allow a guest to reset itself
and cleanup all of its watches and transactions.
Add a new XS_RESET_WATCHES command to do the reset on behalf of the
guest.
(Changes by iwj: specify the argument to be a single nul byte. Permit
read-only clients to use the new command.)
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'docs/misc')
-rw-r--r-- | docs/misc/xenstore.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/misc/xenstore.txt b/docs/misc/xenstore.txt index f46cf4f525..9f3087d2ea 100644 --- a/docs/misc/xenstore.txt +++ b/docs/misc/xenstore.txt @@ -217,6 +217,9 @@ WATCH_EVENT <epath>|<token>| UNWATCH <wpath>|<token>|? +RESET_WATCHES | + Reset all watches and transactions of the caller. + ---------- Transactions ---------- TRANSACTION_START | <transid>| |