tools/xenstore: read internal state when doing live upgrade
authorJuergen Gross <jgross@suse.com>
Wed, 13 Jan 2021 13:00:20 +0000 (14:00 +0100)
committerJuergen Gross <jgross@suse.com>
Thu, 21 Jan 2021 16:31:43 +0000 (17:31 +0100)
commitc0dc6a3e7c41f86dfcf22262a68ccceaa022d64d
tree7718d8e8e09284e31b7344c2929ac4d3c4e8fb2e
parent9777fa6b6ea02eebf83db4023effb1a1350e6a6d
tools/xenstore: read internal state when doing live upgrade

When started due to a live upgrade read the internal state and apply
it to the data base and internal structures.

Add the main control functions for that.

For now only handle the daemon case.

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