tools/xenstore: add read connection state for live update
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:47 +0000 (17:31 +0100)
commit2ea411bc2c0a5a4c7ab145270f1949630460e72b
tree44ac1900c149d5cbb8a0b90f47a6994ffebab152
parente7217f0b69a87043797da21eda3bc37fd57115fe
tools/xenstore: add read connection state for live update

Add the needed functions for reading connection state for live update.

As the connection is identified by a unique connection id in the state
records we need to add this to struct connection. Add a new function
to return the connection based on a connection id.

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