aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl_cmdtable.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-10-18 09:35:11 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-10-18 09:35:11 +0100
commitccf1c30d488193abb7875d470015a86acc9d45b0 (patch)
tree80b3356cfa1ad992ac358d89fcb09b677d828e80 /tools/libxl/xl_cmdtable.c
parent710820bc4e20ce9750d6dc23412a1c2ba6d0c037 (diff)
downloadxen-ccf1c30d488193abb7875d470015a86acc9d45b0.tar.gz
xen-ccf1c30d488193abb7875d470015a86acc9d45b0.tar.bz2
xen-ccf1c30d488193abb7875d470015a86acc9d45b0.zip
xl: Add --wait and --all to xl reboot.
Inspired by a patch by Sander Eikelenboom. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r--tools/libxl/xl_cmdtable.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c
index fde7fe3707..d3a215d247 100644
--- a/tools/libxl/xl_cmdtable.c
+++ b/tools/libxl/xl_cmdtable.c
@@ -70,10 +70,12 @@ struct cmd_spec cmd_table[] = {
{ "reboot",
&main_reboot, 0, 1,
"Issue a reboot signal to a domain",
- "[options] <Domain>",
+ "[options] <-a|Domain>",
+ "-a, --all Shutdown all guest domains.\n"
"-h Print this help.\n"
"-F Fallback to ACPI reset event for HVM guests with\n"
" no PV drivers.\n"
+ "-w, --wait Wait for guest(s) to reboot.\n"
},
{ "pci-attach",
&main_pciattach, 0, 1,