hw/tpm: remove old i386 dependency
[qemu/ar7.git] / hmp-commands-info.hx
blob54c3e5eac668c018feedac1d03d00dcdad9aa1de
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
8 STEXI
9 @table @option
10 @item info @var{subcommand}
11 @findex info
12 Show various information about the system state.
13 @table @option
14 ETEXI
17 .name = "version",
18 .args_type = "",
19 .params = "",
20 .help = "show the version of QEMU",
21 .cmd = hmp_info_version,
24 STEXI
25 @item info version
26 @findex info version
27 Show the version of QEMU.
28 ETEXI
31 .name = "network",
32 .args_type = "",
33 .params = "",
34 .help = "show the network state",
35 .cmd = hmp_info_network,
38 STEXI
39 @item info network
40 @findex info network
41 Show the network state.
42 ETEXI
45 .name = "chardev",
46 .args_type = "",
47 .params = "",
48 .help = "show the character devices",
49 .cmd = hmp_info_chardev,
52 STEXI
53 @item info chardev
54 @findex info chardev
55 Show the character devices.
56 ETEXI
59 .name = "block",
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,
67 STEXI
68 @item info block
69 @findex info block
70 Show info of one block device or all block devices.
71 ETEXI
74 .name = "blockstats",
75 .args_type = "",
76 .params = "",
77 .help = "show block device statistics",
78 .cmd = hmp_info_blockstats,
81 STEXI
82 @item info blockstats
83 @findex info blockstats
84 Show block device statistics.
85 ETEXI
88 .name = "block-jobs",
89 .args_type = "",
90 .params = "",
91 .help = "show progress of ongoing block device operations",
92 .cmd = hmp_info_block_jobs,
95 STEXI
96 @item info block-jobs
97 @findex info block-jobs
98 Show progress of ongoing block device operations.
99 ETEXI
102 .name = "registers",
103 .args_type = "cpustate_all:-a",
104 .params = "[-a]",
105 .help = "show the cpu registers (-a: all - show register info for all cpus)",
106 .cmd = hmp_info_registers,
109 STEXI
110 @item info registers
111 @findex info registers
112 Show the cpu registers.
113 ETEXI
115 #if defined(TARGET_I386)
117 .name = "lapic",
118 .args_type = "apic-id:i?",
119 .params = "[apic-id]",
120 .help = "show local apic state (apic-id: local apic to read, default is which of current CPU)",
122 .cmd = hmp_info_local_apic,
124 #endif
126 STEXI
127 @item info lapic
128 @findex info lapic
129 Show local APIC state
130 ETEXI
132 #if defined(TARGET_I386)
134 .name = "ioapic",
135 .args_type = "",
136 .params = "",
137 .help = "show io apic state",
138 .cmd = hmp_info_io_apic,
140 #endif
142 STEXI
143 @item info ioapic
144 @findex info ioapic
145 Show io APIC state
146 ETEXI
149 .name = "cpus",
150 .args_type = "",
151 .params = "",
152 .help = "show infos for each CPU",
153 .cmd = hmp_info_cpus,
156 STEXI
157 @item info cpus
158 @findex info cpus
159 Show infos for each CPU.
160 ETEXI
163 .name = "history",
164 .args_type = "",
165 .params = "",
166 .help = "show the command line history",
167 .cmd = hmp_info_history,
170 STEXI
171 @item info history
172 @findex info history
173 Show the command line history.
174 ETEXI
177 .name = "irq",
178 .args_type = "",
179 .params = "",
180 .help = "show the interrupts statistics (if available)",
181 .cmd = hmp_info_irq,
184 STEXI
185 @item info irq
186 @findex info irq
187 Show the interrupts statistics (if available).
188 ETEXI
191 .name = "pic",
192 .args_type = "",
193 .params = "",
194 .help = "show PIC state",
195 .cmd = hmp_info_pic,
198 STEXI
199 @item info pic
200 @findex info pic
201 Show i8259 (PIC) state.
202 ETEXI
205 .name = "pci",
206 .args_type = "",
207 .params = "",
208 .help = "show PCI info",
209 .cmd = hmp_info_pci,
212 STEXI
213 @item info pci
214 @findex info pci
215 Show PCI information.
216 ETEXI
218 #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
219 defined(TARGET_PPC) || defined(TARGET_XTENSA)
221 .name = "tlb",
222 .args_type = "",
223 .params = "",
224 .help = "show virtual to physical memory mappings",
225 .cmd = hmp_info_tlb,
227 #endif
229 STEXI
230 @item info tlb
231 @findex info tlb
232 Show virtual to physical memory mappings.
233 ETEXI
235 #if defined(TARGET_I386)
237 .name = "mem",
238 .args_type = "",
239 .params = "",
240 .help = "show the active virtual memory mappings",
241 .cmd = hmp_info_mem,
243 #endif
245 STEXI
246 @item info mem
247 @findex info mem
248 Show the active virtual memory mappings.
249 ETEXI
252 .name = "mtree",
253 .args_type = "flatview:-f,dispatch_tree:-d",
254 .params = "[-f][-d]",
255 .help = "show memory tree (-f: dump flat view for address spaces;"
256 "-d: dump dispatch tree, valid with -f only)",
257 .cmd = hmp_info_mtree,
260 STEXI
261 @item info mtree
262 @findex info mtree
263 Show memory tree.
264 ETEXI
266 #if defined(CONFIG_TCG)
268 .name = "jit",
269 .args_type = "",
270 .params = "",
271 .help = "show dynamic compiler info",
272 .cmd = hmp_info_jit,
274 #endif
276 STEXI
277 @item info jit
278 @findex info jit
279 Show dynamic compiler info.
280 ETEXI
282 #if defined(CONFIG_TCG)
284 .name = "opcount",
285 .args_type = "",
286 .params = "",
287 .help = "show dynamic compiler opcode counters",
288 .cmd = hmp_info_opcount,
290 #endif
292 STEXI
293 @item info opcount
294 @findex info opcount
295 Show dynamic compiler opcode counters
296 ETEXI
299 .name = "kvm",
300 .args_type = "",
301 .params = "",
302 .help = "show KVM information",
303 .cmd = hmp_info_kvm,
306 STEXI
307 @item info kvm
308 @findex info kvm
309 Show KVM information.
310 ETEXI
313 .name = "numa",
314 .args_type = "",
315 .params = "",
316 .help = "show NUMA information",
317 .cmd = hmp_info_numa,
320 STEXI
321 @item info numa
322 @findex info numa
323 Show NUMA information.
324 ETEXI
327 .name = "usb",
328 .args_type = "",
329 .params = "",
330 .help = "show guest USB devices",
331 .cmd = hmp_info_usb,
334 STEXI
335 @item info usb
336 @findex info usb
337 Show guest USB devices.
338 ETEXI
341 .name = "usbhost",
342 .args_type = "",
343 .params = "",
344 .help = "show host USB devices",
345 .cmd = hmp_info_usbhost,
348 STEXI
349 @item info usbhost
350 @findex info usbhost
351 Show host USB devices.
352 ETEXI
355 .name = "profile",
356 .args_type = "",
357 .params = "",
358 .help = "show profiling information",
359 .cmd = hmp_info_profile,
362 STEXI
363 @item info profile
364 @findex info profile
365 Show profiling information.
366 ETEXI
369 .name = "capture",
370 .args_type = "",
371 .params = "",
372 .help = "show capture information",
373 .cmd = hmp_info_capture,
376 STEXI
377 @item info capture
378 @findex info capture
379 Show capture information.
380 ETEXI
383 .name = "snapshots",
384 .args_type = "",
385 .params = "",
386 .help = "show the currently saved VM snapshots",
387 .cmd = hmp_info_snapshots,
390 STEXI
391 @item info snapshots
392 @findex info snapshots
393 Show the currently saved VM snapshots.
394 ETEXI
397 .name = "status",
398 .args_type = "",
399 .params = "",
400 .help = "show the current VM status (running|paused)",
401 .cmd = hmp_info_status,
404 STEXI
405 @item info status
406 @findex info status
407 Show the current VM status (running|paused).
408 ETEXI
411 .name = "mice",
412 .args_type = "",
413 .params = "",
414 .help = "show which guest mouse is receiving events",
415 .cmd = hmp_info_mice,
418 STEXI
419 @item info mice
420 @findex info mice
421 Show which guest mouse is receiving events.
422 ETEXI
425 .name = "vnc",
426 .args_type = "",
427 .params = "",
428 .help = "show the vnc server status",
429 .cmd = hmp_info_vnc,
432 STEXI
433 @item info vnc
434 @findex info vnc
435 Show the vnc server status.
436 ETEXI
438 #if defined(CONFIG_SPICE)
440 .name = "spice",
441 .args_type = "",
442 .params = "",
443 .help = "show the spice server status",
444 .cmd = hmp_info_spice,
446 #endif
448 STEXI
449 @item info spice
450 @findex info spice
451 Show the spice server status.
452 ETEXI
455 .name = "name",
456 .args_type = "",
457 .params = "",
458 .help = "show the current VM name",
459 .cmd = hmp_info_name,
462 STEXI
463 @item info name
464 @findex info name
465 Show the current VM name.
466 ETEXI
469 .name = "uuid",
470 .args_type = "",
471 .params = "",
472 .help = "show the current VM UUID",
473 .cmd = hmp_info_uuid,
476 STEXI
477 @item info uuid
478 @findex info uuid
479 Show the current VM UUID.
480 ETEXI
483 .name = "cpustats",
484 .args_type = "",
485 .params = "",
486 .help = "show CPU statistics",
487 .cmd = hmp_info_cpustats,
490 STEXI
491 @item info cpustats
492 @findex info cpustats
493 Show CPU statistics.
494 ETEXI
496 #if defined(CONFIG_SLIRP)
498 .name = "usernet",
499 .args_type = "",
500 .params = "",
501 .help = "show user network stack connection states",
502 .cmd = hmp_info_usernet,
504 #endif
506 STEXI
507 @item info usernet
508 @findex info usernet
509 Show user network stack connection states.
510 ETEXI
513 .name = "migrate",
514 .args_type = "",
515 .params = "",
516 .help = "show migration status",
517 .cmd = hmp_info_migrate,
520 STEXI
521 @item info migrate
522 @findex info migrate
523 Show migration status.
524 ETEXI
527 .name = "migrate_capabilities",
528 .args_type = "",
529 .params = "",
530 .help = "show current migration capabilities",
531 .cmd = hmp_info_migrate_capabilities,
534 STEXI
535 @item info migrate_capabilities
536 @findex info migrate_capabilities
537 Show current migration capabilities.
538 ETEXI
541 .name = "migrate_parameters",
542 .args_type = "",
543 .params = "",
544 .help = "show current migration parameters",
545 .cmd = hmp_info_migrate_parameters,
548 STEXI
549 @item info migrate_parameters
550 @findex info migrate_parameters
551 Show current migration parameters.
552 ETEXI
555 .name = "migrate_cache_size",
556 .args_type = "",
557 .params = "",
558 .help = "show current migration xbzrle cache size",
559 .cmd = hmp_info_migrate_cache_size,
562 STEXI
563 @item info migrate_cache_size
564 @findex info migrate_cache_size
565 Show current migration xbzrle cache size.
566 ETEXI
569 .name = "balloon",
570 .args_type = "",
571 .params = "",
572 .help = "show balloon information",
573 .cmd = hmp_info_balloon,
576 STEXI
577 @item info balloon
578 @findex info balloon
579 Show balloon information.
580 ETEXI
583 .name = "qtree",
584 .args_type = "",
585 .params = "",
586 .help = "show device tree",
587 .cmd = hmp_info_qtree,
590 STEXI
591 @item info qtree
592 @findex info qtree
593 Show device tree.
594 ETEXI
597 .name = "qdm",
598 .args_type = "",
599 .params = "",
600 .help = "show qdev device model list",
601 .cmd = hmp_info_qdm,
604 STEXI
605 @item info qdm
606 @findex info qdm
607 Show qdev device model list.
608 ETEXI
611 .name = "qom-tree",
612 .args_type = "path:s?",
613 .params = "[path]",
614 .help = "show QOM composition tree",
615 .cmd = hmp_info_qom_tree,
618 STEXI
619 @item info qom-tree
620 @findex info qom-tree
621 Show QOM composition tree.
622 ETEXI
625 .name = "roms",
626 .args_type = "",
627 .params = "",
628 .help = "show roms",
629 .cmd = hmp_info_roms,
632 STEXI
633 @item info roms
634 @findex info roms
635 Show roms.
636 ETEXI
639 .name = "trace-events",
640 .args_type = "name:s?,vcpu:i?",
641 .params = "[name] [vcpu]",
642 .help = "show available trace-events & their state "
643 "(name: event name pattern; vcpu: vCPU to query, default is any)",
644 .cmd = hmp_info_trace_events,
645 .command_completion = info_trace_events_completion,
648 STEXI
649 @item info trace-events
650 @findex info trace-events
651 Show available trace-events & their state.
652 ETEXI
655 .name = "tpm",
656 .args_type = "",
657 .params = "",
658 .help = "show the TPM device",
659 .cmd = hmp_info_tpm,
662 STEXI
663 @item info tpm
664 @findex info tpm
665 Show the TPM device.
666 ETEXI
669 .name = "memdev",
670 .args_type = "",
671 .params = "",
672 .help = "show memory backends",
673 .cmd = hmp_info_memdev,
676 STEXI
677 @item info memdev
678 @findex info memdev
679 Show memory backends
680 ETEXI
683 .name = "memory-devices",
684 .args_type = "",
685 .params = "",
686 .help = "show memory devices",
687 .cmd = hmp_info_memory_devices,
690 STEXI
691 @item info memory-devices
692 @findex info memory-devices
693 Show memory devices.
694 ETEXI
697 .name = "iothreads",
698 .args_type = "",
699 .params = "",
700 .help = "show iothreads",
701 .cmd = hmp_info_iothreads,
704 STEXI
705 @item info iothreads
706 @findex info iothreads
707 Show iothread's identifiers.
708 ETEXI
711 .name = "rocker",
712 .args_type = "name:s",
713 .params = "name",
714 .help = "Show rocker switch",
715 .cmd = hmp_rocker,
718 STEXI
719 @item info rocker @var{name}
720 @findex info rocker
721 Show rocker switch.
722 ETEXI
725 .name = "rocker-ports",
726 .args_type = "name:s",
727 .params = "name",
728 .help = "Show rocker ports",
729 .cmd = hmp_rocker_ports,
732 STEXI
733 @item info rocker-ports @var{name}-ports
734 @findex info rocker-ports
735 Show rocker ports.
736 ETEXI
739 .name = "rocker-of-dpa-flows",
740 .args_type = "name:s,tbl_id:i?",
741 .params = "name [tbl_id]",
742 .help = "Show rocker OF-DPA flow tables",
743 .cmd = hmp_rocker_of_dpa_flows,
746 STEXI
747 @item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
748 @findex info rocker-of-dpa-flows
749 Show rocker OF-DPA flow tables.
750 ETEXI
753 .name = "rocker-of-dpa-groups",
754 .args_type = "name:s,type:i?",
755 .params = "name [type]",
756 .help = "Show rocker OF-DPA groups",
757 .cmd = hmp_rocker_of_dpa_groups,
760 STEXI
761 @item info rocker-of-dpa-groups @var{name} [@var{type}]
762 @findex info rocker-of-dpa-groups
763 Show rocker OF-DPA groups.
764 ETEXI
766 #if defined(TARGET_S390X)
768 .name = "skeys",
769 .args_type = "addr:l",
770 .params = "address",
771 .help = "Display the value of a storage key",
772 .cmd = hmp_info_skeys,
774 #endif
776 STEXI
777 @item info skeys @var{address}
778 @findex info skeys
779 Display the value of a storage key (s390 only)
780 ETEXI
782 #if defined(TARGET_S390X)
784 .name = "cmma",
785 .args_type = "addr:l,count:l?",
786 .params = "address [count]",
787 .help = "Display the values of the CMMA storage attributes for a range of pages",
788 .cmd = hmp_info_cmma,
790 #endif
792 STEXI
793 @item info cmma @var{address}
794 @findex info cmma
795 Display the values of the CMMA storage attributes for a range of pages (s390 only)
796 ETEXI
799 .name = "dump",
800 .args_type = "",
801 .params = "",
802 .help = "Display the latest dump status",
803 .cmd = hmp_info_dump,
806 STEXI
807 @item info dump
808 @findex info dump
809 Display the latest dump status.
810 ETEXI
813 .name = "ramblock",
814 .args_type = "",
815 .params = "",
816 .help = "Display system ramblock information",
817 .cmd = hmp_info_ramblock,
820 STEXI
821 @item info ramblock
822 @findex info ramblock
823 Dump all the ramblocks of the system.
824 ETEXI
827 .name = "hotpluggable-cpus",
828 .args_type = "",
829 .params = "",
830 .help = "Show information about hotpluggable CPUs",
831 .cmd = hmp_hotpluggable_cpus,
834 STEXI
835 @item info hotpluggable-cpus
836 @findex info hotpluggable-cpus
837 Show information about hotpluggable CPUs
838 ETEXI
841 .name = "vm-generation-id",
842 .args_type = "",
843 .params = "",
844 .help = "Show Virtual Machine Generation ID",
845 .cmd = hmp_info_vm_generation_id,
848 STEXI
849 @item info vm-generation-id
850 @findex info vm-generation-id
851 Show Virtual Machine Generation ID
852 ETEXI
855 .name = "memory_size_summary",
856 .args_type = "",
857 .params = "",
858 .help = "show the amount of initially allocated and "
859 "present hotpluggable (if enabled) memory in bytes.",
860 .cmd = hmp_info_memory_size_summary,
863 STEXI
864 @item info memory_size_summary
865 @findex info memory_size_summary
866 Display the amount of initially allocated and present hotpluggable (if
867 enabled) memory in bytes.
868 ETEXI
870 STEXI
871 @end table
872 ETEXI
874 STEXI
875 @end table
876 ETEXI