aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl_cmdtable.c
diff options
context:
space:
mode:
authorIan Campbell <Ian.Campbell@citrix.com>2012-04-02 17:07:04 +0100
committerIan Campbell <Ian.Campbell@citrix.com>2012-04-02 17:07:04 +0100
commita7ce17b686e643b0098c9043ceeea0dc61845a68 (patch)
treeda9e002de34c2d4c57a67d0ba372c4d743d42fee /tools/libxl/xl_cmdtable.c
parent80687dc9ca23ced28119c91957cb6b841c9544aa (diff)
downloadxen-a7ce17b686e643b0098c9043ceeea0dc61845a68.tar.gz
xen-a7ce17b686e643b0098c9043ceeea0dc61845a68.tar.bz2
xen-a7ce17b686e643b0098c9043ceeea0dc61845a68.zip
xl: provide a command to set the saved configuration for a running domain
Pickup this new configuration on reboot. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r--tools/libxl/xl_cmdtable.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c
index 352ea87951..f461a2a1b5 100644
--- a/tools/libxl/xl_cmdtable.c
+++ b/tools/libxl/xl_cmdtable.c
@@ -32,6 +32,15 @@ struct cmd_spec cmd_table[] = {
"-d Enable debug messages.\n"
"-e Do not wait in the background for the death of the domain."
},
+ { "config-update",
+ &main_config_update, 1,
+ "Update a running domain's saved configuration, used when rebuilding "
+ "the domain after reboot",
+ "<Domain> <ConfigFile> [options] [vars]",
+ "-h Print this help.\n"
+ "-f FILE, --defconfig=FILE\n Use the given configuration file.\n"
+ "-d Enable debug messages.\n"
+ },
{ "list",
&main_list, 0,
"List information about all/some domains",