Skip to content

Commit

Permalink
docs/misc: xenstored: Re-instate and tweak the documentation for XS_R…
Browse files Browse the repository at this point in the history
…ESUME

Commit 13dd372 removed the documentation for XS_RESUME, however
this command is still implemented (at least in C Xenstored) and used by
libxl when resuming a domain.

So re-instate the documentation for the XS_RESUME. Take the opportunity
to update it as there is a user of the command.

Fixes: 13dd372 ("docs/designs: re-work the xenstore migration document...")
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Ian Jackson <iwj@xenproject.org>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
(cherry picked from commit 03bee3f)
  • Loading branch information
Julien Grall committed Mar 26, 2021
1 parent 7ff29c9 commit 7087b61
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/misc/xenstore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,22 @@ IS_DOMAIN_INTRODUCED <domid>| T| or F|
ie, if INTRODUCE for the domain has not yet been followed by
domain destruction or explicit RELEASE.

RESUME <domid>|

Arranges that @releaseDomain events will once more be
generated when the domain becomes shut down. This might have
to be used if a domain were to be shut down (generating one
@releaseDomain) and then subsequently restarted, since the
state-sensitive algorithm in xenstored will not otherwise send
further watch event notifications if the domain were to be
shut down again.

This command will be issued in place such as resume because
Xen will "shutdown" the domain on suspend.

xenstored prevents the use of RESUME other than by dom0.


SET_TARGET <domid>|<tdomid>|
Notifies xenstored that domain <domid> is targeting domain
<tdomid>. This grants domain <domid> full access to paths
Expand Down

0 comments on commit 7087b61

Please sign in to comment.