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
135 .help
= "show infos for each CPU",
136 .mhandler
.cmd
= hmp_info_cpus
,
142 Show infos
for each CPU
.
149 .help
= "show the command line history",
150 .mhandler
.cmd
= hmp_info_history
,
156 Show the command line history
.
159 #
if defined(TARGET_I386
) ||
defined(TARGET_PPC
) ||
defined(TARGET_MIPS
) || \
160 defined(TARGET_LM32
) ||
(defined(TARGET_SPARC
) && !defined(TARGET_SPARC64
))
165 .help
= "show the interrupts statistics (if available)",
167 .mhandler
.cmd
= sun4m_hmp_info_irq
,
168 #elif
defined(TARGET_LM32
)
169 .mhandler
.cmd
= lm32_hmp_info_irq
,
171 .mhandler
.cmd
= hmp_info_irq
,
178 Show the interrupts
statistics (if available
).
185 .help
= "show i8259 (PIC) state",
187 .mhandler
.cmd
= sun4m_hmp_info_pic
,
188 #elif
defined(TARGET_LM32
)
189 .mhandler
.cmd
= lm32_hmp_info_pic
,
191 .mhandler
.cmd
= hmp_info_pic
,
199 Show
i8259 (PIC
) state
.
206 .help
= "show PCI info",
207 .mhandler
.cmd
= hmp_info_pci
,
213 Show PCI information
.
216 #
if defined(TARGET_I386
) ||
defined(TARGET_SH4
) ||
defined(TARGET_SPARC
) || \
217 defined(TARGET_PPC
) ||
defined(TARGET_XTENSA
)
222 .help
= "show virtual to physical memory mappings",
223 .mhandler
.cmd
= hmp_info_tlb
,
230 Show virtual to physical memory mappings
.
233 #
if defined(TARGET_I386
)
238 .help
= "show the active virtual memory mappings",
239 .mhandler
.cmd
= hmp_info_mem
,
246 Show the active virtual memory mappings
.
253 .help
= "show memory tree",
254 .mhandler
.cmd
= hmp_info_mtree
,
267 .help
= "show dynamic compiler info",
268 .mhandler
.cmd
= hmp_info_jit
,
274 Show
dynamic compiler info
.
281 .help
= "show dynamic compiler opcode counters",
282 .mhandler
.cmd
= hmp_info_opcount
,
288 Show
dynamic compiler opcode counters
295 .help
= "show KVM information",
296 .mhandler
.cmd
= hmp_info_kvm
,
302 Show KVM information
.
309 .help
= "show NUMA information",
310 .mhandler
.cmd
= hmp_info_numa
,
316 Show NUMA information
.
323 .help
= "show guest USB devices",
324 .mhandler
.cmd
= hmp_info_usb
,
330 Show guest USB devices
.
337 .help
= "show host USB devices",
338 .mhandler
.cmd
= hmp_info_usbhost
,
344 Show host USB devices
.
351 .help
= "show profiling information",
352 .mhandler
.cmd
= hmp_info_profile
,
358 Show profiling information
.
365 .help
= "show capture information",
366 .mhandler
.cmd
= hmp_info_capture
,
372 Show capture information
.
379 .help
= "show the currently saved VM snapshots",
380 .mhandler
.cmd
= hmp_info_snapshots
,
386 Show the currently saved VM snapshots
.
393 .help
= "show the current VM status (running|paused)",
394 .mhandler
.cmd
= hmp_info_status
,
400 Show the current VM
status (running|paused
).
407 .help
= "show which guest mouse is receiving events",
408 .mhandler
.cmd
= hmp_info_mice
,
414 Show which guest mouse is receiving events
.
421 .help
= "show the vnc server status",
422 .mhandler
.cmd
= hmp_info_vnc
,
428 Show the vnc server status
.
431 #
if defined(CONFIG_SPICE
)
436 .help
= "show the spice server status",
437 .mhandler
.cmd
= hmp_info_spice
,
444 Show the spice server status
.
451 .help
= "show the current VM name",
452 .mhandler
.cmd
= hmp_info_name
,
458 Show the current VM name
.
465 .help
= "show the current VM UUID",
466 .mhandler
.cmd
= hmp_info_uuid
,
472 Show the current VM UUID
.
479 .help
= "show CPU statistics",
480 .mhandler
.cmd
= hmp_info_cpustats
,
489 #
if defined(CONFIG_SLIRP
)
494 .help
= "show user network stack connection states",
495 .mhandler
.cmd
= hmp_info_usernet
,
502 Show user network stack connection states
.
509 .help
= "show migration status",
510 .mhandler
.cmd
= hmp_info_migrate
,
516 Show migration status
.
520 .name
= "migrate_capabilities",
523 .help
= "show current migration capabilities",
524 .mhandler
.cmd
= hmp_info_migrate_capabilities
,
528 @item info migrate_capabilities
529 @findex migrate_capabilities
530 Show current migration capabilities
.
534 .name
= "migrate_parameters",
537 .help
= "show current migration parameters",
538 .mhandler
.cmd
= hmp_info_migrate_parameters
,
542 @item info migrate_parameters
543 @findex migrate_parameters
544 Show current migration parameters
.
548 .name
= "migrate_cache_size",
551 .help
= "show current migration xbzrle cache size",
552 .mhandler
.cmd
= hmp_info_migrate_cache_size
,
556 @item info migrate_cache_size
557 @findex migrate_cache_size
558 Show current migration xbzrle cache size
.
565 .help
= "show balloon information",
566 .mhandler
.cmd
= hmp_info_balloon
,
572 Show balloon information
.
579 .help
= "show device tree",
580 .mhandler
.cmd
= hmp_info_qtree
,
593 .help
= "show qdev device model list",
594 .mhandler
.cmd
= hmp_info_qdm
,
600 Show qdev device model list
.
605 .args_type
= "path:s?",
607 .help
= "show QOM composition tree",
608 .mhandler
.cmd
= hmp_info_qom_tree
,
614 Show QOM composition tree
.
622 .mhandler
.cmd
= hmp_info_roms
,
632 .name
= "trace-events",
635 .help
= "show available trace-events & their state",
636 .mhandler
.cmd
= hmp_info_trace_events
,
640 @item info
trace-events
642 Show available
trace-events
& their state
.
649 .help
= "show the TPM device",
650 .mhandler
.cmd
= hmp_info_tpm
,
663 .help
= "show memory backends",
664 .mhandler
.cmd
= hmp_info_memdev
,
674 .name
= "memory-devices",
677 .help
= "show memory devices",
678 .mhandler
.cmd
= hmp_info_memory_devices
,
682 @item info memory
-devices
683 @findex memory
-devices
691 .help
= "show iothreads",
692 .mhandler
.cmd
= hmp_info_iothreads
,
698 Show iothread
's identifiers.
703 .args_type = "name:s",
705 .help = "Show rocker switch",
706 .mhandler.cmd = hmp_rocker,
710 @item info rocker @var{name}
716 .name = "rocker-ports",
717 .args_type = "name:s",
719 .help = "Show rocker ports",
720 .mhandler.cmd = hmp_rocker_ports,
724 @item info rocker_ports @var{name}-ports
730 .name = "rocker-of-dpa-flows",
731 .args_type = "name:s,tbl_id:i?",
732 .params = "name [tbl_id]",
733 .help = "Show rocker OF-DPA flow tables",
734 .mhandler.cmd = hmp_rocker_of_dpa_flows,
738 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
739 @findex rocker-of-dpa-flows
740 Show rocker OF-DPA flow tables.
744 .name = "rocker-of-dpa-groups",
745 .args_type = "name:s,type:i?",
746 .params = "name [type]",
747 .help = "Show rocker OF-DPA groups",
748 .mhandler.cmd = hmp_rocker_of_dpa_groups,
752 @item info rocker-of-dpa-groups @var{name} [@var{type}]
753 @findex rocker-of-dpa-groups
754 Show rocker OF-DPA groups.
757 #if defined(TARGET_S390X)
760 .args_type = "addr:l",
762 .help = "Display the value of a storage key",
763 .mhandler.cmd = hmp_info_skeys,
768 @item info skeys @var{address}
770 Display the value of a storage key (s390 only)