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
16 .help
= "show the version of QEMU",
17 .mhandler
.cmd
= hmp_info_version
,
23 Show the version of QEMU
.
30 .help
= "show the network state",
31 .mhandler
.cmd
= hmp_info_network
,
37 Show the network state
.
44 .help
= "show the character devices",
45 .mhandler
.cmd
= hmp_info_chardev
,
51 Show the character devices
.
56 .args_type
= "nodes:-n,verbose:-v,device:B?",
57 .params
= "[-n] [-v] [device]",
58 .help
= "show info of one block device or all block devices "
59 "(-n: show named nodes; -v: show details)",
60 .mhandler
.cmd
= hmp_info_block
,
66 Show info of one block device or all block devices
.
73 .help
= "show block device statistics",
74 .mhandler
.cmd
= hmp_info_blockstats
,
80 Show block device statistics
.
87 .help
= "show progress of ongoing block device operations",
88 .mhandler
.cmd
= hmp_info_block_jobs
,
94 Show progress of ongoing block device operations
.
101 .help
= "show the cpu registers",
102 .mhandler
.cmd
= hmp_info_registers
,
108 Show the cpu registers
.
115 .help
= "show infos for each CPU",
116 .mhandler
.cmd
= hmp_info_cpus
,
122 Show infos
for each CPU
.
129 .help
= "show the command line history",
130 .mhandler
.cmd
= hmp_info_history
,
136 Show the command line history
.
139 #
if defined(TARGET_I386
) ||
defined(TARGET_PPC
) ||
defined(TARGET_MIPS
) || \
140 defined(TARGET_LM32
) ||
(defined(TARGET_SPARC
) && !defined(TARGET_SPARC64
))
145 .help
= "show the interrupts statistics (if available)",
147 .mhandler
.cmd
= sun4m_hmp_info_irq
,
148 #elif
defined(TARGET_LM32
)
149 .mhandler
.cmd
= lm32_hmp_info_irq
,
151 .mhandler
.cmd
= hmp_info_irq
,
158 Show the interrupts
statistics (if available
).
165 .help
= "show i8259 (PIC) state",
167 .mhandler
.cmd
= sun4m_hmp_info_pic
,
168 #elif
defined(TARGET_LM32
)
169 .mhandler
.cmd
= lm32_hmp_info_pic
,
171 .mhandler
.cmd
= hmp_info_pic
,
179 Show
i8259 (PIC
) state
.
182 #
if defined(TARGET_I386
) ||
defined(TARGET_SH4
) ||
defined(TARGET_SPARC
) || \
183 defined(TARGET_PPC
) ||
defined(TARGET_XTENSA
)
188 .help
= "show virtual to physical memory mappings",
189 .mhandler
.cmd
= hmp_info_tlb
,
196 Show virtual to physical memory mappings
.
199 #
if defined(TARGET_I386
)
204 .help
= "show the active virtual memory mappings",
205 .mhandler
.cmd
= hmp_info_mem
,
212 Show the active virtual memory mappings
.
219 .help
= "show memory tree",
220 .mhandler
.cmd
= hmp_info_mtree
,
233 .help
= "show dynamic compiler info",
234 .mhandler
.cmd
= hmp_info_jit
,
240 Show
dynamic compiler info
.
247 .help
= "show dynamic compiler opcode counters",
248 .mhandler
.cmd
= hmp_info_opcount
,
254 Show
dynamic compiler opcode counters
261 .help
= "show KVM information",
262 .mhandler
.cmd
= hmp_info_kvm
,
268 Show KVM information
.
275 .help
= "show NUMA information",
276 .mhandler
.cmd
= hmp_info_numa
,
282 Show NUMA information
.
289 .help
= "show guest USB devices",
290 .mhandler
.cmd
= hmp_info_usb
,
296 Show guest USB devices
.
303 .help
= "show host USB devices",
304 .mhandler
.cmd
= hmp_info_usbhost
,
310 Show host USB devices
.
317 .help
= "show profiling information",
318 .mhandler
.cmd
= hmp_info_profile
,
324 Show profiling information
.
331 .help
= "show capture information",
332 .mhandler
.cmd
= hmp_info_capture
,
338 Show capture information
.
345 .help
= "show the currently saved VM snapshots",
346 .mhandler
.cmd
= hmp_info_snapshots
,
352 Show the currently saved VM snapshots
.
359 .help
= "show the current VM status (running|paused)",
360 .mhandler
.cmd
= hmp_info_status
,
366 Show the current VM
status (running|paused
).
373 .help
= "show which guest mouse is receiving events",
374 .mhandler
.cmd
= hmp_info_mice
,
380 Show which guest mouse is receiving events
.
387 .help
= "show the vnc server status",
388 .mhandler
.cmd
= hmp_info_vnc
,
394 Show the vnc server status
.
397 #
if defined(CONFIG_SPICE
)
402 .help
= "show the spice server status",
403 .mhandler
.cmd
= hmp_info_spice
,
410 Show the spice server status
.
417 .help
= "show the current VM name",
418 .mhandler
.cmd
= hmp_info_name
,
424 Show the current VM name
.
431 .help
= "show the current VM UUID",
432 .mhandler
.cmd
= hmp_info_uuid
,
438 Show the current VM UUID
.
445 .help
= "show CPU statistics",
446 .mhandler
.cmd
= hmp_info_cpustats
,
455 #
if defined(CONFIG_SLIRP
)
460 .help
= "show user network stack connection states",
461 .mhandler
.cmd
= hmp_info_usernet
,
468 Show user network stack connection states
.
475 .help
= "show migration status",
476 .mhandler
.cmd
= hmp_info_migrate
,
482 Show migration status
.
486 .name
= "migrate_capabilities",
489 .help
= "show current migration capabilities",
490 .mhandler
.cmd
= hmp_info_migrate_capabilities
,
494 @item info migrate_capabilities
495 @findex migrate_capabilities
496 Show current migration capabilities
.
500 .name
= "migrate_parameters",
503 .help
= "show current migration parameters",
504 .mhandler
.cmd
= hmp_info_migrate_parameters
,
508 @item info migrate_parameters
509 @findex migrate_parameters
510 Show current migration parameters
.
514 .name
= "migrate_cache_size",
517 .help
= "show current migration xbzrle cache size",
518 .mhandler
.cmd
= hmp_info_migrate_cache_size
,
522 @item info migrate_cache_size
523 @findex migrate_cache_size
524 Show current migration xbzrle cache size
.
531 .help
= "show balloon information",
532 .mhandler
.cmd
= hmp_info_balloon
,
538 Show balloon information
.
545 .help
= "show device tree",
546 .mhandler
.cmd
= hmp_info_qtree
,
559 .help
= "show qdev device model list",
560 .mhandler
.cmd
= hmp_info_qdm
,
566 Show qdev device model list
.
571 .args_type
= "path:s?",
573 .help
= "show QOM composition tree",
574 .mhandler
.cmd
= hmp_info_qom_tree
,
580 Show QOM composition tree
.
588 .mhandler
.cmd
= hmp_info_roms
,
598 .name
= "trace-events",
601 .help
= "show available trace-events & their state",
602 .mhandler
.cmd
= hmp_info_trace_events
,
606 @item info
trace-events
608 Show available
trace-events
& their state
.
615 .help
= "show the TPM device",
616 .mhandler
.cmd
= hmp_info_tpm
,
629 .help
= "show memory backends",
630 .mhandler
.cmd
= hmp_info_memdev
,
640 .name
= "memory-devices",
643 .help
= "show memory devices",
644 .mhandler
.cmd
= hmp_info_memory_devices
,
648 @item info memory
-devices
649 @findex memory
-devices
657 .help
= "show iothreads",
658 .mhandler
.cmd
= hmp_info_iothreads
,
664 Show iothread
's identifiers.
669 .args_type = "name:s",
671 .help = "Show rocker switch",
672 .mhandler.cmd = hmp_rocker,
676 @item info rocker @var{name}
682 .name = "rocker-ports",
683 .args_type = "name:s",
685 .help = "Show rocker ports",
686 .mhandler.cmd = hmp_rocker_ports,
690 @item info rocker_ports @var{name}-ports
696 .name = "rocker-of-dpa-flows",
697 .args_type = "name:s,tbl_id:i?",
698 .params = "name [tbl_id]",
699 .help = "Show rocker OF-DPA flow tables",
700 .mhandler.cmd = hmp_rocker_of_dpa_flows,
704 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
705 @findex rocker-of-dpa-flows
706 Show rocker OF-DPA flow tables.
710 .name = "rocker-of-dpa-groups",
711 .args_type = "name:s,type:i?",
712 .params = "name [type]",
713 .help = "Show rocker OF-DPA groups",
714 .mhandler.cmd = hmp_rocker_of_dpa_groups,
718 @item info rocker-of-dpa-groups @var{name} [@var{type}]
719 @findex rocker-of-dpa-groups
720 Show rocker OF-DPA groups.
723 #if defined(TARGET_S390X)
726 .args_type = "addr:l",
728 .help = "Display the value of a storage key",
729 .mhandler.cmd = hmp_info_skeys,
734 @item info skeys @var{address}
736 Display the value of a storage key (s390 only)