* "help" command
*/
static const vshCmdInfo info_help[] = {
- {"syntax", "help [<command>]"},
{"help", gettext_noop("print help")},
{"desc", gettext_noop("Prints global help or command specific help.")},
* "autostart" command
*/
static const vshCmdInfo info_autostart[] = {
- {"syntax", "autostart [--disable] <domain>"},
{"help", gettext_noop("autostart a domain")},
{"desc",
gettext_noop("Configure a domain to be automatically started at boot.")},
* "connect" command
*/
static const vshCmdInfo info_connect[] = {
- {"syntax", "connect [name] [--readonly]"},
{"help", gettext_noop("(re)connect to hypervisor")},
{"desc",
gettext_noop("Connect to local hypervisor. This is built-in command after shell start up.")},
* "console" command
*/
static const vshCmdInfo info_console[] = {
- {"syntax", "console <domain>"},
{"help", gettext_noop("connect to the guest console")},
{"desc",
gettext_noop("Connect the virtual serial console for the guest")},
* "list" command
*/
static const vshCmdInfo info_list[] = {
- {"syntax", "list [--inactive | --all]"},
{"help", gettext_noop("list domains")},
{"desc", gettext_noop("Returns list of domains.")},
{NULL, NULL}
* "domstate" command
*/
static const vshCmdInfo info_domstate[] = {
- {"syntax", "domstate <domain>"},
{"help", gettext_noop("domain state")},
{"desc", gettext_noop("Returns state about a domain.")},
{NULL, NULL}
/* "domblkstat" command
*/
static const vshCmdInfo info_domblkstat[] = {
- {"syntax", "domblkstat <domain> <dev>"},
{"help", gettext_noop("get device block stats for a domain")},
{"desc", gettext_noop("Get device block stats for a running domain.")},
{NULL,NULL}
/* "domifstat" command
*/
static const vshCmdInfo info_domifstat[] = {
- {"syntax", "domifstat <domain> <dev>"},
{"help", gettext_noop("get network interface stats for a domain")},
{"desc", gettext_noop("Get network interface stats for a running domain.")},
{NULL,NULL}
* "suspend" command
*/
static const vshCmdInfo info_suspend[] = {
- {"syntax", "suspend <domain>"},
{"help", gettext_noop("suspend a domain")},
{"desc", gettext_noop("Suspend a running domain.")},
{NULL, NULL}
* "create" command
*/
static const vshCmdInfo info_create[] = {
- {"syntax", "create a domain from an XML <file>"},
{"help", gettext_noop("create a domain from an XML file")},
{"desc", gettext_noop("Create a domain.")},
{NULL, NULL}
* "define" command
*/
static const vshCmdInfo info_define[] = {
- {"syntax", "define a domain from an XML <file>"},
{"help", gettext_noop("define (but don't start) a domain from an XML file")},
{"desc", gettext_noop("Define a domain.")},
{NULL, NULL}
* "undefine" command
*/
static const vshCmdInfo info_undefine[] = {
- {"syntax", "undefine <domain>"},
{"help", gettext_noop("undefine an inactive domain")},
{"desc", gettext_noop("Undefine the configuration for an inactive domain.")},
{NULL, NULL}
* "start" command
*/
static const vshCmdInfo info_start[] = {
- {"syntax", "start <domain>"},
{"help", gettext_noop("start a (previously defined) inactive domain")},
{"desc", gettext_noop("Start a domain.")},
{NULL, NULL}
* "save" command
*/
static const vshCmdInfo info_save[] = {
- {"syntax", "save <domain> <file>"},
{"help", gettext_noop("save a domain state to a file")},
{"desc", gettext_noop("Save a running domain.")},
{NULL, NULL}
* "schedinfo" command
*/
static const vshCmdInfo info_schedinfo[] = {
- {"syntax", "schedinfo <domain>"},
{"help", gettext_noop("show/set scheduler parameters")},
{"desc", gettext_noop("Show/Set scheduler parameters.")},
{NULL, NULL}
* "restore" command
*/
static const vshCmdInfo info_restore[] = {
- {"syntax", "restore a domain from <file>"},
{"help", gettext_noop("restore a domain from a saved state in a file")},
{"desc", gettext_noop("Restore a domain.")},
{NULL, NULL}
* "dump" command
*/
static const vshCmdInfo info_dump[] = {
- {"syntax", "dump <domain> <file>"},
{"help", gettext_noop("dump the core of a domain to a file for analysis")},
{"desc", gettext_noop("Core dump a domain.")},
{NULL, NULL}
* "resume" command
*/
static const vshCmdInfo info_resume[] = {
- {"syntax", "resume <domain>"},
{"help", gettext_noop("resume a domain")},
{"desc", gettext_noop("Resume a previously suspended domain.")},
{NULL, NULL}
* "shutdown" command
*/
static const vshCmdInfo info_shutdown[] = {
- {"syntax", "shutdown <domain>"},
{"help", gettext_noop("gracefully shutdown a domain")},
{"desc", gettext_noop("Run shutdown in the target domain.")},
{NULL, NULL}
* "reboot" command
*/
static const vshCmdInfo info_reboot[] = {
- {"syntax", "reboot <domain>"},
{"help", gettext_noop("reboot a domain")},
{"desc", gettext_noop("Run a reboot command in the target domain.")},
{NULL, NULL}
* "destroy" command
*/
static const vshCmdInfo info_destroy[] = {
- {"syntax", "destroy <domain>"},
{"help", gettext_noop("destroy a domain")},
{"desc", gettext_noop("Destroy a given domain.")},
{NULL, NULL}
* "dominfo" command
*/
static const vshCmdInfo info_dominfo[] = {
- {"syntax", "dominfo <domain>"},
{"help", gettext_noop("domain information")},
{"desc", gettext_noop("Returns basic information about the domain.")},
{NULL, NULL}
* "freecell" command
*/
static const vshCmdInfo info_freecell[] = {
- {"syntax", "freecell [<cellno>]"},
{"help", gettext_noop("NUMA free memory")},
{"desc", gettext_noop("display available free memory for the NUMA cell.")},
{NULL, NULL}
* "vcpuinfo" command
*/
static const vshCmdInfo info_vcpuinfo[] = {
- {"syntax", "vcpuinfo <domain>"},
{"help", gettext_noop("domain vcpu information")},
{"desc", gettext_noop("Returns basic information about the domain virtual CPUs.")},
{NULL, NULL}
* "vcpupin" command
*/
static const vshCmdInfo info_vcpupin[] = {
- {"syntax", "vcpupin <domain> <vcpu> <cpulist>"},
{"help", gettext_noop("control domain vcpu affinity")},
{"desc", gettext_noop("Pin domain VCPUs to host physical CPUs.")},
{NULL, NULL}
* "setvcpus" command
*/
static const vshCmdInfo info_setvcpus[] = {
- {"syntax", "setvcpus <domain> <count>"},
{"help", gettext_noop("change number of virtual CPUs")},
{"desc", gettext_noop("Change the number of virtual CPUs in the guest domain.")},
{NULL, NULL}
* "setmemory" command
*/
static const vshCmdInfo info_setmem[] = {
- {"syntax", "setmem <domain> <kilobytes>"},
{"help", gettext_noop("change memory allocation")},
{"desc", gettext_noop("Change the current memory allocation in the guest domain.")},
{NULL, NULL}
* "setmaxmem" command
*/
static const vshCmdInfo info_setmaxmem[] = {
- {"syntax", "setmaxmem <domain> <kilobytes>"},
{"help", gettext_noop("change maximum memory limit")},
{"desc", gettext_noop("Change the maximum memory allocation limit in the guest domain.")},
{NULL, NULL}
* "nodeinfo" command
*/
static const vshCmdInfo info_nodeinfo[] = {
- {"syntax", "nodeinfo"},
{"help", gettext_noop("node information")},
{"desc", gettext_noop("Returns basic information about the node.")},
{NULL, NULL}
* "capabilities" command
*/
static const vshCmdInfo info_capabilities[] = {
- {"syntax", "capabilities"},
{"help", gettext_noop("capabilities")},
{"desc", gettext_noop("Returns capabilities of hypervisor/driver.")},
{NULL, NULL}
* "dumpxml" command
*/
static const vshCmdInfo info_dumpxml[] = {
- {"syntax", "dumpxml <domain>"},
{"help", gettext_noop("domain information in XML")},
{"desc", gettext_noop("Output the domain information as an XML dump to stdout.")},
{NULL, NULL}
* "domname" command
*/
static const vshCmdInfo info_domname[] = {
- {"syntax", "domname <domain>"},
{"help", gettext_noop("convert a domain id or UUID to domain name")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "domid" command
*/
static const vshCmdInfo info_domid[] = {
- {"syntax", "domid <domain>"},
{"help", gettext_noop("convert a domain name or UUID to domain id")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "domuuid" command
*/
static const vshCmdInfo info_domuuid[] = {
- {"syntax", "domuuid <domain>"},
{"help", gettext_noop("convert a domain name or id to domain UUID")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "migrate" command
*/
static const vshCmdInfo info_migrate[] = {
- {"syntax", "migrate [--live] <domain> <desturi> [<migrateuri>]"},
{"help", gettext_noop("migrate domain to another host")},
{"desc", gettext_noop("Migrate domain to another host. Add --live for live migration.")},
{NULL, NULL}
* "net-autostart" command
*/
static const vshCmdInfo info_network_autostart[] = {
- {"syntax", "net-autostart [--disable] <network>"},
{"help", gettext_noop("autostart a network")},
{"desc",
gettext_noop("Configure a network to be automatically started at boot.")},
* "net-create" command
*/
static const vshCmdInfo info_network_create[] = {
- {"syntax", "net-create <file>"},
{"help", gettext_noop("create a network from an XML file")},
{"desc", gettext_noop("Create a network.")},
{NULL, NULL}
* "net-define" command
*/
static const vshCmdInfo info_network_define[] = {
- {"syntax", "net-define <file>"},
{"help", gettext_noop("define (but don't start) a network from an XML file")},
{"desc", gettext_noop("Define a network.")},
{NULL, NULL}
* "net-destroy" command
*/
static const vshCmdInfo info_network_destroy[] = {
- {"syntax", "net-destroy <network>"},
{"help", gettext_noop("destroy a network")},
{"desc", gettext_noop("Destroy a given network.")},
{NULL, NULL}
* "net-dumpxml" command
*/
static const vshCmdInfo info_network_dumpxml[] = {
- {"syntax", "net-dumpxml <network>"},
{"help", gettext_noop("network information in XML")},
{"desc", gettext_noop("Output the network information as an XML dump to stdout.")},
{NULL, NULL}
* "net-list" command
*/
static const vshCmdInfo info_network_list[] = {
- {"syntax", "net-list [ --inactive | --all ]"},
{"help", gettext_noop("list networks")},
{"desc", gettext_noop("Returns list of networks.")},
{NULL, NULL}
* "net-name" command
*/
static const vshCmdInfo info_network_name[] = {
- {"syntax", "net-name <network>"},
{"help", gettext_noop("convert a network UUID to network name")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "net-start" command
*/
static const vshCmdInfo info_network_start[] = {
- {"syntax", "net-start <network>"},
{"help", gettext_noop("start a (previously defined) inactive network")},
{"desc", gettext_noop("Start a network.")},
{NULL, NULL}
* "net-undefine" command
*/
static const vshCmdInfo info_network_undefine[] = {
- {"syntax", "net-undefine <network>"},
{"help", gettext_noop("undefine an inactive network")},
{"desc", gettext_noop("Undefine the configuration for an inactive network.")},
{NULL, NULL}
* "net-uuid" command
*/
static const vshCmdInfo info_network_uuid[] = {
- {"syntax", "net-uuid <network>"},
{"help", gettext_noop("convert a network name to network UUID")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "pool-autostart" command
*/
static const vshCmdInfo info_pool_autostart[] = {
- {"syntax", "pool-autostart [--disable] <pool>"},
{"help", gettext_noop("autostart a pool")},
{"desc",
gettext_noop("Configure a pool to be automatically started at boot.")},
* "pool-create" command
*/
static const vshCmdInfo info_pool_create[] = {
- {"syntax", "pool-create <file>"},
{"help", gettext_noop("create a pool from an XML file")},
{"desc", gettext_noop("Create a pool.")},
{NULL, NULL}
* "pool-create-as" command
*/
static const vshCmdInfo info_pool_create_as[] = {
- {"syntax", "pool-create-as <name> <type>"},
{"help", gettext_noop("create a pool from a set of args")},
{"desc", gettext_noop("Create a pool.")},
{NULL, NULL}
* "pool-define" command
*/
static const vshCmdInfo info_pool_define[] = {
- {"syntax", "pool-define <file>"},
{"help", gettext_noop("define (but don't start) a pool from an XML file")},
{"desc", gettext_noop("Define a pool.")},
{NULL, NULL}
* "pool-define-as" command
*/
static const vshCmdInfo info_pool_define_as[] = {
- {"syntax", "pool-define-as <name> <type>"},
{"help", gettext_noop("define a pool from a set of args")},
{"desc", gettext_noop("Define a pool.")},
{NULL, NULL}
* "pool-build" command
*/
static const vshCmdInfo info_pool_build[] = {
- {"syntax", "pool-build <pool>"},
{"help", gettext_noop("build a pool")},
{"desc", gettext_noop("Build a given pool.")},
{NULL, NULL}
* "pool-destroy" command
*/
static const vshCmdInfo info_pool_destroy[] = {
- {"syntax", "pool-destroy <pool>"},
{"help", gettext_noop("destroy a pool")},
{"desc", gettext_noop("Destroy a given pool.")},
{NULL, NULL}
* "pool-delete" command
*/
static const vshCmdInfo info_pool_delete[] = {
- {"syntax", "pool-delete <pool>"},
{"help", gettext_noop("delete a pool")},
{"desc", gettext_noop("Delete a given pool.")},
{NULL, NULL}
* "pool-refresh" command
*/
static const vshCmdInfo info_pool_refresh[] = {
- {"syntax", "pool-refresh <pool>"},
{"help", gettext_noop("refresh a pool")},
{"desc", gettext_noop("Refresh a given pool.")},
{NULL, NULL}
* "pool-dumpxml" command
*/
static const vshCmdInfo info_pool_dumpxml[] = {
- {"syntax", "pool-dumpxml <pool>"},
{"help", gettext_noop("pool information in XML")},
{"desc", gettext_noop("Output the pool information as an XML dump to stdout.")},
{NULL, NULL}
* "pool-list" command
*/
static const vshCmdInfo info_pool_list[] = {
- {"syntax", "pool-list [ --inactive | --all ]"},
{"help", gettext_noop("list pools")},
{"desc", gettext_noop("Returns list of pools.")},
{NULL, NULL}
* "find-storage-pool-sources-as" command
*/
static const vshCmdInfo info_find_storage_pool_sources_as[] = {
- {"syntax", "find-storage-pool-sources-as <type> [options]"},
{"help", gettext_noop("find potential storage pool sources")},
{"desc", gettext_noop("Returns XML <sources> document.")},
{NULL, NULL}
* "find-storage-pool-sources" command
*/
static const vshCmdInfo info_find_storage_pool_sources[] = {
- {"syntax", "find-storage-pool-sources <type> [srcSpec]"},
{"help", gettext_noop("discover potential storage pool sources")},
{"desc", gettext_noop("Returns XML <sources> document.")},
{NULL, NULL}
* "pool-info" command
*/
static const vshCmdInfo info_pool_info[] = {
- {"syntax", "pool-info <pool>"},
{"help", gettext_noop("storage pool information")},
{"desc", gettext_noop("Returns basic information about the storage pool.")},
{NULL, NULL}
* "pool-name" command
*/
static const vshCmdInfo info_pool_name[] = {
- {"syntax", "pool-name <pool>"},
{"help", gettext_noop("convert a pool UUID to pool name")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "pool-start" command
*/
static const vshCmdInfo info_pool_start[] = {
- {"syntax", "pool-start <pool>"},
{"help", gettext_noop("start a (previously defined) inactive pool")},
{"desc", gettext_noop("Start a pool.")},
{NULL, NULL}
* "vol-create-as" command
*/
static const vshCmdInfo info_vol_create_as[] = {
- {"syntax", "vol-create-as <pool> <name> <capacity>"},
{"help", gettext_noop("create a volume from a set of args")},
{"desc", gettext_noop("Create a vol.")},
{NULL, NULL}
* "pool-undefine" command
*/
static const vshCmdInfo info_pool_undefine[] = {
- {"syntax", "pool-undefine <pool>"},
{"help", gettext_noop("undefine an inactive pool")},
{"desc", gettext_noop("Undefine the configuration for an inactive pool.")},
{NULL, NULL}
* "pool-uuid" command
*/
static const vshCmdInfo info_pool_uuid[] = {
- {"syntax", "pool-uuid <pool>"},
{"help", gettext_noop("convert a pool name to pool UUID")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "vol-create" command
*/
static const vshCmdInfo info_vol_create[] = {
- {"syntax", "vol-create <file>"},
{"help", gettext_noop("create a vol from an XML file")},
{"desc", gettext_noop("Create a vol.")},
{NULL, NULL}
* "vol-delete" command
*/
static const vshCmdInfo info_vol_delete[] = {
- {"syntax", "vol-delete <vol>"},
{"help", gettext_noop("delete a vol")},
{"desc", gettext_noop("Delete a given vol.")},
{NULL, NULL}
* "vol-info" command
*/
static const vshCmdInfo info_vol_info[] = {
- {"syntax", "vol-info <vol>"},
{"help", gettext_noop("storage vol information")},
{"desc", gettext_noop("Returns basic information about the storage vol.")},
{NULL, NULL}
* "vol-dumpxml" command
*/
static const vshCmdInfo info_vol_dumpxml[] = {
- {"syntax", "vol-dumpxml <vol>"},
{"help", gettext_noop("vol information in XML")},
{"desc", gettext_noop("Output the vol information as an XML dump to stdout.")},
{NULL, NULL}
* "vol-list" command
*/
static const vshCmdInfo info_vol_list[] = {
- {"syntax", "vol-list <pool>"},
{"help", gettext_noop("list vols")},
{"desc", gettext_noop("Returns list of vols by pool.")},
{NULL, NULL}
* "vol-name" command
*/
static const vshCmdInfo info_vol_name[] = {
- {"syntax", "vol-name <vol>"},
{"help", gettext_noop("convert a vol UUID to vol name")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "vol-key" command
*/
static const vshCmdInfo info_vol_key[] = {
- {"syntax", "vol-key <vol>"},
{"help", gettext_noop("convert a vol UUID to vol key")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "vol-path" command
*/
static const vshCmdInfo info_vol_path[] = {
- {"syntax", "vol-path <pool> <vol>"},
{"help", gettext_noop("convert a vol UUID to vol path")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "version" command
*/
static const vshCmdInfo info_version[] = {
- {"syntax", "version"},
{"help", gettext_noop("show version")},
{"desc", gettext_noop("Display the system version information.")},
{NULL, NULL}
* "nodedev-list" command
*/
static const vshCmdInfo info_node_list_devices[] = {
- {"syntax", "nodedev-list [--cap <capability>]"},
{"help", gettext_noop("enumerate devices on this host")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "nodedev-dumpxml" command
*/
static const vshCmdInfo info_node_device_dumpxml[] = {
- {"syntax", "nodedev-dumpxml <device>"},
{"help", gettext_noop("node device details in XML")},
{"desc", gettext_noop("Output the node device details as an XML dump to stdout.")},
{NULL, NULL}
* "hostkey" command
*/
static const vshCmdInfo info_hostname[] = {
- {"syntax", "hostname"},
{"help", gettext_noop("print the hypervisor hostname")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "uri" command
*/
static const vshCmdInfo info_uri[] = {
- {"syntax", "uri"},
{"help", gettext_noop("print the hypervisor canonical URI")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}
* "vncdisplay" command
*/
static const vshCmdInfo info_vncdisplay[] = {
- {"syntax", "vncdisplay <domain>"},
{"help", gettext_noop("vnc display")},
{"desc", gettext_noop("Output the IP address and port number for the VNC display.")},
{NULL, NULL}
* "ttyconsole" command
*/
static const vshCmdInfo info_ttyconsole[] = {
- {"syntax", "ttyconsole <domain>"},
{"help", gettext_noop("tty console")},
{"desc", gettext_noop("Output the device for the TTY console.")},
{NULL, NULL}
* "attach-device" command
*/
static const vshCmdInfo info_attach_device[] = {
- {"syntax", "attach-device <domain> <file> "},
{"help", gettext_noop("attach device from an XML file")},
{"desc", gettext_noop("Attach device from an XML <file>.")},
{NULL, NULL}
* "detach-device" command
*/
static const vshCmdInfo info_detach_device[] = {
- {"syntax", "detach-device <domain> <file> "},
{"help", gettext_noop("detach device from an XML file")},
{"desc", gettext_noop("Detach device from an XML <file>")},
{NULL, NULL}
* "attach-interface" command
*/
static const vshCmdInfo info_attach_interface[] = {
- {"syntax", "attach-interface <domain> <type> <source> [--target <target>] [--mac <mac>] [--script <script>] "},
{"help", gettext_noop("attach network interface")},
{"desc", gettext_noop("Attach new network interface.")},
{NULL, NULL}
* "detach-interface" command
*/
static const vshCmdInfo info_detach_interface[] = {
- {"syntax", "detach-interface <domain> <type> [--mac <mac>] "},
{"help", gettext_noop("detach network interface")},
{"desc", gettext_noop("Detach network interface.")},
{NULL, NULL}
* "attach-disk" command
*/
static const vshCmdInfo info_attach_disk[] = {
- {"syntax", "attach-disk <domain> <source> <target> [--driver <driver>] [--subdriver <subdriver>] [--type <type>] [--mode <mode>] "},
{"help", gettext_noop("attach disk device")},
{"desc", gettext_noop("Attach new disk device.")},
{NULL, NULL}
* "detach-disk" command
*/
static const vshCmdInfo info_detach_disk[] = {
- {"syntax", "detach-disk <domain> <target> "},
{"help", gettext_noop("detach disk device")},
{"desc", gettext_noop("Detach disk device.")},
{NULL, NULL}
* "edit" command
*/
static const vshCmdInfo info_edit[] = {
- {"syntax", "edit <domain>"},
{"help", gettext_noop("edit XML configuration for a domain")},
{"desc", gettext_noop("Edit the XML configuration for a domain.")},
{NULL, NULL}
* "net-edit" command
*/
static const vshCmdInfo info_network_edit[] = {
- {"syntax", "net-edit <network>"},
{"help", gettext_noop("edit XML configuration for a network")},
{"desc", gettext_noop("Edit the XML configuration for a network.")},
{NULL, NULL}
* "pool-edit" command
*/
static const vshCmdInfo info_pool_edit[] = {
- {"syntax", "pool-edit <domain>"},
{"help", gettext_noop("edit XML configuration for a storage pool")},
{"desc", gettext_noop("Edit the XML configuration for a storage pool.")},
{NULL, NULL}
* "quit" command
*/
static const vshCmdInfo info_quit[] = {
- {"syntax", "quit"},
{"help", gettext_noop("quit this interactive terminal")},
{"desc", gettext_noop("")}, /* FIXME: describe */
{NULL, NULL}