1 HXCOMM Use
DEFHEADING() to define headings
in both help text and texi
2 HXCOMM Text between STEXI and ETEXI are copied to texi version and
3 HXCOMM discarded from C version
4 HXCOMM
DEF(command
, args
, callback, arg_string
, help
) is used to construct
5 HXCOMM monitor info commands
6 HXCOMM HXCOMM can be used
for comments
, discarded from both texi and C
10 @item info @
var{subcommand
}
12 Show various information about the system state
.
20 .help
= "show the version of QEMU",
21 .cmd
= hmp_info_version
,
27 Show the version of QEMU
.
34 .help
= "show the network state",
35 .cmd
= hmp_info_network
,
41 Show the network state
.
48 .help
= "show the character devices",
49 .cmd
= hmp_info_chardev
,
55 Show the character devices
.
60 .args_type
= "nodes:-n,verbose:-v,device:B?",
61 .params
= "[-n] [-v] [device]",
62 .help
= "show info of one block device or all block devices "
63 "(-n: show named nodes; -v: show details)",
64 .cmd
= hmp_info_block
,
70 Show info of one block device or all block devices
.
77 .help
= "show block device statistics",
78 .cmd
= hmp_info_blockstats
,
83 @findex info blockstats
84 Show block device statistics
.
91 .help
= "show progress of ongoing block device operations",
92 .cmd
= hmp_info_block_jobs
,
97 @findex info block
-jobs
98 Show progress of ongoing block device operations
.
103 .args_type
= "cpustate_all:-a",
105 .help
= "show the cpu registers (-a: all - show register info for all cpus)",
106 .cmd
= hmp_info_registers
,
111 @findex info registers
112 Show the cpu registers
.
115 #
if defined(TARGET_I386
)
118 .args_type
= "apic-id:i?",
119 .params
= "[apic-id]",
120 .help
= "show local apic state (apic-id: local apic to read, default is which of current CPU)",
122 .cmd
= hmp_info_local_apic
,
129 Show local APIC state
132 #
if defined(TARGET_I386
)
137 .help
= "show io apic state",
138 .cmd
= hmp_info_io_apic
,
152 .help
= "show infos for each CPU",
153 .cmd
= hmp_info_cpus
,
159 Show infos
for each CPU
.
166 .help
= "show the command line history",
167 .cmd
= hmp_info_history
,
173 Show the command line history
.
180 .help
= "show the interrupts statistics (if available)",
187 Show the interrupts
statistics (if available
).
194 .help
= "show PIC state",
201 Show
i8259 (PIC
) state
.
208 .help
= "show PCI info",
215 Show PCI information
.
218 #
if defined(TARGET_I386
) ||
defined(TARGET_SH4
) ||
defined(TARGET_SPARC
) || \
219 defined(TARGET_PPC
) ||
defined(TARGET_XTENSA
) ||
defined(TARGET_M68K
)
224 .help
= "show virtual to physical memory mappings",
232 Show virtual to physical memory mappings
.
235 #
if defined(TARGET_I386
)
240 .help
= "show the active virtual memory mappings",
248 Show the active virtual memory mappings
.
253 .args_type
= "flatview:-f,dispatch_tree:-d",
254 .params
= "[-f][-d]",
255 .help
= "show memory tree (-f: dump flat view for address spaces;"
256 "-d: dump dispatch tree, valid with -f only)",
257 .cmd
= hmp_info_mtree
,
266 #
if defined(CONFIG_TCG
)
271 .help
= "show dynamic compiler info",
279 Show
dynamic compiler info
.
282 #
if defined(CONFIG_TCG
)
287 .help
= "show dynamic compiler opcode counters",
288 .cmd
= hmp_info_opcount
,
295 Show
dynamic compiler opcode counters
302 .help
= "show KVM information",
309 Show KVM information
.
316 .help
= "show NUMA information",
317 .cmd
= hmp_info_numa
,
323 Show NUMA information
.
330 .help
= "show guest USB devices",
337 Show guest USB devices
.
344 .help
= "show host USB devices",
345 .cmd
= hmp_info_usbhost
,
351 Show host USB devices
.
358 .help
= "show profiling information",
359 .cmd
= hmp_info_profile
,
365 Show profiling information
.
372 .help
= "show capture information",
373 .cmd
= hmp_info_capture
,
379 Show capture information
.
386 .help
= "show the currently saved VM snapshots",
387 .cmd
= hmp_info_snapshots
,
392 @findex info snapshots
393 Show the currently saved VM snapshots
.
400 .help
= "show the current VM status (running|paused)",
401 .cmd
= hmp_info_status
,
407 Show the current VM
status (running|paused
).
414 .help
= "show which guest mouse is receiving events",
415 .cmd
= hmp_info_mice
,
421 Show which guest mouse is receiving events
.
428 .help
= "show the vnc server status",
435 Show the vnc server status
.
438 #
if defined(CONFIG_SPICE
)
443 .help
= "show the spice server status",
444 .cmd
= hmp_info_spice
,
451 Show the spice server status
.
458 .help
= "show the current VM name",
459 .cmd
= hmp_info_name
,
465 Show the current VM name
.
472 .help
= "show the current VM UUID",
473 .cmd
= hmp_info_uuid
,
479 Show the current VM UUID
.
486 .help
= "show CPU statistics",
487 .cmd
= hmp_info_cpustats
,
492 @findex info cpustats
496 #
if defined(CONFIG_SLIRP
)
501 .help
= "show user network stack connection states",
502 .cmd
= hmp_info_usernet
,
509 Show user network stack connection states
.
516 .help
= "show migration status",
517 .cmd
= hmp_info_migrate
,
523 Show migration status
.
527 .name
= "migrate_capabilities",
530 .help
= "show current migration capabilities",
531 .cmd
= hmp_info_migrate_capabilities
,
535 @item info migrate_capabilities
536 @findex info migrate_capabilities
537 Show current migration capabilities
.
541 .name
= "migrate_parameters",
544 .help
= "show current migration parameters",
545 .cmd
= hmp_info_migrate_parameters
,
549 @item info migrate_parameters
550 @findex info migrate_parameters
551 Show current migration parameters
.
555 .name
= "migrate_cache_size",
558 .help
= "show current migration xbzrle cache size",
559 .cmd
= hmp_info_migrate_cache_size
,
563 @item info migrate_cache_size
564 @findex info migrate_cache_size
565 Show current migration xbzrle cache size
.
572 .help
= "show balloon information",
573 .cmd
= hmp_info_balloon
,
579 Show balloon information
.
586 .help
= "show device tree",
587 .cmd
= hmp_info_qtree
,
600 .help
= "show qdev device model list",
607 Show qdev device model list
.
612 .args_type
= "path:s?",
614 .help
= "show QOM composition tree",
615 .cmd
= hmp_info_qom_tree
,
620 @findex info qom
-tree
621 Show QOM composition tree
.
629 .cmd
= hmp_info_roms
,
639 .name
= "trace-events",
640 .args_type
= "name:s?,vcpu:i?",
641 .params
= "[name] [vcpu]",
642 .help
= "show available trace-events & their state "
643 "(name: event name pattern; vcpu: vCPU to query, default is any)",
644 .cmd
= hmp_info_trace_events
,
645 .command_completion
= info_trace_events_completion
,
649 @item info
trace-events
650 @findex info
trace-events
651 Show available
trace-events
& their state
.
658 .help
= "show the TPM device",
672 .help
= "show memory backends",
673 .cmd
= hmp_info_memdev
,
683 .name
= "memory-devices",
686 .help
= "show memory devices",
687 .cmd
= hmp_info_memory_devices
,
691 @item info memory
-devices
692 @findex info memory
-devices
700 .help
= "show iothreads",
701 .cmd
= hmp_info_iothreads
,
706 @findex info iothreads
707 Show iothread
's identifiers.
712 .args_type = "name:s",
714 .help = "Show rocker switch",
719 @item info rocker @var{name}
725 .name = "rocker-ports",
726 .args_type = "name:s",
728 .help = "Show rocker ports",
729 .cmd = hmp_rocker_ports,
733 @item info rocker-ports @var{name}-ports
734 @findex info rocker-ports
739 .name = "rocker-of-dpa-flows",
740 .args_type = "name:s,tbl_id:i?",
741 .params = "name [tbl_id]",
742 .help = "Show rocker OF-DPA flow tables",
743 .cmd = hmp_rocker_of_dpa_flows,
747 @item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
748 @findex info rocker-of-dpa-flows
749 Show rocker OF-DPA flow tables.
753 .name = "rocker-of-dpa-groups",
754 .args_type = "name:s,type:i?",
755 .params = "name [type]",
756 .help = "Show rocker OF-DPA groups",
757 .cmd = hmp_rocker_of_dpa_groups,
761 @item info rocker-of-dpa-groups @var{name} [@var{type}]
762 @findex info rocker-of-dpa-groups
763 Show rocker OF-DPA groups.
766 #if defined(TARGET_S390X)
769 .args_type = "addr:l",
771 .help = "Display the value of a storage key",
772 .cmd = hmp_info_skeys,
777 @item info skeys @var{address}
779 Display the value of a storage key (s390 only)
782 #if defined(TARGET_S390X)
785 .args_type = "addr:l,count:l?",
786 .params = "address [count]",
787 .help = "Display the values of the CMMA storage attributes for a range of pages",
788 .cmd = hmp_info_cmma,
793 @item info cmma @var{address}
795 Display the values of the CMMA storage attributes for a range of pages (s390 only)
802 .help = "Display the latest dump status",
803 .cmd = hmp_info_dump,
809 Display the latest dump status.
816 .help = "Display system ramblock information",
817 .cmd = hmp_info_ramblock,
822 @findex info ramblock
823 Dump all the ramblocks of the system.
827 .name = "hotpluggable-cpus",
830 .help = "Show information about hotpluggable CPUs",
831 .cmd = hmp_hotpluggable_cpus,
835 @item info hotpluggable-cpus
836 @findex info hotpluggable-cpus
837 Show information about hotpluggable CPUs
841 .name = "vm-generation-id",
844 .help = "Show Virtual Machine Generation ID",
845 .cmd = hmp_info_vm_generation_id,
849 @item info vm-generation-id
850 @findex info vm-generation-id
851 Show Virtual Machine Generation ID
855 .name = "memory_size_summary",
858 .help = "show the amount of initially allocated and "
859 "present hotpluggable (if enabled) memory in bytes.",
860 .cmd = hmp_info_memory_size_summary,
864 @item info memory_size_summary
865 @findex info memory_size_summary
866 Display the amount of initially allocated and present hotpluggable (if
867 enabled) memory in bytes.
870 #if defined(TARGET_I386)
875 .help = "show SEV information",
883 Show SEV information.