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
.
119 .help
= "show infos for each CPU",
120 .mhandler
.cmd
= hmp_info_cpus
,
126 Show infos
for each CPU
.
133 .help
= "show the command line history",
134 .mhandler
.cmd
= hmp_info_history
,
140 Show the command line history
.
143 #
if defined(TARGET_I386
) ||
defined(TARGET_PPC
) ||
defined(TARGET_MIPS
) || \
144 defined(TARGET_LM32
) ||
(defined(TARGET_SPARC
) && !defined(TARGET_SPARC64
))
149 .help
= "show the interrupts statistics (if available)",
151 .mhandler
.cmd
= sun4m_hmp_info_irq
,
152 #elif
defined(TARGET_LM32
)
153 .mhandler
.cmd
= lm32_hmp_info_irq
,
155 .mhandler
.cmd
= hmp_info_irq
,
162 Show the interrupts
statistics (if available
).
169 .help
= "show i8259 (PIC) state",
171 .mhandler
.cmd
= sun4m_hmp_info_pic
,
172 #elif
defined(TARGET_LM32
)
173 .mhandler
.cmd
= lm32_hmp_info_pic
,
175 .mhandler
.cmd
= hmp_info_pic
,
183 Show
i8259 (PIC
) state
.
190 .help
= "show PCI info",
191 .mhandler
.cmd
= hmp_info_pci
,
197 Show PCI information
.
200 #
if defined(TARGET_I386
) ||
defined(TARGET_SH4
) ||
defined(TARGET_SPARC
) || \
201 defined(TARGET_PPC
) ||
defined(TARGET_XTENSA
)
206 .help
= "show virtual to physical memory mappings",
207 .mhandler
.cmd
= hmp_info_tlb
,
214 Show virtual to physical memory mappings
.
217 #
if defined(TARGET_I386
)
222 .help
= "show the active virtual memory mappings",
223 .mhandler
.cmd
= hmp_info_mem
,
230 Show the active virtual memory mappings
.
237 .help
= "show memory tree",
238 .mhandler
.cmd
= hmp_info_mtree
,
251 .help
= "show dynamic compiler info",
252 .mhandler
.cmd
= hmp_info_jit
,
258 Show
dynamic compiler info
.
265 .help
= "show dynamic compiler opcode counters",
266 .mhandler
.cmd
= hmp_info_opcount
,
272 Show
dynamic compiler opcode counters
279 .help
= "show KVM information",
280 .mhandler
.cmd
= hmp_info_kvm
,
286 Show KVM information
.
293 .help
= "show NUMA information",
294 .mhandler
.cmd
= hmp_info_numa
,
300 Show NUMA information
.
307 .help
= "show guest USB devices",
308 .mhandler
.cmd
= hmp_info_usb
,
314 Show guest USB devices
.
321 .help
= "show host USB devices",
322 .mhandler
.cmd
= hmp_info_usbhost
,
328 Show host USB devices
.
335 .help
= "show profiling information",
336 .mhandler
.cmd
= hmp_info_profile
,
342 Show profiling information
.
349 .help
= "show capture information",
350 .mhandler
.cmd
= hmp_info_capture
,
356 Show capture information
.
363 .help
= "show the currently saved VM snapshots",
364 .mhandler
.cmd
= hmp_info_snapshots
,
370 Show the currently saved VM snapshots
.
377 .help
= "show the current VM status (running|paused)",
378 .mhandler
.cmd
= hmp_info_status
,
384 Show the current VM
status (running|paused
).
391 .help
= "show which guest mouse is receiving events",
392 .mhandler
.cmd
= hmp_info_mice
,
398 Show which guest mouse is receiving events
.
405 .help
= "show the vnc server status",
406 .mhandler
.cmd
= hmp_info_vnc
,
412 Show the vnc server status
.
415 #
if defined(CONFIG_SPICE
)
420 .help
= "show the spice server status",
421 .mhandler
.cmd
= hmp_info_spice
,
428 Show the spice server status
.
435 .help
= "show the current VM name",
436 .mhandler
.cmd
= hmp_info_name
,
442 Show the current VM name
.
449 .help
= "show the current VM UUID",
450 .mhandler
.cmd
= hmp_info_uuid
,
456 Show the current VM UUID
.
463 .help
= "show CPU statistics",
464 .mhandler
.cmd
= hmp_info_cpustats
,
473 #
if defined(CONFIG_SLIRP
)
478 .help
= "show user network stack connection states",
479 .mhandler
.cmd
= hmp_info_usernet
,
486 Show user network stack connection states
.
493 .help
= "show migration status",
494 .mhandler
.cmd
= hmp_info_migrate
,
500 Show migration status
.
504 .name
= "migrate_capabilities",
507 .help
= "show current migration capabilities",
508 .mhandler
.cmd
= hmp_info_migrate_capabilities
,
512 @item info migrate_capabilities
513 @findex migrate_capabilities
514 Show current migration capabilities
.
518 .name
= "migrate_parameters",
521 .help
= "show current migration parameters",
522 .mhandler
.cmd
= hmp_info_migrate_parameters
,
526 @item info migrate_parameters
527 @findex migrate_parameters
528 Show current migration parameters
.
532 .name
= "migrate_cache_size",
535 .help
= "show current migration xbzrle cache size",
536 .mhandler
.cmd
= hmp_info_migrate_cache_size
,
540 @item info migrate_cache_size
541 @findex migrate_cache_size
542 Show current migration xbzrle cache size
.
549 .help
= "show balloon information",
550 .mhandler
.cmd
= hmp_info_balloon
,
556 Show balloon information
.
563 .help
= "show device tree",
564 .mhandler
.cmd
= hmp_info_qtree
,
577 .help
= "show qdev device model list",
578 .mhandler
.cmd
= hmp_info_qdm
,
584 Show qdev device model list
.
589 .args_type
= "path:s?",
591 .help
= "show QOM composition tree",
592 .mhandler
.cmd
= hmp_info_qom_tree
,
598 Show QOM composition tree
.
606 .mhandler
.cmd
= hmp_info_roms
,
616 .name
= "trace-events",
619 .help
= "show available trace-events & their state",
620 .mhandler
.cmd
= hmp_info_trace_events
,
624 @item info
trace-events
626 Show available
trace-events
& their state
.
633 .help
= "show the TPM device",
634 .mhandler
.cmd
= hmp_info_tpm
,
647 .help
= "show memory backends",
648 .mhandler
.cmd
= hmp_info_memdev
,
658 .name
= "memory-devices",
661 .help
= "show memory devices",
662 .mhandler
.cmd
= hmp_info_memory_devices
,
666 @item info memory
-devices
667 @findex memory
-devices
675 .help
= "show iothreads",
676 .mhandler
.cmd
= hmp_info_iothreads
,
682 Show iothread
's identifiers.
687 .args_type = "name:s",
689 .help = "Show rocker switch",
690 .mhandler.cmd = hmp_rocker,
694 @item info rocker @var{name}
700 .name = "rocker-ports",
701 .args_type = "name:s",
703 .help = "Show rocker ports",
704 .mhandler.cmd = hmp_rocker_ports,
708 @item info rocker_ports @var{name}-ports
714 .name = "rocker-of-dpa-flows",
715 .args_type = "name:s,tbl_id:i?",
716 .params = "name [tbl_id]",
717 .help = "Show rocker OF-DPA flow tables",
718 .mhandler.cmd = hmp_rocker_of_dpa_flows,
722 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
723 @findex rocker-of-dpa-flows
724 Show rocker OF-DPA flow tables.
728 .name = "rocker-of-dpa-groups",
729 .args_type = "name:s,type:i?",
730 .params = "name [type]",
731 .help = "Show rocker OF-DPA groups",
732 .mhandler.cmd = hmp_rocker_of_dpa_groups,
736 @item info rocker-of-dpa-groups @var{name} [@var{type}]
737 @findex rocker-of-dpa-groups
738 Show rocker OF-DPA groups.
741 #if defined(TARGET_S390X)
744 .args_type = "addr:l",
746 .help = "Display the value of a storage key",
747 .mhandler.cmd = hmp_info_skeys,
752 @item info skeys @var{address}
754 Display the value of a storage key (s390 only)