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,
28 Show the version of QEMU.
35 .help = "show the network state",
36 .cmd = hmp_info_network,
42 Show the network state.
49 .help = "show the character devices",
50 .cmd = hmp_info_chardev,
57 Show the character devices.
62 .args_type = "nodes:-n,verbose:-v,device:B?",
63 .params = "[-n] [-v] [device]",
64 .help = "show info of one block device or all block devices "
65 "(-n: show named nodes; -v: show details)",
66 .cmd = hmp_info_block,
72 Show info of one block device or all block devices.
79 .help = "show block device statistics",
80 .cmd = hmp_info_blockstats,
85 @findex info blockstats
86 Show block device statistics.
93 .help = "show progress of ongoing block device operations",
94 .cmd = hmp_info_block_jobs,
99 @findex info block-jobs
100 Show progress of ongoing block device operations.
105 .args_type = "cpustate_all:-a",
107 .help = "show the cpu registers (-a: all - show register info for all cpus)",
108 .cmd = hmp_info_registers,
113 @findex info registers
114 Show the cpu registers.
117 #if defined(TARGET_I386)
120 .args_type = "apic-id:i?",
121 .params = "[apic-id]",
122 .help = "show local apic state (apic-id: local apic to read, default is which of current CPU)",
124 .cmd = hmp_info_local_apic,
131 Show local APIC state
134 #if defined(TARGET_I386)
139 .help = "show io apic state",
140 .cmd = hmp_info_io_apic,
154 .help = "show infos for each CPU",
155 .cmd = hmp_info_cpus,
161 Show infos for each CPU.
168 .help = "show the command line history",
169 .cmd = hmp_info_history,
176 Show the command line history.
183 .help = "show the interrupts statistics (if available)",
190 Show the interrupts statistics (if available).
197 .help = "show PIC state",
204 Show i8259 (PIC) state.
211 .help = "show PCI info",
218 Show PCI information.
221 #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
222 defined(TARGET_PPC) || defined(TARGET_XTENSA) || defined(TARGET_M68K)
227 .help = "show virtual to physical memory mappings",
235 Show virtual to physical memory mappings.
238 #if defined(TARGET_I386)
243 .help = "show the active virtual memory mappings",
251 Show the active virtual memory mappings.
256 .args_type = "flatview:-f,dispatch_tree:-d",
257 .params = "[-f][-d]",
258 .help = "show memory tree (-f: dump flat view for address spaces;"
259 "-d: dump dispatch tree, valid with -f only)",
260 .cmd = hmp_info_mtree,
269 #if defined(CONFIG_TCG)
274 .help = "show dynamic compiler info",
282 Show dynamic compiler info.
285 #if defined(CONFIG_TCG)
290 .help = "show dynamic compiler opcode counters",
291 .cmd = hmp_info_opcount,
298 Show dynamic compiler opcode counters
305 .help = "show KVM information",
312 Show KVM information.
319 .help = "show NUMA information",
320 .cmd = hmp_info_numa,
326 Show NUMA information.
333 .help = "show guest USB devices",
340 Show guest USB devices.
347 .help = "show host USB devices",
348 .cmd = hmp_info_usbhost,
354 Show host USB devices.
361 .help = "show profiling information",
362 .cmd = hmp_info_profile,
368 Show profiling information.
375 .help = "show capture information",
376 .cmd = hmp_info_capture,
382 Show capture information.
389 .help = "show the currently saved VM snapshots",
390 .cmd = hmp_info_snapshots,
395 @findex info snapshots
396 Show the currently saved VM snapshots.
403 .help = "show the current VM status (running|paused)",
404 .cmd = hmp_info_status,
411 Show the current VM status (running|paused).
418 .help = "show which guest mouse is receiving events",
419 .cmd = hmp_info_mice,
425 Show which guest mouse is receiving events.
432 .help = "show the vnc server status",
439 Show the vnc server status.
442 #if defined(CONFIG_SPICE)
447 .help = "show the spice server status",
448 .cmd = hmp_info_spice,
455 Show the spice server status.
462 .help = "show the current VM name",
463 .cmd = hmp_info_name,
470 Show the current VM name.
477 .help = "show the current VM UUID",
478 .cmd = hmp_info_uuid,
485 Show the current VM UUID.
492 .help = "show CPU statistics",
493 .cmd = hmp_info_cpustats,
498 @findex info cpustats
502 #if defined(CONFIG_SLIRP)
507 .help = "show user network stack connection states",
508 .cmd = hmp_info_usernet,
515 Show user network stack connection states.
522 .help = "show migration status",
523 .cmd = hmp_info_migrate,
529 Show migration status.
533 .name = "migrate_capabilities",
536 .help = "show current migration capabilities",
537 .cmd = hmp_info_migrate_capabilities,
541 @item info migrate_capabilities
542 @findex info migrate_capabilities
543 Show current migration capabilities.
547 .name = "migrate_parameters",
550 .help = "show current migration parameters",
551 .cmd = hmp_info_migrate_parameters,
555 @item info migrate_parameters
556 @findex info migrate_parameters
557 Show current migration parameters.
561 .name = "migrate_cache_size",
564 .help = "show current migration xbzrle cache size",
565 .cmd = hmp_info_migrate_cache_size,
569 @item info migrate_cache_size
570 @findex info migrate_cache_size
571 Show current migration xbzrle cache size.
578 .help = "show balloon information",
579 .cmd = hmp_info_balloon,
585 Show balloon information.
592 .help = "show device tree",
593 .cmd = hmp_info_qtree,
606 .help = "show qdev device model list",
613 Show qdev device model list.
618 .args_type = "path:s?",
620 .help = "show QOM composition tree",
621 .cmd = hmp_info_qom_tree,
627 @findex info qom-tree
628 Show QOM composition tree.
636 .cmd = hmp_info_roms,
646 .name = "trace-events",
647 .args_type = "name:s?,vcpu:i?",
648 .params = "[name] [vcpu]",
649 .help = "show available trace-events & their state "
650 "(name: event name pattern; vcpu: vCPU to query, default is any)",
651 .cmd = hmp_info_trace_events,
652 .command_completion = info_trace_events_completion,
656 @item info trace-events
657 @findex info trace-events
658 Show available trace-events & their state.
665 .help = "show the TPM device",
679 .help = "show memory backends",
680 .cmd = hmp_info_memdev,
691 .name = "memory-devices",
694 .help = "show memory devices",
695 .cmd = hmp_info_memory_devices,
699 @item info memory-devices
700 @findex info memory-devices
708 .help = "show iothreads",
709 .cmd = hmp_info_iothreads,
715 @findex info iothreads
716 Show iothread's identifiers.
721 .args_type = "name:s",
723 .help = "Show rocker switch",
728 @item info rocker @var{name}
734 .name = "rocker-ports",
735 .args_type = "name:s",
737 .help = "Show rocker ports",
738 .cmd = hmp_rocker_ports,
742 @item info rocker-ports @var{name}-ports
743 @findex info rocker-ports
748 .name = "rocker-of-dpa-flows",
749 .args_type = "name:s,tbl_id:i?",
750 .params = "name [tbl_id]",
751 .help = "Show rocker OF-DPA flow tables",
752 .cmd = hmp_rocker_of_dpa_flows,
756 @item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
757 @findex info rocker-of-dpa-flows
758 Show rocker OF-DPA flow tables.
762 .name = "rocker-of-dpa-groups",
763 .args_type = "name:s,type:i?",
764 .params = "name [type]",
765 .help = "Show rocker OF-DPA groups",
766 .cmd = hmp_rocker_of_dpa_groups,
770 @item info rocker-of-dpa-groups @var{name} [@var{type}]
771 @findex info rocker-of-dpa-groups
772 Show rocker OF-DPA groups.
775 #if defined(TARGET_S390X)
778 .args_type = "addr:l",
780 .help = "Display the value of a storage key",
781 .cmd = hmp_info_skeys,
786 @item info skeys @var{address}
788 Display the value of a storage key (s390 only)
791 #if defined(TARGET_S390X)
794 .args_type = "addr:l,count:l?",
795 .params = "address [count]",
796 .help = "Display the values of the CMMA storage attributes for a range of pages",
797 .cmd = hmp_info_cmma,
802 @item info cmma @var{address}
804 Display the values of the CMMA storage attributes for a range of pages (s390 only)
811 .help = "Display the latest dump status",
812 .cmd = hmp_info_dump,
818 Display the latest dump status.
825 .help = "Display system ramblock information",
826 .cmd = hmp_info_ramblock,
831 @findex info ramblock
832 Dump all the ramblocks of the system.
836 .name = "hotpluggable-cpus",
839 .help = "Show information about hotpluggable CPUs",
840 .cmd = hmp_hotpluggable_cpus,
845 @item info hotpluggable-cpus
846 @findex info hotpluggable-cpus
847 Show information about hotpluggable CPUs
851 .name = "vm-generation-id",
854 .help = "Show Virtual Machine Generation ID",
855 .cmd = hmp_info_vm_generation_id,
859 @item info vm-generation-id
860 @findex info vm-generation-id
861 Show Virtual Machine Generation ID
865 .name = "memory_size_summary",
868 .help = "show the amount of initially allocated and "
869 "present hotpluggable (if enabled) memory in bytes.",
870 .cmd = hmp_info_memory_size_summary,
874 @item info memory_size_summary
875 @findex info memory_size_summary
876 Display the amount of initially allocated and present hotpluggable (if
877 enabled) memory in bytes.
880 #if defined(TARGET_I386)
885 .help = "show SEV information",
893 Show SEV information.