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
,
84 Show block device statistics
.
91 .help
= "show progress of ongoing block device operations",
92 .cmd
= hmp_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
,
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
)
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",
255 .help
= "show memory tree (-f: dump flat view for address spaces)",
256 .cmd
= hmp_info_mtree
,
265 #
if defined(CONFIG_TCG
)
270 .help
= "show dynamic compiler info",
278 Show
dynamic compiler info
.
281 #
if defined(CONFIG_TCG
)
286 .help
= "show dynamic compiler opcode counters",
287 .cmd
= hmp_info_opcount
,
294 Show
dynamic compiler opcode counters
301 .help
= "show KVM information",
308 Show KVM information
.
315 .help
= "show NUMA information",
316 .cmd
= hmp_info_numa
,
322 Show NUMA information
.
329 .help
= "show guest USB devices",
336 Show guest USB devices
.
343 .help
= "show host USB devices",
344 .cmd
= hmp_info_usbhost
,
350 Show host USB devices
.
357 .help
= "show profiling information",
358 .cmd
= hmp_info_profile
,
364 Show profiling information
.
371 .help
= "show capture information",
372 .cmd
= hmp_info_capture
,
378 Show capture information
.
385 .help
= "show the currently saved VM snapshots",
386 .cmd
= hmp_info_snapshots
,
392 Show the currently saved VM snapshots
.
399 .help
= "show the current VM status (running|paused)",
400 .cmd
= hmp_info_status
,
406 Show the current VM
status (running|paused
).
413 .help
= "show which guest mouse is receiving events",
414 .cmd
= hmp_info_mice
,
420 Show which guest mouse is receiving events
.
427 .help
= "show the vnc server status",
434 Show the vnc server status
.
437 #
if defined(CONFIG_SPICE
)
442 .help
= "show the spice server status",
443 .cmd
= hmp_info_spice
,
450 Show the spice server status
.
457 .help
= "show the current VM name",
458 .cmd
= hmp_info_name
,
464 Show the current VM name
.
471 .help
= "show the current VM UUID",
472 .cmd
= hmp_info_uuid
,
478 Show the current VM UUID
.
485 .help
= "show CPU statistics",
486 .cmd
= hmp_info_cpustats
,
495 #
if defined(CONFIG_SLIRP
)
500 .help
= "show user network stack connection states",
501 .cmd
= hmp_info_usernet
,
508 Show user network stack connection states
.
515 .help
= "show migration status",
516 .cmd
= hmp_info_migrate
,
522 Show migration status
.
526 .name
= "migrate_capabilities",
529 .help
= "show current migration capabilities",
530 .cmd
= hmp_info_migrate_capabilities
,
534 @item info migrate_capabilities
535 @findex migrate_capabilities
536 Show current migration capabilities
.
540 .name
= "migrate_parameters",
543 .help
= "show current migration parameters",
544 .cmd
= hmp_info_migrate_parameters
,
548 @item info migrate_parameters
549 @findex migrate_parameters
550 Show current migration parameters
.
554 .name
= "migrate_cache_size",
557 .help
= "show current migration xbzrle cache size",
558 .cmd
= hmp_info_migrate_cache_size
,
562 @item info migrate_cache_size
563 @findex migrate_cache_size
564 Show current migration xbzrle cache size
.
571 .help
= "show balloon information",
572 .cmd
= hmp_info_balloon
,
578 Show balloon information
.
585 .help
= "show device tree",
586 .cmd
= hmp_info_qtree
,
599 .help
= "show qdev device model list",
606 Show qdev device model list
.
611 .args_type
= "path:s?",
613 .help
= "show QOM composition tree",
614 .cmd
= hmp_info_qom_tree
,
620 Show QOM composition tree
.
628 .cmd
= hmp_info_roms
,
638 .name
= "trace-events",
639 .args_type
= "name:s?,vcpu:i?",
640 .params
= "[name] [vcpu]",
641 .help
= "show available trace-events & their state "
642 "(name: event name pattern; vcpu: vCPU to query, default is any)",
643 .cmd
= hmp_info_trace_events
,
644 .command_completion
= info_trace_events_completion
,
648 @item info
trace-events
650 Show available
trace-events
& their state
.
657 .help
= "show the TPM device",
671 .help
= "show memory backends",
672 .cmd
= hmp_info_memdev
,
682 .name
= "memory-devices",
685 .help
= "show memory devices",
686 .cmd
= hmp_info_memory_devices
,
690 @item info memory
-devices
691 @findex memory
-devices
699 .help
= "show iothreads",
700 .cmd
= hmp_info_iothreads
,
706 Show iothread
's identifiers.
711 .args_type = "name:s",
713 .help = "Show rocker switch",
718 @item info rocker @var{name}
724 .name = "rocker-ports",
725 .args_type = "name:s",
727 .help = "Show rocker ports",
728 .cmd = hmp_rocker_ports,
732 @item info rocker_ports @var{name}-ports
738 .name = "rocker-of-dpa-flows",
739 .args_type = "name:s,tbl_id:i?",
740 .params = "name [tbl_id]",
741 .help = "Show rocker OF-DPA flow tables",
742 .cmd = hmp_rocker_of_dpa_flows,
746 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
747 @findex rocker-of-dpa-flows
748 Show rocker OF-DPA flow tables.
752 .name = "rocker-of-dpa-groups",
753 .args_type = "name:s,type:i?",
754 .params = "name [type]",
755 .help = "Show rocker OF-DPA groups",
756 .cmd = hmp_rocker_of_dpa_groups,
760 @item info rocker-of-dpa-groups @var{name} [@var{type}]
761 @findex rocker-of-dpa-groups
762 Show rocker OF-DPA groups.
765 #if defined(TARGET_S390X)
768 .args_type = "addr:l",
770 .help = "Display the value of a storage key",
771 .cmd = hmp_info_skeys,
776 @item info skeys @var{address}
778 Display the value of a storage key (s390 only)
781 #if defined(TARGET_S390X)
784 .args_type = "addr:l,count:l?",
785 .params = "address [count]",
786 .help = "Display the values of the CMMA storage attributes for a range of pages",
787 .cmd = hmp_info_cmma,
792 @item info cmma @var{address}
794 Display the values of the CMMA storage attributes for a range of pages (s390 only)
801 .help = "Display the latest dump status",
802 .cmd = hmp_info_dump,
808 Display the latest dump status.
815 .help = "Display system ramblock information",
816 .cmd = hmp_info_ramblock,
822 Dump all the ramblocks of the system.
826 .name = "hotpluggable-cpus",
829 .help = "Show information about hotpluggable CPUs",
830 .cmd = hmp_hotpluggable_cpus,
834 @item info hotpluggable-cpus
835 @findex hotpluggable-cpus
836 Show information about hotpluggable CPUs
840 @item info vm-generation-id
841 @findex vm-generation-id
842 Show Virtual Machine Generation ID
846 .name = "vm-generation-id",
849 .help = "Show Virtual Machine Generation ID",
850 .cmd = hmp_info_vm_generation_id,
854 @item info memory_size_summary
855 @findex memory_size_summary
856 Display the amount of initially allocated and present hotpluggable (if
857 enabled) memory in bytes.
861 .name = "memory_size_summary",
864 .help = "show the amount of initially allocated and "
865 "present hotpluggable (if enabled) memory in bytes.",
866 .cmd = hmp_info_memory_size_summary,