xenstore: enhance control command support
authorJuergen Gross <jgross@suse.com>
Fri, 24 Feb 2017 06:21:42 +0000 (07:21 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 28 Feb 2017 10:45:27 +0000 (10:45 +0000)
commit7012548e0d761bf365f17bd39cd551753eb8e652
treed40252467605ecdf31648682e2a3e2d527035c9e
parentf952b0f11c7f78bd362ad1d991e5adfa6f0f458b
xenstore: enhance control command support

The Xenstore protocol supports the XS_CONTROL command for triggering
various actions in the Xenstore daemon. Enhance that support by using
a command table and adding a help function.

Support multiple control commands in the associated xenstore-control
program used to issue XS_CONTROL commands.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/xenstore_control.c
tools/xenstore/xenstored_control.c