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
.
186 #
if defined(TARGET_I386
) ||
defined(TARGET_SH4
) ||
defined(TARGET_SPARC
) || \
187 defined(TARGET_PPC
) ||
defined(TARGET_XTENSA
)
192 .help
= "show virtual to physical memory mappings",
193 .mhandler
.cmd
= hmp_info_tlb
,
200 Show virtual to physical memory mappings
.
203 #
if defined(TARGET_I386
)
208 .help
= "show the active virtual memory mappings",
209 .mhandler
.cmd
= hmp_info_mem
,
216 Show the active virtual memory mappings
.
223 .help
= "show memory tree",
224 .mhandler
.cmd
= hmp_info_mtree
,
237 .help
= "show dynamic compiler info",
238 .mhandler
.cmd
= hmp_info_jit
,
244 Show
dynamic compiler info
.
251 .help
= "show dynamic compiler opcode counters",
252 .mhandler
.cmd
= hmp_info_opcount
,
258 Show
dynamic compiler opcode counters
265 .help
= "show KVM information",
266 .mhandler
.cmd
= hmp_info_kvm
,
272 Show KVM information
.
279 .help
= "show NUMA information",
280 .mhandler
.cmd
= hmp_info_numa
,
286 Show NUMA information
.
293 .help
= "show guest USB devices",
294 .mhandler
.cmd
= hmp_info_usb
,
300 Show guest USB devices
.
307 .help
= "show host USB devices",
308 .mhandler
.cmd
= hmp_info_usbhost
,
314 Show host USB devices
.
321 .help
= "show profiling information",
322 .mhandler
.cmd
= hmp_info_profile
,
328 Show profiling information
.
335 .help
= "show capture information",
336 .mhandler
.cmd
= hmp_info_capture
,
342 Show capture information
.
349 .help
= "show the currently saved VM snapshots",
350 .mhandler
.cmd
= hmp_info_snapshots
,
356 Show the currently saved VM snapshots
.
363 .help
= "show the current VM status (running|paused)",
364 .mhandler
.cmd
= hmp_info_status
,
370 Show the current VM
status (running|paused
).
377 .help
= "show which guest mouse is receiving events",
378 .mhandler
.cmd
= hmp_info_mice
,
384 Show which guest mouse is receiving events
.
391 .help
= "show the vnc server status",
392 .mhandler
.cmd
= hmp_info_vnc
,
398 Show the vnc server status
.
401 #
if defined(CONFIG_SPICE
)
406 .help
= "show the spice server status",
407 .mhandler
.cmd
= hmp_info_spice
,
414 Show the spice server status
.
421 .help
= "show the current VM name",
422 .mhandler
.cmd
= hmp_info_name
,
428 Show the current VM name
.
435 .help
= "show the current VM UUID",
436 .mhandler
.cmd
= hmp_info_uuid
,
442 Show the current VM UUID
.
449 .help
= "show CPU statistics",
450 .mhandler
.cmd
= hmp_info_cpustats
,
459 #
if defined(CONFIG_SLIRP
)
464 .help
= "show user network stack connection states",
465 .mhandler
.cmd
= hmp_info_usernet
,
472 Show user network stack connection states
.
479 .help
= "show migration status",
480 .mhandler
.cmd
= hmp_info_migrate
,
486 Show migration status
.
490 .name
= "migrate_capabilities",
493 .help
= "show current migration capabilities",
494 .mhandler
.cmd
= hmp_info_migrate_capabilities
,
498 @item info migrate_capabilities
499 @findex migrate_capabilities
500 Show current migration capabilities
.
504 .name
= "migrate_parameters",
507 .help
= "show current migration parameters",
508 .mhandler
.cmd
= hmp_info_migrate_parameters
,
512 @item info migrate_parameters
513 @findex migrate_parameters
514 Show current migration parameters
.
518 .name
= "migrate_cache_size",
521 .help
= "show current migration xbzrle cache size",
522 .mhandler
.cmd
= hmp_info_migrate_cache_size
,
526 @item info migrate_cache_size
527 @findex migrate_cache_size
528 Show current migration xbzrle cache size
.
535 .help
= "show balloon information",
536 .mhandler
.cmd
= hmp_info_balloon
,
542 Show balloon information
.
549 .help
= "show device tree",
550 .mhandler
.cmd
= hmp_info_qtree
,
563 .help
= "show qdev device model list",
564 .mhandler
.cmd
= hmp_info_qdm
,
570 Show qdev device model list
.
575 .args_type
= "path:s?",
577 .help
= "show QOM composition tree",
578 .mhandler
.cmd
= hmp_info_qom_tree
,
584 Show QOM composition tree
.
592 .mhandler
.cmd
= hmp_info_roms
,
602 .name
= "trace-events",
605 .help
= "show available trace-events & their state",
606 .mhandler
.cmd
= hmp_info_trace_events
,
610 @item info
trace-events
612 Show available
trace-events
& their state
.
619 .help
= "show the TPM device",
620 .mhandler
.cmd
= hmp_info_tpm
,
633 .help
= "show memory backends",
634 .mhandler
.cmd
= hmp_info_memdev
,
644 .name
= "memory-devices",
647 .help
= "show memory devices",
648 .mhandler
.cmd
= hmp_info_memory_devices
,
652 @item info memory
-devices
653 @findex memory
-devices
661 .help
= "show iothreads",
662 .mhandler
.cmd
= hmp_info_iothreads
,
668 Show iothread
's identifiers.
673 .args_type = "name:s",
675 .help = "Show rocker switch",
676 .mhandler.cmd = hmp_rocker,
680 @item info rocker @var{name}
686 .name = "rocker-ports",
687 .args_type = "name:s",
689 .help = "Show rocker ports",
690 .mhandler.cmd = hmp_rocker_ports,
694 @item info rocker_ports @var{name}-ports
700 .name = "rocker-of-dpa-flows",
701 .args_type = "name:s,tbl_id:i?",
702 .params = "name [tbl_id]",
703 .help = "Show rocker OF-DPA flow tables",
704 .mhandler.cmd = hmp_rocker_of_dpa_flows,
708 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
709 @findex rocker-of-dpa-flows
710 Show rocker OF-DPA flow tables.
714 .name = "rocker-of-dpa-groups",
715 .args_type = "name:s,type:i?",
716 .params = "name [type]",
717 .help = "Show rocker OF-DPA groups",
718 .mhandler.cmd = hmp_rocker_of_dpa_groups,
722 @item info rocker-of-dpa-groups @var{name} [@var{type}]
723 @findex rocker-of-dpa-groups
724 Show rocker OF-DPA groups.
727 #if defined(TARGET_S390X)
730 .args_type = "addr:l",
732 .help = "Display the value of a storage key",
733 .mhandler.cmd = hmp_info_skeys,
738 @item info skeys @var{address}
740 Display the value of a storage key (s390 only)