aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl_cmdtable.c
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@xensource.com>2010-07-19 15:33:38 +0100
committerStefano Stabellini <sstabellini@xensource.com>2010-07-19 15:33:38 +0100
commita9c189d680f8f13d486ca200677ef33733e39afa (patch)
treecb0f38c60f1b541b566af01017facd6c8efcbfd6 /tools/libxl/xl_cmdtable.c
parent9fc200ae85b73fefcdab365fa41220ea0a63c2b1 (diff)
downloadxen-a9c189d680f8f13d486ca200677ef33733e39afa.tar.gz
xen-a9c189d680f8f13d486ca200677ef33733e39afa.tar.bz2
xen-a9c189d680f8f13d486ca200677ef33733e39afa.zip
Implement xl dump-core
Implements dump-core command which is similar to xm dump-core except that it requires an additional argument which is the target filename. Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r--tools/libxl/xl_cmdtable.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c
index d7330fec05..1621cbb435 100644
--- a/tools/libxl/xl_cmdtable.c
+++ b/tools/libxl/xl_cmdtable.c
@@ -102,6 +102,11 @@ struct cmd_spec cmd_table[] = {
"-e Do not wait in the background (on <host>) for the death\n"
" of the domain."
},
+ { "dump-core",
+ &main_dump_core,
+ "Core dump a domain",
+ "<Domain> <filename>"
+ },
{ "restore",
&main_restore,
"Restore a domain from a saved state",