diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-06-02 10:52:17 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-06-02 10:52:17 +0100 |
commit | c1d7e20205d82fa76ef7a84f0af1e01c63b15eb2 (patch) | |
tree | 7db70e2de9f4fa29ae1e90ced2f7c7468bc5f899 /tools/libxl/xl_cmdtable.c | |
parent | 9d1f137d16a9485bbf1d44a7d3ad8ee13bcbcd78 (diff) | |
download | xen-c1d7e20205d82fa76ef7a84f0af1e01c63b15eb2.tar.gz xen-c1d7e20205d82fa76ef7a84f0af1e01c63b15eb2.tar.bz2 xen-c1d7e20205d82fa76ef7a84f0af1e01c63b15eb2.zip |
xl: adds shutdown and reboot commands
libxl : remote shutdown to work for pure hvm domains
Signed-off-by: Gihan Munasinghe <GMunasinghe@flexiant.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r-- | tools/libxl/xl_cmdtable.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c index accc4f929b..2ea0e66a94 100644 --- a/tools/libxl/xl_cmdtable.c +++ b/tools/libxl/xl_cmdtable.c @@ -35,6 +35,16 @@ struct cmd_spec cmd_table[] = { "Terminate a domain immediately", "<Domain>", }, + { "shutdown", + &main_shutdown, + "Issue a shutdown signal to a domain", + "<Domain>", + }, + { "reboot", + &main_reboot, + "Issue a reboot signal to a domain", + "<Domain>", + }, { "pci-attach", &main_pciattach, "Insert a new pass-through pci device", |