2015-09-10 15:38:58 +00:00
|
|
|
HXCOMM Use DEFHEADING() to define headings in both help text and texi
|
|
|
|
HXCOMM Text between STEXI and ETEXI are copied to texi version and
|
|
|
|
HXCOMM discarded from C version
|
|
|
|
HXCOMM DEF(command, args, callback, arg_string, help) is used to construct
|
|
|
|
HXCOMM monitor info commands
|
|
|
|
HXCOMM HXCOMM can be used for comments, discarded from both texi and C
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@table @option
|
2015-09-10 15:39:01 +00:00
|
|
|
@item info @var{subcommand}
|
|
|
|
@findex info
|
|
|
|
Show various information about the system state.
|
|
|
|
@table @option
|
2015-09-10 15:38:58 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "version",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the version of QEMU",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_version,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info version
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info version
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the version of QEMU.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "network",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the network state",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_network,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info network
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info network
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the network state.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "chardev",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the character devices",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_chardev,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info chardev
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info chardev
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the character devices.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "block",
|
|
|
|
.args_type = "nodes:-n,verbose:-v,device:B?",
|
|
|
|
.params = "[-n] [-v] [device]",
|
|
|
|
.help = "show info of one block device or all block devices "
|
|
|
|
"(-n: show named nodes; -v: show details)",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_block,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info block
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info block
|
2015-09-10 15:38:58 +00:00
|
|
|
Show info of one block device or all block devices.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "blockstats",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show block device statistics",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_blockstats,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info blockstats
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info blockstats
|
2015-09-10 15:38:58 +00:00
|
|
|
Show block device statistics.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "block-jobs",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show progress of ongoing block device operations",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_block_jobs,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info block-jobs
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info block-jobs
|
2015-09-10 15:38:58 +00:00
|
|
|
Show progress of ongoing block device operations.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "registers",
|
2017-06-08 05:41:16 +00:00
|
|
|
.args_type = "cpustate_all:-a",
|
|
|
|
.params = "[-a]",
|
|
|
|
.help = "show the cpu registers (-a: all - show register info for all cpus)",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_registers,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info registers
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info registers
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the cpu registers.
|
2015-09-22 13:18:18 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
#if defined(TARGET_I386)
|
|
|
|
{
|
|
|
|
.name = "lapic",
|
2017-07-26 06:18:37 +00:00
|
|
|
.args_type = "apic-id:i?",
|
|
|
|
.params = "[apic-id]",
|
|
|
|
.help = "show local apic state (apic-id: local apic to read, default is which of current CPU)",
|
|
|
|
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_local_apic,
|
2015-09-22 13:18:18 +00:00
|
|
|
},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info lapic
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info lapic
|
2015-09-22 13:18:18 +00:00
|
|
|
Show local APIC state
|
2015-09-22 13:18:20 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
#if defined(TARGET_I386)
|
|
|
|
{
|
|
|
|
.name = "ioapic",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show io apic state",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_io_apic,
|
2015-09-22 13:18:20 +00:00
|
|
|
},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info ioapic
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info ioapic
|
2015-09-22 13:18:20 +00:00
|
|
|
Show io APIC state
|
2015-09-10 15:38:58 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "cpus",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show infos for each CPU",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_cpus,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info cpus
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info cpus
|
2015-09-10 15:38:58 +00:00
|
|
|
Show infos for each CPU.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "history",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the command line history",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_history,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info history
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info history
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the command line history.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "irq",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the interrupts statistics (if available)",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_irq,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info irq
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info irq
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the interrupts statistics (if available).
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "pic",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
2016-09-26 20:23:28 +00:00
|
|
|
.help = "show PIC state",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_pic,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info pic
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info pic
|
2017-12-29 07:31:00 +00:00
|
|
|
Show PIC state.
|
2015-09-18 15:18:29 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "pci",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show PCI info",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_pci,
|
2015-09-18 15:18:29 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info pci
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info pci
|
2015-09-18 15:18:29 +00:00
|
|
|
Show PCI information.
|
2015-09-10 15:38:58 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
#if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
|
2018-01-18 19:38:46 +00:00
|
|
|
defined(TARGET_PPC) || defined(TARGET_XTENSA) || defined(TARGET_M68K)
|
2015-09-10 15:38:58 +00:00
|
|
|
{
|
|
|
|
.name = "tlb",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show virtual to physical memory mappings",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_tlb,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info tlb
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info tlb
|
2015-09-10 15:38:58 +00:00
|
|
|
Show virtual to physical memory mappings.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
#if defined(TARGET_I386)
|
|
|
|
{
|
|
|
|
.name = "mem",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the active virtual memory mappings",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_mem,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info mem
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info mem
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the active virtual memory mappings.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "mtree",
|
2018-06-04 03:25:11 +00:00
|
|
|
.args_type = "flatview:-f,dispatch_tree:-d,owner:-o",
|
|
|
|
.params = "[-f][-d][-o]",
|
2017-09-21 08:51:06 +00:00
|
|
|
.help = "show memory tree (-f: dump flat view for address spaces;"
|
2018-06-04 03:25:11 +00:00
|
|
|
"-d: dump dispatch tree, valid with -f only);"
|
|
|
|
"-o: dump region owners/parents",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_mtree,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info mtree
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info mtree
|
2015-09-10 15:38:58 +00:00
|
|
|
Show memory tree.
|
|
|
|
ETEXI
|
|
|
|
|
2012-09-17 11:42:41 +00:00
|
|
|
#if defined(CONFIG_TCG)
|
2015-09-10 15:38:58 +00:00
|
|
|
{
|
|
|
|
.name = "jit",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show dynamic compiler info",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_jit,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
2012-09-17 11:42:41 +00:00
|
|
|
#endif
|
2015-09-10 15:38:58 +00:00
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info jit
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info jit
|
2015-09-10 15:38:58 +00:00
|
|
|
Show dynamic compiler info.
|
|
|
|
ETEXI
|
|
|
|
|
2012-09-17 11:42:41 +00:00
|
|
|
#if defined(CONFIG_TCG)
|
2015-09-10 15:38:58 +00:00
|
|
|
{
|
|
|
|
.name = "opcount",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show dynamic compiler opcode counters",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_opcount,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
2012-09-17 11:42:41 +00:00
|
|
|
#endif
|
2015-09-10 15:38:58 +00:00
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info opcount
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info opcount
|
2015-09-10 15:38:58 +00:00
|
|
|
Show dynamic compiler opcode counters
|
2017-08-08 17:54:42 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "sync-profile",
|
|
|
|
.args_type = "mean:-m,no_coalesce:-n,max:i?",
|
|
|
|
.params = "[-m] [-n] [max]",
|
|
|
|
.help = "show synchronization profiling info, up to max entries "
|
|
|
|
"(default: 10), sorted by total wait time. (-m: sort by "
|
|
|
|
"mean wait time; -n: do not coalesce objects with the "
|
|
|
|
"same call site)",
|
|
|
|
.cmd = hmp_info_sync_profile,
|
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info sync-profile [-m|-n] [@var{max}]
|
|
|
|
@findex info sync-profile
|
|
|
|
Show synchronization profiling info, up to @var{max} entries (default: 10),
|
|
|
|
sorted by total wait time.
|
|
|
|
-m: sort by mean wait time
|
|
|
|
-n: do not coalesce objects with the same call site
|
|
|
|
When different objects that share the same call site are coalesced, the "Object"
|
|
|
|
field shows---enclosed in brackets---the number of objects being coalesced.
|
2015-09-10 15:38:58 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "kvm",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show KVM information",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_kvm,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info kvm
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info kvm
|
2015-09-10 15:38:58 +00:00
|
|
|
Show KVM information.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "numa",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show NUMA information",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_numa,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info numa
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info numa
|
2015-09-10 15:38:58 +00:00
|
|
|
Show NUMA information.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "usb",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show guest USB devices",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_usb,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info usb
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info usb
|
2015-09-10 15:38:58 +00:00
|
|
|
Show guest USB devices.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "usbhost",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show host USB devices",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_usbhost,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info usbhost
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info usbhost
|
2015-09-10 15:38:58 +00:00
|
|
|
Show host USB devices.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "profile",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show profiling information",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_profile,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info profile
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info profile
|
2015-09-10 15:38:58 +00:00
|
|
|
Show profiling information.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "capture",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show capture information",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_capture,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info capture
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info capture
|
2015-09-10 15:38:58 +00:00
|
|
|
Show capture information.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "snapshots",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the currently saved VM snapshots",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_snapshots,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info snapshots
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info snapshots
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the currently saved VM snapshots.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "status",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the current VM status (running|paused)",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_status,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info status
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info status
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the current VM status (running|paused).
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "mice",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show which guest mouse is receiving events",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_mice,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info mice
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info mice
|
2015-09-10 15:38:58 +00:00
|
|
|
Show which guest mouse is receiving events.
|
|
|
|
ETEXI
|
|
|
|
|
qapi: add conditions to VNC type/commands/events on the schema
Add #if defined(CONFIG_VNC) in generated code, and adjust the
qmp/hmp code accordingly.
query-qmp-schema no longer reports the command/events etc as
available when disabled at compile.
Commands made conditional:
* query-vnc, query-vnc-servers, change-vnc-password
Before the patch, the commands for !CONFIG_VNC are stubs that fail
like this:
{"error": {"class": "GenericError",
"desc": "The feature 'vnc' is not enabled"}}
Afterwards, they fail like this:
{"error": {"class": "CommandNotFound",
"desc": "The command FOO has not been found"}}
I call that an improvement, because it lets clients distinguish
between command unavailable (class CommandNotFound) and command failed
(class GenericError).
Events made conditional:
* VNC_CONNECTED, VNC_INITIALIZED, VNC_DISCONNECTED
HMP change:
* info vnc
Will return "unknown command: 'info vnc'" when VNC is compiled
out (same as error for spice when --disable-spice)
Occurrences of VNC (case insensitive) in the schema that aren't
covered by this change:
* add_client
Command has other uses, including "socket bases character devices".
These are unconditional as far as I can tell.
* set_password, expire_password
In theory, these commands could be used for managing any service's
password. In practice, they're used for VNC and SPICE services.
They're documented for "remote display session" / "remote display
server".
The service is selected by argument @protocol. The code special-cases
protocol-specific argument checking, then calls a protocol-specific
function to do the work. If it fails, the command fails with "Could
not set password". It does when the service isn't compiled in (it's a
stub then).
We could make these commands conditional on the conjunction of all
services [currently: defined(CONFIG_VNC) || defined(CONFIG_SPICE)],
but I doubt it's worthwhile.
* change
Command has other uses, namely changing media.
This patch inlines a stub; no functional change.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180703155648.11933-14-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-07-03 15:56:47 +00:00
|
|
|
#if defined(CONFIG_VNC)
|
2015-09-10 15:38:58 +00:00
|
|
|
{
|
|
|
|
.name = "vnc",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the vnc server status",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_vnc,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
qapi: add conditions to VNC type/commands/events on the schema
Add #if defined(CONFIG_VNC) in generated code, and adjust the
qmp/hmp code accordingly.
query-qmp-schema no longer reports the command/events etc as
available when disabled at compile.
Commands made conditional:
* query-vnc, query-vnc-servers, change-vnc-password
Before the patch, the commands for !CONFIG_VNC are stubs that fail
like this:
{"error": {"class": "GenericError",
"desc": "The feature 'vnc' is not enabled"}}
Afterwards, they fail like this:
{"error": {"class": "CommandNotFound",
"desc": "The command FOO has not been found"}}
I call that an improvement, because it lets clients distinguish
between command unavailable (class CommandNotFound) and command failed
(class GenericError).
Events made conditional:
* VNC_CONNECTED, VNC_INITIALIZED, VNC_DISCONNECTED
HMP change:
* info vnc
Will return "unknown command: 'info vnc'" when VNC is compiled
out (same as error for spice when --disable-spice)
Occurrences of VNC (case insensitive) in the schema that aren't
covered by this change:
* add_client
Command has other uses, including "socket bases character devices".
These are unconditional as far as I can tell.
* set_password, expire_password
In theory, these commands could be used for managing any service's
password. In practice, they're used for VNC and SPICE services.
They're documented for "remote display session" / "remote display
server".
The service is selected by argument @protocol. The code special-cases
protocol-specific argument checking, then calls a protocol-specific
function to do the work. If it fails, the command fails with "Could
not set password". It does when the service isn't compiled in (it's a
stub then).
We could make these commands conditional on the conjunction of all
services [currently: defined(CONFIG_VNC) || defined(CONFIG_SPICE)],
but I doubt it's worthwhile.
* change
Command has other uses, namely changing media.
This patch inlines a stub; no functional change.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180703155648.11933-14-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-07-03 15:56:47 +00:00
|
|
|
#endif
|
2015-09-10 15:38:58 +00:00
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info vnc
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info vnc
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the vnc server status.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
#if defined(CONFIG_SPICE)
|
|
|
|
{
|
|
|
|
.name = "spice",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the spice server status",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_spice,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info spice
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info spice
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the spice server status.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "name",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the current VM name",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_name,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info name
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info name
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the current VM name.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "uuid",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the current VM UUID",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_uuid,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info uuid
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info uuid
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the current VM UUID.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "cpustats",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show CPU statistics",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_cpustats,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info cpustats
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info cpustats
|
2015-09-10 15:38:58 +00:00
|
|
|
Show CPU statistics.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
#if defined(CONFIG_SLIRP)
|
|
|
|
{
|
|
|
|
.name = "usernet",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show user network stack connection states",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_usernet,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info usernet
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info usernet
|
2015-09-10 15:38:58 +00:00
|
|
|
Show user network stack connection states.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "migrate",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show migration status",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_migrate,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info migrate
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info migrate
|
2015-09-10 15:38:58 +00:00
|
|
|
Show migration status.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "migrate_capabilities",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show current migration capabilities",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_migrate_capabilities,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info migrate_capabilities
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info migrate_capabilities
|
2015-09-10 15:38:58 +00:00
|
|
|
Show current migration capabilities.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "migrate_parameters",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show current migration parameters",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_migrate_parameters,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info migrate_parameters
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info migrate_parameters
|
2015-09-10 15:38:58 +00:00
|
|
|
Show current migration parameters.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "migrate_cache_size",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show current migration xbzrle cache size",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_migrate_cache_size,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info migrate_cache_size
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info migrate_cache_size
|
2015-09-10 15:38:58 +00:00
|
|
|
Show current migration xbzrle cache size.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "balloon",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show balloon information",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_balloon,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info balloon
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info balloon
|
2015-09-10 15:38:58 +00:00
|
|
|
Show balloon information.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "qtree",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show device tree",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_qtree,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info qtree
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info qtree
|
2015-09-10 15:38:58 +00:00
|
|
|
Show device tree.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "qdm",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show qdev device model list",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_qdm,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info qdm
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info qdm
|
2015-09-10 15:38:58 +00:00
|
|
|
Show qdev device model list.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "qom-tree",
|
|
|
|
.args_type = "path:s?",
|
|
|
|
.params = "[path]",
|
|
|
|
.help = "show QOM composition tree",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_qom_tree,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info qom-tree
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info qom-tree
|
2015-09-10 15:38:58 +00:00
|
|
|
Show QOM composition tree.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "roms",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show roms",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_roms,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info roms
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info roms
|
2015-09-10 15:38:58 +00:00
|
|
|
Show roms.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "trace-events",
|
2016-07-11 10:53:57 +00:00
|
|
|
.args_type = "name:s?,vcpu:i?",
|
|
|
|
.params = "[name] [vcpu]",
|
2016-07-11 10:53:51 +00:00
|
|
|
.help = "show available trace-events & their state "
|
2016-07-11 10:53:57 +00:00
|
|
|
"(name: event name pattern; vcpu: vCPU to query, default is any)",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_trace_events,
|
2016-07-11 10:53:51 +00:00
|
|
|
.command_completion = info_trace_events_completion,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info trace-events
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info trace-events
|
2015-09-10 15:38:58 +00:00
|
|
|
Show available trace-events & their state.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "tpm",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the TPM device",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_tpm,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info tpm
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info tpm
|
2015-09-10 15:38:58 +00:00
|
|
|
Show the TPM device.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "memdev",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show memory backends",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_memdev,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info memdev
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info memdev
|
2015-09-10 15:38:58 +00:00
|
|
|
Show memory backends
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "memory-devices",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show memory devices",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_memory_devices,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info memory-devices
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info memory-devices
|
2015-09-10 15:38:58 +00:00
|
|
|
Show memory devices.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "iothreads",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show iothreads",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_iothreads,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info iothreads
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info iothreads
|
2015-09-10 15:38:58 +00:00
|
|
|
Show iothread's identifiers.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "rocker",
|
|
|
|
.args_type = "name:s",
|
|
|
|
.params = "name",
|
|
|
|
.help = "Show rocker switch",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_rocker,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info rocker @var{name}
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info rocker
|
2015-09-10 15:38:58 +00:00
|
|
|
Show rocker switch.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "rocker-ports",
|
|
|
|
.args_type = "name:s",
|
|
|
|
.params = "name",
|
|
|
|
.help = "Show rocker ports",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_rocker_ports,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
2017-10-02 13:45:36 +00:00
|
|
|
@item info rocker-ports @var{name}-ports
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info rocker-ports
|
2015-09-10 15:38:58 +00:00
|
|
|
Show rocker ports.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "rocker-of-dpa-flows",
|
|
|
|
.args_type = "name:s,tbl_id:i?",
|
|
|
|
.params = "name [tbl_id]",
|
|
|
|
.help = "Show rocker OF-DPA flow tables",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_rocker_of_dpa_flows,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
2017-10-02 13:45:36 +00:00
|
|
|
@item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info rocker-of-dpa-flows
|
2015-09-10 15:38:58 +00:00
|
|
|
Show rocker OF-DPA flow tables.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "rocker-of-dpa-groups",
|
|
|
|
.args_type = "name:s,type:i?",
|
|
|
|
.params = "name [type]",
|
|
|
|
.help = "Show rocker OF-DPA groups",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_rocker_of_dpa_groups,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info rocker-of-dpa-groups @var{name} [@var{type}]
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info rocker-of-dpa-groups
|
2015-09-10 15:38:58 +00:00
|
|
|
Show rocker OF-DPA groups.
|
|
|
|
ETEXI
|
|
|
|
|
|
|
|
#if defined(TARGET_S390X)
|
|
|
|
{
|
|
|
|
.name = "skeys",
|
|
|
|
.args_type = "addr:l",
|
|
|
|
.params = "address",
|
|
|
|
.help = "Display the value of a storage key",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_skeys,
|
2015-09-10 15:38:58 +00:00
|
|
|
},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info skeys @var{address}
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info skeys
|
2015-09-10 15:38:58 +00:00
|
|
|
Display the value of a storage key (s390 only)
|
2016-08-15 16:44:04 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
#if defined(TARGET_S390X)
|
|
|
|
{
|
|
|
|
.name = "cmma",
|
|
|
|
.args_type = "addr:l,count:l?",
|
|
|
|
.params = "address [count]",
|
|
|
|
.help = "Display the values of the CMMA storage attributes for a range of pages",
|
|
|
|
.cmd = hmp_info_cmma,
|
|
|
|
},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info cmma @var{address}
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info cmma
|
2016-08-15 16:44:04 +00:00
|
|
|
Display the values of the CMMA storage attributes for a range of pages (s390 only)
|
2016-02-18 05:16:55 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "dump",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "Display the latest dump status",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_info_dump,
|
2016-02-18 05:16:55 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info dump
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info dump
|
2016-02-18 05:16:55 +00:00
|
|
|
Display the latest dump status.
|
2017-05-12 04:17:41 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "ramblock",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "Display system ramblock information",
|
|
|
|
.cmd = hmp_info_ramblock,
|
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info ramblock
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info ramblock
|
2017-05-12 04:17:41 +00:00
|
|
|
Dump all the ramblocks of the system.
|
2016-06-10 00:59:07 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "hotpluggable-cpus",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "Show information about hotpluggable CPUs",
|
2016-09-12 09:19:06 +00:00
|
|
|
.cmd = hmp_hotpluggable_cpus,
|
2018-06-20 15:39:45 +00:00
|
|
|
.flags = "p",
|
2016-06-10 00:59:07 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info hotpluggable-cpus
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info hotpluggable-cpus
|
2016-06-10 00:59:07 +00:00
|
|
|
Show information about hotpluggable CPUs
|
2017-02-16 23:15:37 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "vm-generation-id",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "Show Virtual Machine Generation ID",
|
|
|
|
.cmd = hmp_info_vm_generation_id,
|
|
|
|
},
|
|
|
|
|
2017-08-29 15:30:22 +00:00
|
|
|
STEXI
|
2017-10-02 13:45:37 +00:00
|
|
|
@item info vm-generation-id
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info vm-generation-id
|
2017-10-02 13:45:37 +00:00
|
|
|
Show Virtual Machine Generation ID
|
2017-08-29 15:30:22 +00:00
|
|
|
ETEXI
|
|
|
|
|
|
|
|
{
|
|
|
|
.name = "memory_size_summary",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show the amount of initially allocated and "
|
|
|
|
"present hotpluggable (if enabled) memory in bytes.",
|
|
|
|
.cmd = hmp_info_memory_size_summary,
|
|
|
|
},
|
|
|
|
|
2017-10-02 13:45:37 +00:00
|
|
|
STEXI
|
|
|
|
@item info memory_size_summary
|
2017-10-02 13:45:38 +00:00
|
|
|
@findex info memory_size_summary
|
2017-10-02 13:45:37 +00:00
|
|
|
Display the amount of initially allocated and present hotpluggable (if
|
|
|
|
enabled) memory in bytes.
|
|
|
|
ETEXI
|
|
|
|
|
2018-03-08 12:48:47 +00:00
|
|
|
#if defined(TARGET_I386)
|
|
|
|
{
|
|
|
|
.name = "sev",
|
|
|
|
.args_type = "",
|
|
|
|
.params = "",
|
|
|
|
.help = "show SEV information",
|
|
|
|
.cmd = hmp_info_sev,
|
|
|
|
},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
STEXI
|
|
|
|
@item info sev
|
|
|
|
@findex info sev
|
|
|
|
Show SEV information.
|
|
|
|
ETEXI
|
|
|
|
|
2015-09-10 15:38:58 +00:00
|
|
|
STEXI
|
|
|
|
@end table
|
|
|
|
ETEXI
|
2015-09-10 15:39:01 +00:00
|
|
|
|
|
|
|
STEXI
|
|
|
|
@end table
|
|
|
|
ETEXI
|