tools/xenstore: add live update command to xenstore-control
authorJuergen Gross <jgross@suse.com>
Wed, 13 Jan 2021 13:00:17 +0000 (14:00 +0100)
committerJuergen Gross <jgross@suse.com>
Thu, 21 Jan 2021 16:29:44 +0000 (17:29 +0100)
commit7f97193e6aa858df03be501440e0ade8cceb9ec5
treed9f3ec6bd0502d68759b74e7e33903c548ea1d26
parent7104017a130cba11fd807c23f804dd8eeec0d976
tools/xenstore: add live update command to xenstore-control

Add the "live-update" command to xenstore-control enabling updating
xenstored to a new version in a running Xen system.

With -c <arg> it is possible to pass a different command line to the
new instance of xenstored. This will replace the command line used
for the invocation of the just running xenstored instance.

The running xenstored (or xenstore-stubdom) needs to support live
updating, of course.

For now just add a small dummy handler to C xenstore denying any
live update action.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Acked-by: Wei Liu <wl@xen.org>
docs/misc/xenstore.txt
tools/xenstore/Makefile
tools/xenstore/xenstore_control.c
tools/xenstore/xenstored_control.c