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 .cmd
= hmp_info_version
,
27 Show the version of QEMU
.
34 .help
= "show the network state",
35 .cmd
= hmp_info_network
,
41 Show the network state
.
48 .help
= "show the character devices",
49 .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 .cmd
= hmp_info_block
,
70 Show info of one block device or all block devices
.
77 .help
= "show block device statistics",
78 .cmd
= hmp_info_blockstats
,
84 Show block device statistics
.
91 .help
= "show progress of ongoing block device operations",
92 .cmd
= hmp_info_block_jobs
,
98 Show progress of ongoing block device operations
.
105 .help
= "show the cpu registers",
106 .cmd
= hmp_info_registers
,
112 Show the cpu registers
.
115 #
if defined(TARGET_I386
)
120 .help
= "show local apic state",
121 .cmd
= hmp_info_local_apic
,
128 Show local APIC state
131 #
if defined(TARGET_I386
)
136 .help
= "show io apic state",
137 .cmd
= hmp_info_io_apic
,
151 .help
= "show infos for each CPU",
152 .cmd
= hmp_info_cpus
,
158 Show infos
for each CPU
.
165 .help
= "show the command line history",
166 .cmd
= hmp_info_history
,
172 Show the command line history
.
179 .help
= "show the interrupts statistics (if available)",
186 Show the interrupts
statistics (if available
).
193 .help
= "show PIC state",
200 Show
i8259 (PIC
) state
.
207 .help
= "show PCI info",
214 Show PCI information
.
217 #
if defined(TARGET_I386
) ||
defined(TARGET_SH4
) ||
defined(TARGET_SPARC
) || \
218 defined(TARGET_PPC
) ||
defined(TARGET_XTENSA
)
223 .help
= "show virtual to physical memory mappings",
231 Show virtual to physical memory mappings
.
234 #
if defined(TARGET_I386
)
239 .help
= "show the active virtual memory mappings",
247 Show the active virtual memory mappings
.
252 .args_type
= "flatview:-f",
254 .help
= "show memory tree (-f: dump flat view for address spaces)",
255 .cmd
= hmp_info_mtree
,
268 .help
= "show dynamic compiler info",
275 Show
dynamic compiler info
.
282 .help
= "show dynamic compiler opcode counters",
283 .cmd
= hmp_info_opcount
,
289 Show
dynamic compiler opcode counters
296 .help
= "show KVM information",
303 Show KVM information
.
310 .help
= "show NUMA information",
311 .cmd
= hmp_info_numa
,
317 Show NUMA information
.
324 .help
= "show guest USB devices",
331 Show guest USB devices
.
338 .help
= "show host USB devices",
339 .cmd
= hmp_info_usbhost
,
345 Show host USB devices
.
352 .help
= "show profiling information",
353 .cmd
= hmp_info_profile
,
359 Show profiling information
.
366 .help
= "show capture information",
367 .cmd
= hmp_info_capture
,
373 Show capture information
.
380 .help
= "show the currently saved VM snapshots",
381 .cmd
= hmp_info_snapshots
,
387 Show the currently saved VM snapshots
.
394 .help
= "show the current VM status (running|paused)",
395 .cmd
= hmp_info_status
,
401 Show the current VM
status (running|paused
).
408 .help
= "show which guest mouse is receiving events",
409 .cmd
= hmp_info_mice
,
415 Show which guest mouse is receiving events
.
422 .help
= "show the vnc server status",
429 Show the vnc server status
.
432 #
if defined(CONFIG_SPICE
)
437 .help
= "show the spice server status",
438 .cmd
= hmp_info_spice
,
445 Show the spice server status
.
452 .help
= "show the current VM name",
453 .cmd
= hmp_info_name
,
459 Show the current VM name
.
466 .help
= "show the current VM UUID",
467 .cmd
= hmp_info_uuid
,
473 Show the current VM UUID
.
480 .help
= "show CPU statistics",
481 .cmd
= hmp_info_cpustats
,
490 #
if defined(CONFIG_SLIRP
)
495 .help
= "show user network stack connection states",
496 .cmd
= hmp_info_usernet
,
503 Show user network stack connection states
.
510 .help
= "show migration status",
511 .cmd
= hmp_info_migrate
,
517 Show migration status
.
521 .name
= "migrate_capabilities",
524 .help
= "show current migration capabilities",
525 .cmd
= hmp_info_migrate_capabilities
,
529 @item info migrate_capabilities
530 @findex migrate_capabilities
531 Show current migration capabilities
.
535 .name
= "migrate_parameters",
538 .help
= "show current migration parameters",
539 .cmd
= hmp_info_migrate_parameters
,
543 @item info migrate_parameters
544 @findex migrate_parameters
545 Show current migration parameters
.
549 .name
= "migrate_cache_size",
552 .help
= "show current migration xbzrle cache size",
553 .cmd
= hmp_info_migrate_cache_size
,
557 @item info migrate_cache_size
558 @findex migrate_cache_size
559 Show current migration xbzrle cache size
.
566 .help
= "show balloon information",
567 .cmd
= hmp_info_balloon
,
573 Show balloon information
.
580 .help
= "show device tree",
581 .cmd
= hmp_info_qtree
,
594 .help
= "show qdev device model list",
601 Show qdev device model list
.
606 .args_type
= "path:s?",
608 .help
= "show QOM composition tree",
609 .cmd
= hmp_info_qom_tree
,
615 Show QOM composition tree
.
623 .cmd
= hmp_info_roms
,
633 .name
= "trace-events",
634 .args_type
= "name:s?,vcpu:i?",
635 .params
= "[name] [vcpu]",
636 .help
= "show available trace-events & their state "
637 "(name: event name pattern; vcpu: vCPU to query, default is any)",
638 .cmd
= hmp_info_trace_events
,
639 .command_completion
= info_trace_events_completion
,
643 @item info
trace-events
645 Show available
trace-events
& their state
.
652 .help
= "show the TPM device",
666 .help
= "show memory backends",
667 .cmd
= hmp_info_memdev
,
677 .name
= "memory-devices",
680 .help
= "show memory devices",
681 .cmd
= hmp_info_memory_devices
,
685 @item info memory
-devices
686 @findex memory
-devices
694 .help
= "show iothreads",
695 .cmd
= hmp_info_iothreads
,
701 Show iothread
's identifiers.
706 .args_type = "name:s",
708 .help = "Show rocker switch",
713 @item info rocker @var{name}
719 .name = "rocker-ports",
720 .args_type = "name:s",
722 .help = "Show rocker ports",
723 .cmd = hmp_rocker_ports,
727 @item info rocker_ports @var{name}-ports
733 .name = "rocker-of-dpa-flows",
734 .args_type = "name:s,tbl_id:i?",
735 .params = "name [tbl_id]",
736 .help = "Show rocker OF-DPA flow tables",
737 .cmd = hmp_rocker_of_dpa_flows,
741 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
742 @findex rocker-of-dpa-flows
743 Show rocker OF-DPA flow tables.
747 .name = "rocker-of-dpa-groups",
748 .args_type = "name:s,type:i?",
749 .params = "name [type]",
750 .help = "Show rocker OF-DPA groups",
751 .cmd = hmp_rocker_of_dpa_groups,
755 @item info rocker-of-dpa-groups @var{name} [@var{type}]
756 @findex rocker-of-dpa-groups
757 Show rocker OF-DPA groups.
760 #if defined(TARGET_S390X)
763 .args_type = "addr:l",
765 .help = "Display the value of a storage key",
766 .cmd = hmp_info_skeys,
771 @item info skeys @var{address}
773 Display the value of a storage key (s390 only)
780 .help = "Display the latest dump status",
781 .cmd = hmp_info_dump,
787 Display the latest dump status.
794 .help = "Display system ramblock information",
795 .cmd = hmp_info_ramblock,
801 Dump all the ramblocks of the system.
805 .name = "hotpluggable-cpus",
808 .help = "Show information about hotpluggable CPUs",
809 .cmd = hmp_hotpluggable_cpus,
813 @item info hotpluggable-cpus
814 @findex hotpluggable-cpus
815 Show information about hotpluggable CPUs
819 @item info vm-generation-id
820 @findex vm-generation-id
821 Show Virtual Machine Generation ID
825 .name = "vm-generation-id",
828 .help = "Show Virtual Machine Generation ID",
829 .cmd = hmp_info_vm_generation_id,