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
.
103 .args_type
= "cpustate_all:-a",
105 .help
= "show the cpu registers (-a: all - show register info for all cpus)",
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
,
264 #
if defined(CONFIG_TCG
)
269 .help
= "show dynamic compiler info",
277 Show
dynamic compiler info
.
280 #
if defined(CONFIG_TCG
)
285 .help
= "show dynamic compiler opcode counters",
286 .cmd
= hmp_info_opcount
,
293 Show
dynamic compiler opcode counters
300 .help
= "show KVM information",
307 Show KVM information
.
314 .help
= "show NUMA information",
315 .cmd
= hmp_info_numa
,
321 Show NUMA information
.
328 .help
= "show guest USB devices",
335 Show guest USB devices
.
342 .help
= "show host USB devices",
343 .cmd
= hmp_info_usbhost
,
349 Show host USB devices
.
356 .help
= "show profiling information",
357 .cmd
= hmp_info_profile
,
363 Show profiling information
.
370 .help
= "show capture information",
371 .cmd
= hmp_info_capture
,
377 Show capture information
.
384 .help
= "show the currently saved VM snapshots",
385 .cmd
= hmp_info_snapshots
,
391 Show the currently saved VM snapshots
.
398 .help
= "show the current VM status (running|paused)",
399 .cmd
= hmp_info_status
,
405 Show the current VM
status (running|paused
).
412 .help
= "show which guest mouse is receiving events",
413 .cmd
= hmp_info_mice
,
419 Show which guest mouse is receiving events
.
426 .help
= "show the vnc server status",
433 Show the vnc server status
.
436 #
if defined(CONFIG_SPICE
)
441 .help
= "show the spice server status",
442 .cmd
= hmp_info_spice
,
449 Show the spice server status
.
456 .help
= "show the current VM name",
457 .cmd
= hmp_info_name
,
463 Show the current VM name
.
470 .help
= "show the current VM UUID",
471 .cmd
= hmp_info_uuid
,
477 Show the current VM UUID
.
484 .help
= "show CPU statistics",
485 .cmd
= hmp_info_cpustats
,
494 #
if defined(CONFIG_SLIRP
)
499 .help
= "show user network stack connection states",
500 .cmd
= hmp_info_usernet
,
507 Show user network stack connection states
.
514 .help
= "show migration status",
515 .cmd
= hmp_info_migrate
,
521 Show migration status
.
525 .name
= "migrate_capabilities",
528 .help
= "show current migration capabilities",
529 .cmd
= hmp_info_migrate_capabilities
,
533 @item info migrate_capabilities
534 @findex migrate_capabilities
535 Show current migration capabilities
.
539 .name
= "migrate_parameters",
542 .help
= "show current migration parameters",
543 .cmd
= hmp_info_migrate_parameters
,
547 @item info migrate_parameters
548 @findex migrate_parameters
549 Show current migration parameters
.
553 .name
= "migrate_cache_size",
556 .help
= "show current migration xbzrle cache size",
557 .cmd
= hmp_info_migrate_cache_size
,
561 @item info migrate_cache_size
562 @findex migrate_cache_size
563 Show current migration xbzrle cache size
.
570 .help
= "show balloon information",
571 .cmd
= hmp_info_balloon
,
577 Show balloon information
.
584 .help
= "show device tree",
585 .cmd
= hmp_info_qtree
,
598 .help
= "show qdev device model list",
605 Show qdev device model list
.
610 .args_type
= "path:s?",
612 .help
= "show QOM composition tree",
613 .cmd
= hmp_info_qom_tree
,
619 Show QOM composition tree
.
627 .cmd
= hmp_info_roms
,
637 .name
= "trace-events",
638 .args_type
= "name:s?,vcpu:i?",
639 .params
= "[name] [vcpu]",
640 .help
= "show available trace-events & their state "
641 "(name: event name pattern; vcpu: vCPU to query, default is any)",
642 .cmd
= hmp_info_trace_events
,
643 .command_completion
= info_trace_events_completion
,
647 @item info
trace-events
649 Show available
trace-events
& their state
.
656 .help
= "show the TPM device",
670 .help
= "show memory backends",
671 .cmd
= hmp_info_memdev
,
681 .name
= "memory-devices",
684 .help
= "show memory devices",
685 .cmd
= hmp_info_memory_devices
,
689 @item info memory
-devices
690 @findex memory
-devices
698 .help
= "show iothreads",
699 .cmd
= hmp_info_iothreads
,
705 Show iothread
's identifiers.
710 .args_type = "name:s",
712 .help = "Show rocker switch",
717 @item info rocker @var{name}
723 .name = "rocker-ports",
724 .args_type = "name:s",
726 .help = "Show rocker ports",
727 .cmd = hmp_rocker_ports,
731 @item info rocker_ports @var{name}-ports
737 .name = "rocker-of-dpa-flows",
738 .args_type = "name:s,tbl_id:i?",
739 .params = "name [tbl_id]",
740 .help = "Show rocker OF-DPA flow tables",
741 .cmd = hmp_rocker_of_dpa_flows,
745 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
746 @findex rocker-of-dpa-flows
747 Show rocker OF-DPA flow tables.
751 .name = "rocker-of-dpa-groups",
752 .args_type = "name:s,type:i?",
753 .params = "name [type]",
754 .help = "Show rocker OF-DPA groups",
755 .cmd = hmp_rocker_of_dpa_groups,
759 @item info rocker-of-dpa-groups @var{name} [@var{type}]
760 @findex rocker-of-dpa-groups
761 Show rocker OF-DPA groups.
764 #if defined(TARGET_S390X)
767 .args_type = "addr:l",
769 .help = "Display the value of a storage key",
770 .cmd = hmp_info_skeys,
775 @item info skeys @var{address}
777 Display the value of a storage key (s390 only)
780 #if defined(TARGET_S390X)
783 .args_type = "addr:l,count:l?",
784 .params = "address [count]",
785 .help = "Display the values of the CMMA storage attributes for a range of pages",
786 .cmd = hmp_info_cmma,
791 @item info cmma @var{address}
793 Display the values of the CMMA storage attributes for a range of pages (s390 only)
800 .help = "Display the latest dump status",
801 .cmd = hmp_info_dump,
807 Display the latest dump status.
814 .help = "Display system ramblock information",
815 .cmd = hmp_info_ramblock,
821 Dump all the ramblocks of the system.
825 .name = "hotpluggable-cpus",
828 .help = "Show information about hotpluggable CPUs",
829 .cmd = hmp_hotpluggable_cpus,
833 @item info hotpluggable-cpus
834 @findex hotpluggable-cpus
835 Show information about hotpluggable CPUs
839 @item info vm-generation-id
840 @findex vm-generation-id
841 Show Virtual Machine Generation ID
845 .name = "vm-generation-id",
848 .help = "Show Virtual Machine Generation ID",
849 .cmd = hmp_info_vm_generation_id,