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
,
28 Show the version of QEMU
.
35 .help
= "show the network state",
36 .cmd
= hmp_info_network
,
42 Show the network state
.
49 .help
= "show the character devices",
50 .cmd
= hmp_info_chardev
,
57 Show the character devices
.
62 .args_type
= "nodes:-n,verbose:-v,device:B?",
63 .params
= "[-n] [-v] [device]",
64 .help
= "show info of one block device or all block devices "
65 "(-n: show named nodes; -v: show details)",
66 .cmd
= hmp_info_block
,
72 Show info of one block device or all block devices
.
79 .help
= "show block device statistics",
80 .cmd
= hmp_info_blockstats
,
85 @findex info blockstats
86 Show block device statistics
.
93 .help
= "show progress of ongoing block device operations",
94 .cmd
= hmp_info_block_jobs
,
99 @findex info block
-jobs
100 Show progress of ongoing block device operations
.
105 .args_type
= "cpustate_all:-a",
107 .help
= "show the cpu registers (-a: all - show register info for all cpus)",
108 .cmd
= hmp_info_registers
,
113 @findex info registers
114 Show the cpu registers
.
117 #
if defined(TARGET_I386
)
120 .args_type
= "apic-id:i?",
121 .params
= "[apic-id]",
122 .help
= "show local apic state (apic-id: local apic to read, default is which of current CPU)",
124 .cmd
= hmp_info_local_apic
,
131 Show local APIC state
134 #
if defined(TARGET_I386
)
139 .help
= "show io apic state",
140 .cmd
= hmp_info_io_apic
,
154 .help
= "show infos for each CPU",
155 .cmd
= hmp_info_cpus
,
161 Show infos
for each CPU
.
168 .help
= "show the command line history",
169 .cmd
= hmp_info_history
,
176 Show the command line history
.
183 .help
= "show the interrupts statistics (if available)",
190 Show the interrupts
statistics (if available
).
197 .help
= "show PIC state",
211 .help
= "show PCI info",
218 Show PCI information
.
221 #
if defined(TARGET_I386
) ||
defined(TARGET_SH4
) ||
defined(TARGET_SPARC
) || \
222 defined(TARGET_PPC
) ||
defined(TARGET_XTENSA
) ||
defined(TARGET_M68K
)
227 .help
= "show virtual to physical memory mappings",
235 Show virtual to physical memory mappings
.
238 #
if defined(TARGET_I386
)
243 .help
= "show the active virtual memory mappings",
251 Show the active virtual memory mappings
.
256 .args_type
= "flatview:-f,dispatch_tree:-d,owner:-o",
257 .params
= "[-f][-d][-o]",
258 .help
= "show memory tree (-f: dump flat view for address spaces;"
259 "-d: dump dispatch tree, valid with -f only);"
260 "-o: dump region owners/parents",
261 .cmd
= hmp_info_mtree
,
270 #
if defined(CONFIG_TCG
)
275 .help
= "show dynamic compiler info",
283 Show
dynamic compiler info
.
286 #
if defined(CONFIG_TCG
)
291 .help
= "show dynamic compiler opcode counters",
292 .cmd
= hmp_info_opcount
,
299 Show
dynamic compiler opcode counters
306 .help
= "show KVM information",
313 Show KVM information
.
320 .help
= "show NUMA information",
321 .cmd
= hmp_info_numa
,
327 Show NUMA information
.
334 .help
= "show guest USB devices",
341 Show guest USB devices
.
348 .help
= "show host USB devices",
349 .cmd
= hmp_info_usbhost
,
355 Show host USB devices
.
362 .help
= "show profiling information",
363 .cmd
= hmp_info_profile
,
369 Show profiling information
.
376 .help
= "show capture information",
377 .cmd
= hmp_info_capture
,
383 Show capture information
.
390 .help
= "show the currently saved VM snapshots",
391 .cmd
= hmp_info_snapshots
,
396 @findex info snapshots
397 Show the currently saved VM snapshots
.
404 .help
= "show the current VM status (running|paused)",
405 .cmd
= hmp_info_status
,
412 Show the current VM
status (running|paused
).
419 .help
= "show which guest mouse is receiving events",
420 .cmd
= hmp_info_mice
,
426 Show which guest mouse is receiving events
.
429 #
if defined(CONFIG_VNC
)
434 .help
= "show the vnc server status",
442 Show the vnc server status
.
445 #
if defined(CONFIG_SPICE
)
450 .help
= "show the spice server status",
451 .cmd
= hmp_info_spice
,
458 Show the spice server status
.
465 .help
= "show the current VM name",
466 .cmd
= hmp_info_name
,
473 Show the current VM name
.
480 .help
= "show the current VM UUID",
481 .cmd
= hmp_info_uuid
,
488 Show the current VM UUID
.
495 .help
= "show CPU statistics",
496 .cmd
= hmp_info_cpustats
,
501 @findex info cpustats
505 #
if defined(CONFIG_SLIRP
)
510 .help
= "show user network stack connection states",
511 .cmd
= hmp_info_usernet
,
518 Show user network stack connection states
.
525 .help
= "show migration status",
526 .cmd
= hmp_info_migrate
,
532 Show migration status
.
536 .name
= "migrate_capabilities",
539 .help
= "show current migration capabilities",
540 .cmd
= hmp_info_migrate_capabilities
,
544 @item info migrate_capabilities
545 @findex info migrate_capabilities
546 Show current migration capabilities
.
550 .name
= "migrate_parameters",
553 .help
= "show current migration parameters",
554 .cmd
= hmp_info_migrate_parameters
,
558 @item info migrate_parameters
559 @findex info migrate_parameters
560 Show current migration parameters
.
564 .name
= "migrate_cache_size",
567 .help
= "show current migration xbzrle cache size",
568 .cmd
= hmp_info_migrate_cache_size
,
572 @item info migrate_cache_size
573 @findex info migrate_cache_size
574 Show current migration xbzrle cache size
.
581 .help
= "show balloon information",
582 .cmd
= hmp_info_balloon
,
588 Show balloon information
.
595 .help
= "show device tree",
596 .cmd
= hmp_info_qtree
,
609 .help
= "show qdev device model list",
616 Show qdev device model list
.
621 .args_type
= "path:s?",
623 .help
= "show QOM composition tree",
624 .cmd
= hmp_info_qom_tree
,
630 @findex info qom
-tree
631 Show QOM composition tree
.
639 .cmd
= hmp_info_roms
,
649 .name
= "trace-events",
650 .args_type
= "name:s?,vcpu:i?",
651 .params
= "[name] [vcpu]",
652 .help
= "show available trace-events & their state "
653 "(name: event name pattern; vcpu: vCPU to query, default is any)",
654 .cmd
= hmp_info_trace_events
,
655 .command_completion
= info_trace_events_completion
,
659 @item info
trace-events
660 @findex info
trace-events
661 Show available
trace-events
& their state
.
668 .help
= "show the TPM device",
682 .help
= "show memory backends",
683 .cmd
= hmp_info_memdev
,
694 .name
= "memory-devices",
697 .help
= "show memory devices",
698 .cmd
= hmp_info_memory_devices
,
702 @item info memory
-devices
703 @findex info memory
-devices
711 .help
= "show iothreads",
712 .cmd
= hmp_info_iothreads
,
718 @findex info iothreads
719 Show iothread
's identifiers.
724 .args_type = "name:s",
726 .help = "Show rocker switch",
731 @item info rocker @var{name}
737 .name = "rocker-ports",
738 .args_type = "name:s",
740 .help = "Show rocker ports",
741 .cmd = hmp_rocker_ports,
745 @item info rocker-ports @var{name}-ports
746 @findex info rocker-ports
751 .name = "rocker-of-dpa-flows",
752 .args_type = "name:s,tbl_id:i?",
753 .params = "name [tbl_id]",
754 .help = "Show rocker OF-DPA flow tables",
755 .cmd = hmp_rocker_of_dpa_flows,
759 @item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
760 @findex info rocker-of-dpa-flows
761 Show rocker OF-DPA flow tables.
765 .name = "rocker-of-dpa-groups",
766 .args_type = "name:s,type:i?",
767 .params = "name [type]",
768 .help = "Show rocker OF-DPA groups",
769 .cmd = hmp_rocker_of_dpa_groups,
773 @item info rocker-of-dpa-groups @var{name} [@var{type}]
774 @findex info rocker-of-dpa-groups
775 Show rocker OF-DPA groups.
778 #if defined(TARGET_S390X)
781 .args_type = "addr:l",
783 .help = "Display the value of a storage key",
784 .cmd = hmp_info_skeys,
789 @item info skeys @var{address}
791 Display the value of a storage key (s390 only)
794 #if defined(TARGET_S390X)
797 .args_type = "addr:l,count:l?",
798 .params = "address [count]",
799 .help = "Display the values of the CMMA storage attributes for a range of pages",
800 .cmd = hmp_info_cmma,
805 @item info cmma @var{address}
807 Display the values of the CMMA storage attributes for a range of pages (s390 only)
814 .help = "Display the latest dump status",
815 .cmd = hmp_info_dump,
821 Display the latest dump status.
828 .help = "Display system ramblock information",
829 .cmd = hmp_info_ramblock,
834 @findex info ramblock
835 Dump all the ramblocks of the system.
839 .name = "hotpluggable-cpus",
842 .help = "Show information about hotpluggable CPUs",
843 .cmd = hmp_hotpluggable_cpus,
848 @item info hotpluggable-cpus
849 @findex info hotpluggable-cpus
850 Show information about hotpluggable CPUs
854 .name = "vm-generation-id",
857 .help = "Show Virtual Machine Generation ID",
858 .cmd = hmp_info_vm_generation_id,
862 @item info vm-generation-id
863 @findex info vm-generation-id
864 Show Virtual Machine Generation ID
868 .name = "memory_size_summary",
871 .help = "show the amount of initially allocated and "
872 "present hotpluggable (if enabled) memory in bytes.",
873 .cmd = hmp_info_memory_size_summary,
877 @item info memory_size_summary
878 @findex info memory_size_summary
879 Display the amount of initially allocated and present hotpluggable (if
880 enabled) memory in bytes.
883 #if defined(TARGET_I386)
888 .help = "show SEV information",
896 Show SEV information.