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.
115 #if defined(TARGET_I386)
120 .help = "show local apic state",
121 .mhandler.cmd = hmp_info_local_apic,
128 Show local APIC state
131 #if defined(TARGET_I386)
136 .help = "show io apic state",
137 .mhandler.cmd = hmp_info_io_apic,
151 .help = "show infos for each CPU",
152 .mhandler.cmd = hmp_info_cpus,
158 Show infos for each CPU.
165 .help = "show the command line history",
166 .mhandler.cmd = hmp_info_history,
172 Show the command line history.
175 #if defined(TARGET_I386) || defined(TARGET_PPC) || defined(TARGET_MIPS) || \
176 defined(TARGET_LM32) || (defined(TARGET_SPARC) && !defined(TARGET_SPARC64))
181 .help = "show the interrupts statistics (if available)",
183 .mhandler.cmd = sun4m_hmp_info_irq,
184 #elif defined(TARGET_LM32)
185 .mhandler.cmd = lm32_hmp_info_irq,
187 .mhandler.cmd = hmp_info_irq,
194 Show the interrupts statistics (if available).
201 .help = "show i8259 (PIC) state",
203 .mhandler.cmd = sun4m_hmp_info_pic,
204 #elif defined(TARGET_LM32)
205 .mhandler.cmd = lm32_hmp_info_pic,
207 .mhandler.cmd = hmp_info_pic,
215 Show i8259 (PIC) state.
222 .help = "show PCI info",
223 .mhandler.cmd = hmp_info_pci,
229 Show PCI information.
232 #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
233 defined(TARGET_PPC) || defined(TARGET_XTENSA)
238 .help = "show virtual to physical memory mappings",
239 .mhandler.cmd = hmp_info_tlb,
246 Show virtual to physical memory mappings.
249 #if defined(TARGET_I386)
254 .help = "show the active virtual memory mappings",
255 .mhandler.cmd = hmp_info_mem,
262 Show the active virtual memory mappings.
269 .help = "show memory tree",
270 .mhandler.cmd = hmp_info_mtree,
283 .help = "show dynamic compiler info",
284 .mhandler.cmd = hmp_info_jit,
290 Show dynamic compiler info.
297 .help = "show dynamic compiler opcode counters",
298 .mhandler.cmd = hmp_info_opcount,
304 Show dynamic compiler opcode counters
311 .help = "show KVM information",
312 .mhandler.cmd = hmp_info_kvm,
318 Show KVM information.
325 .help = "show NUMA information",
326 .mhandler.cmd = hmp_info_numa,
332 Show NUMA information.
339 .help = "show guest USB devices",
340 .mhandler.cmd = hmp_info_usb,
346 Show guest USB devices.
353 .help = "show host USB devices",
354 .mhandler.cmd = hmp_info_usbhost,
360 Show host USB devices.
367 .help = "show profiling information",
368 .mhandler.cmd = hmp_info_profile,
374 Show profiling information.
381 .help = "show capture information",
382 .mhandler.cmd = hmp_info_capture,
388 Show capture information.
395 .help = "show the currently saved VM snapshots",
396 .mhandler.cmd = hmp_info_snapshots,
402 Show the currently saved VM snapshots.
409 .help = "show the current VM status (running|paused)",
410 .mhandler.cmd = hmp_info_status,
416 Show the current VM status (running|paused).
423 .help = "show which guest mouse is receiving events",
424 .mhandler.cmd = hmp_info_mice,
430 Show which guest mouse is receiving events.
437 .help = "show the vnc server status",
438 .mhandler.cmd = hmp_info_vnc,
444 Show the vnc server status.
447 #if defined(CONFIG_SPICE)
452 .help = "show the spice server status",
453 .mhandler.cmd = hmp_info_spice,
460 Show the spice server status.
467 .help = "show the current VM name",
468 .mhandler.cmd = hmp_info_name,
474 Show the current VM name.
481 .help = "show the current VM UUID",
482 .mhandler.cmd = hmp_info_uuid,
488 Show the current VM UUID.
495 .help = "show CPU statistics",
496 .mhandler.cmd = hmp_info_cpustats,
505 #if defined(CONFIG_SLIRP)
510 .help = "show user network stack connection states",
511 .mhandler.cmd = hmp_info_usernet,
518 Show user network stack connection states.
525 .help = "show migration status",
526 .mhandler.cmd = hmp_info_migrate,
532 Show migration status.
536 .name = "migrate_capabilities",
539 .help = "show current migration capabilities",
540 .mhandler.cmd = hmp_info_migrate_capabilities,
544 @item info migrate_capabilities
545 @findex migrate_capabilities
546 Show current migration capabilities.
550 .name = "migrate_parameters",
553 .help = "show current migration parameters",
554 .mhandler.cmd = hmp_info_migrate_parameters,
558 @item info migrate_parameters
559 @findex migrate_parameters
560 Show current migration parameters.
564 .name = "migrate_cache_size",
567 .help = "show current migration xbzrle cache size",
568 .mhandler.cmd = hmp_info_migrate_cache_size,
572 @item info migrate_cache_size
573 @findex migrate_cache_size
574 Show current migration xbzrle cache size.
581 .help = "show balloon information",
582 .mhandler.cmd = hmp_info_balloon,
588 Show balloon information.
595 .help = "show device tree",
596 .mhandler.cmd = hmp_info_qtree,
609 .help = "show qdev device model list",
610 .mhandler.cmd = hmp_info_qdm,
616 Show qdev device model list.
621 .args_type = "path:s?",
623 .help = "show QOM composition tree",
624 .mhandler.cmd = hmp_info_qom_tree,
630 Show QOM composition tree.
638 .mhandler.cmd = hmp_info_roms,
648 .name = "trace-events",
649 .args_type = "name:s?,vcpu:i?",
650 .params = "[name] [vcpu]",
651 .help = "show available trace-events & their state "
652 "(name: event name pattern; vcpu: vCPU to query, default is any)",
653 .mhandler.cmd = hmp_info_trace_events,
654 .command_completion = info_trace_events_completion,
658 @item info trace-events
660 Show available trace-events & their state.
667 .help = "show the TPM device",
668 .mhandler.cmd = hmp_info_tpm,
681 .help = "show memory backends",
682 .mhandler.cmd = hmp_info_memdev,
692 .name = "memory-devices",
695 .help = "show memory devices",
696 .mhandler.cmd = hmp_info_memory_devices,
700 @item info memory-devices
701 @findex memory-devices
709 .help = "show iothreads",
710 .mhandler.cmd = hmp_info_iothreads,
716 Show iothread's identifiers.
721 .args_type = "name:s",
723 .help = "Show rocker switch",
724 .mhandler.cmd = hmp_rocker,
728 @item info rocker @var{name}
734 .name = "rocker-ports",
735 .args_type = "name:s",
737 .help = "Show rocker ports",
738 .mhandler.cmd = hmp_rocker_ports,
742 @item info rocker_ports @var{name}-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 .mhandler.cmd = hmp_rocker_of_dpa_flows,
756 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
757 @findex 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 .mhandler.cmd = hmp_rocker_of_dpa_groups,
770 @item info rocker-of-dpa-groups @var{name} [@var{type}]
771 @findex 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 .mhandler.cmd = hmp_info_skeys,
786 @item info skeys @var{address}
788 Display the value of a storage key (s390 only)
795 .help = "Display the latest dump status",
796 .mhandler.cmd = hmp_info_dump,
802 Display the latest dump status.
806 .name = "hotpluggable-cpus",
809 .help = "Show information about hotpluggable CPUs",
810 .mhandler.cmd = hmp_hotpluggable_cpus,
814 @item info hotpluggable-cpus
815 @findex hotpluggable-cpus
816 Show information about hotpluggable CPUs