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 .mhandler
.cmd
= hmp_info_version
,
27 Show the version of QEMU
.
34 .help
= "show the network state",
35 .mhandler
.cmd
= hmp_info_network
,
41 Show the network state
.
48 .help
= "show the character devices",
49 .mhandler
.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 .mhandler
.cmd
= hmp_info_block
,
70 Show info of one block device or all block devices
.
77 .help
= "show block device statistics",
78 .mhandler
.cmd
= hmp_info_blockstats
,
84 Show block device statistics
.
91 .help
= "show progress of ongoing block device operations",
92 .mhandler
.cmd
= hmp_info_block_jobs
,
98 Show progress of ongoing block device operations
.
105 .help
= "show the cpu registers",
106 .mhandler
.cmd
= hmp_info_registers
,
112 Show the cpu registers
.
115 #
if defined(TARGET_I386
)
120 .help
= "show local apic state",
121 .mhandler
.cmd
= hmp_info_local_apic
,
128 Show local APIC state
131 #
if defined(TARGET_I386
)
136 .help
= "show io apic state",
137 .mhandler
.cmd
= hmp_info_io_apic
,
151 .help
= "show infos for each CPU",
152 .mhandler
.cmd
= hmp_info_cpus
,
158 Show infos
for each CPU
.
165 .help
= "show the command line history",
166 .mhandler
.cmd
= hmp_info_history
,
172 Show the command line history
.
175 #
if defined(TARGET_I386
) ||
defined(TARGET_PPC
) ||
defined(TARGET_MIPS
) || \
176 defined(TARGET_LM32
) ||
(defined(TARGET_SPARC
) && !defined(TARGET_SPARC64
))
181 .help
= "show the interrupts statistics (if available)",
183 .mhandler
.cmd
= sun4m_hmp_info_irq
,
184 #elif
defined(TARGET_LM32
)
185 .mhandler
.cmd
= lm32_hmp_info_irq
,
187 .mhandler
.cmd
= hmp_info_irq
,
194 Show the interrupts
statistics (if available
).
201 .help
= "show i8259 (PIC) state",
203 .mhandler
.cmd
= sun4m_hmp_info_pic
,
204 #elif
defined(TARGET_LM32
)
205 .mhandler
.cmd
= lm32_hmp_info_pic
,
207 .mhandler
.cmd
= hmp_info_pic
,
215 Show
i8259 (PIC
) state
.
222 .help
= "show PCI info",
223 .mhandler
.cmd
= hmp_info_pci
,
229 Show PCI information
.
232 #
if defined(TARGET_I386
) ||
defined(TARGET_SH4
) ||
defined(TARGET_SPARC
) || \
233 defined(TARGET_PPC
) ||
defined(TARGET_XTENSA
)
238 .help
= "show virtual to physical memory mappings",
239 .mhandler
.cmd
= hmp_info_tlb
,
246 Show virtual to physical memory mappings
.
249 #
if defined(TARGET_I386
)
254 .help
= "show the active virtual memory mappings",
255 .mhandler
.cmd
= hmp_info_mem
,
262 Show the active virtual memory mappings
.
269 .help
= "show memory tree",
270 .mhandler
.cmd
= hmp_info_mtree
,
283 .help
= "show dynamic compiler info",
284 .mhandler
.cmd
= hmp_info_jit
,
290 Show
dynamic compiler info
.
297 .help
= "show dynamic compiler opcode counters",
298 .mhandler
.cmd
= hmp_info_opcount
,
304 Show
dynamic compiler opcode counters
311 .help
= "show KVM information",
312 .mhandler
.cmd
= hmp_info_kvm
,
318 Show KVM information
.
325 .help
= "show NUMA information",
326 .mhandler
.cmd
= hmp_info_numa
,
332 Show NUMA information
.
339 .help
= "show guest USB devices",
340 .mhandler
.cmd
= hmp_info_usb
,
346 Show guest USB devices
.
353 .help
= "show host USB devices",
354 .mhandler
.cmd
= hmp_info_usbhost
,
360 Show host USB devices
.
367 .help
= "show profiling information",
368 .mhandler
.cmd
= hmp_info_profile
,
374 Show profiling information
.
381 .help
= "show capture information",
382 .mhandler
.cmd
= hmp_info_capture
,
388 Show capture information
.
395 .help
= "show the currently saved VM snapshots",
396 .mhandler
.cmd
= hmp_info_snapshots
,
402 Show the currently saved VM snapshots
.
409 .help
= "show the current VM status (running|paused)",
410 .mhandler
.cmd
= hmp_info_status
,
416 Show the current VM
status (running|paused
).
423 .help
= "show which guest mouse is receiving events",
424 .mhandler
.cmd
= hmp_info_mice
,
430 Show which guest mouse is receiving events
.
437 .help
= "show the vnc server status",
438 .mhandler
.cmd
= hmp_info_vnc
,
444 Show the vnc server status
.
447 #
if defined(CONFIG_SPICE
)
452 .help
= "show the spice server status",
453 .mhandler
.cmd
= hmp_info_spice
,
460 Show the spice server status
.
467 .help
= "show the current VM name",
468 .mhandler
.cmd
= hmp_info_name
,
474 Show the current VM name
.
481 .help
= "show the current VM UUID",
482 .mhandler
.cmd
= hmp_info_uuid
,
488 Show the current VM UUID
.
495 .help
= "show CPU statistics",
496 .mhandler
.cmd
= hmp_info_cpustats
,
505 #
if defined(CONFIG_SLIRP
)
510 .help
= "show user network stack connection states",
511 .mhandler
.cmd
= hmp_info_usernet
,
518 Show user network stack connection states
.
525 .help
= "show migration status",
526 .mhandler
.cmd
= hmp_info_migrate
,
532 Show migration status
.
536 .name
= "migrate_capabilities",
539 .help
= "show current migration capabilities",
540 .mhandler
.cmd
= hmp_info_migrate_capabilities
,
544 @item info migrate_capabilities
545 @findex migrate_capabilities
546 Show current migration capabilities
.
550 .name
= "migrate_parameters",
553 .help
= "show current migration parameters",
554 .mhandler
.cmd
= hmp_info_migrate_parameters
,
558 @item info migrate_parameters
559 @findex migrate_parameters
560 Show current migration parameters
.
564 .name
= "migrate_cache_size",
567 .help
= "show current migration xbzrle cache size",
568 .mhandler
.cmd
= hmp_info_migrate_cache_size
,
572 @item info migrate_cache_size
573 @findex migrate_cache_size
574 Show current migration xbzrle cache size
.
581 .help
= "show balloon information",
582 .mhandler
.cmd
= hmp_info_balloon
,
588 Show balloon information
.
595 .help
= "show device tree",
596 .mhandler
.cmd
= hmp_info_qtree
,
609 .help
= "show qdev device model list",
610 .mhandler
.cmd
= hmp_info_qdm
,
616 Show qdev device model list
.
621 .args_type
= "path:s?",
623 .help
= "show QOM composition tree",
624 .mhandler
.cmd
= hmp_info_qom_tree
,
630 Show QOM composition tree
.
638 .mhandler
.cmd
= hmp_info_roms
,
648 .name
= "trace-events",
651 .help
= "show available trace-events & their state",
652 .mhandler
.cmd
= hmp_info_trace_events
,
656 @item info
trace-events
658 Show available
trace-events
& their state
.
665 .help
= "show the TPM device",
666 .mhandler
.cmd
= hmp_info_tpm
,
679 .help
= "show memory backends",
680 .mhandler
.cmd
= hmp_info_memdev
,
690 .name
= "memory-devices",
693 .help
= "show memory devices",
694 .mhandler
.cmd
= hmp_info_memory_devices
,
698 @item info memory
-devices
699 @findex memory
-devices
707 .help
= "show iothreads",
708 .mhandler
.cmd
= hmp_info_iothreads
,
714 Show iothread
's identifiers.
719 .args_type = "name:s",
721 .help = "Show rocker switch",
722 .mhandler.cmd = hmp_rocker,
726 @item info rocker @var{name}
732 .name = "rocker-ports",
733 .args_type = "name:s",
735 .help = "Show rocker ports",
736 .mhandler.cmd = hmp_rocker_ports,
740 @item info rocker_ports @var{name}-ports
746 .name = "rocker-of-dpa-flows",
747 .args_type = "name:s,tbl_id:i?",
748 .params = "name [tbl_id]",
749 .help = "Show rocker OF-DPA flow tables",
750 .mhandler.cmd = hmp_rocker_of_dpa_flows,
754 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
755 @findex rocker-of-dpa-flows
756 Show rocker OF-DPA flow tables.
760 .name = "rocker-of-dpa-groups",
761 .args_type = "name:s,type:i?",
762 .params = "name [type]",
763 .help = "Show rocker OF-DPA groups",
764 .mhandler.cmd = hmp_rocker_of_dpa_groups,
768 @item info rocker-of-dpa-groups @var{name} [@var{type}]
769 @findex rocker-of-dpa-groups
770 Show rocker OF-DPA groups.
773 #if defined(TARGET_S390X)
776 .args_type = "addr:l",
778 .help = "Display the value of a storage key",
779 .mhandler.cmd = hmp_info_skeys,
784 @item info skeys @var{address}
786 Display the value of a storage key (s390 only)