diff options
author | Stefano Stabellini <sstabellini@xensource.com> | 2010-06-22 16:05:56 +0100 |
---|---|---|
committer | Stefano Stabellini <sstabellini@xensource.com> | 2010-06-22 16:05:56 +0100 |
commit | 8cde53d0997819e503780db7210c7e66d7715c4c (patch) | |
tree | 2383a2ae7ab2161a3ea65b00287cb33d7ad9ade5 /tools/libxl/xl_cmdtable.c | |
parent | 14d8a83b6218ae882474524b067ee75d34941f1c (diff) | |
download | xen-8cde53d0997819e503780db7210c7e66d7715c4c.tar.gz xen-8cde53d0997819e503780db7210c7e66d7715c4c.tar.bz2 xen-8cde53d0997819e503780db7210c7e66d7715c4c.zip |
this patch implements few missing options in xl so that it can be
used as a replacement of xm in xendomains:
- dryrun and quiet, long options to xl create;
- l, option to xl list.
printf_info is now used to print the configuration of the running VMs so
the output has been reformatted to be similar to the output of xm list -l.
There is still one command used in xendomains that is not implemented in
xl and not covered by this patch: xm shutdown. However a patch has been
sent to the list in the past and we are expecting a new version of it
soon.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r-- | tools/libxl/xl_cmdtable.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c index 4d4fb7b330..1ec971b54a 100644 --- a/tools/libxl/xl_cmdtable.c +++ b/tools/libxl/xl_cmdtable.c @@ -21,16 +21,22 @@ struct cmd_spec cmd_table[] = { &main_create, "Create a domain from config file <filename>", "<ConfigFile> [options] [vars]", - "-h Print this help.\n" - "-p Leave the domain paused after it is created.\n" - "-c Connect to the console after the domain is created.\n" - "-d Enable debug messages.\n" - "-e Do not wait in the background for the death of the domain." + "-h Print this help.\n" + "-p Leave the domain paused after it is created.\n" + "-c Connect to the console after the domain is created.\n" + "-d Enable debug messages.\n" + "-f=FILE, --defconfig=FILE\n Use the given configuration file.\n" + "-q, --quiet Quiet.\n" + "-n, --dryrun Dry run - prints the resulting configuration.\n" + "-d Enable debug messages.\n" + "-e Do not wait in the background for the death of the domain." }, { "list", &main_list, "List information about all/some domains", - "[-v] [Domain]", + "[options] [Domain]\n", + "-l, --long Output all VM details" + "-v, --verbose Prints out UUIDs", }, { "destroy", &main_destroy, |