]> git.proxmox.com Git - mirror_qemu.git/blame - hmp-commands-info.hx
hmp-commands-info: Fix "info rocker-FOO" misspellings
[mirror_qemu.git] / hmp-commands-info.hx
CommitLineData
da76ee76
PB
1HXCOMM Use DEFHEADING() to define headings in both help text and texi
2HXCOMM Text between STEXI and ETEXI are copied to texi version and
3HXCOMM discarded from C version
4HXCOMM DEF(command, args, callback, arg_string, help) is used to construct
5HXCOMM monitor info commands
6HXCOMM HXCOMM can be used for comments, discarded from both texi and C
7
8STEXI
9@table @option
2cd8af2d
PB
10@item info @var{subcommand}
11@findex info
12Show various information about the system state.
13@table @option
da76ee76
PB
14ETEXI
15
16 {
17 .name = "version",
18 .args_type = "",
19 .params = "",
20 .help = "show the version of QEMU",
2b9e3576 21 .cmd = hmp_info_version,
da76ee76
PB
22 },
23
24STEXI
25@item info version
26@findex version
27Show the version of QEMU.
28ETEXI
29
30 {
31 .name = "network",
32 .args_type = "",
33 .params = "",
34 .help = "show the network state",
2b9e3576 35 .cmd = hmp_info_network,
da76ee76
PB
36 },
37
38STEXI
39@item info network
40@findex network
41Show the network state.
42ETEXI
43
44 {
45 .name = "chardev",
46 .args_type = "",
47 .params = "",
48 .help = "show the character devices",
2b9e3576 49 .cmd = hmp_info_chardev,
da76ee76
PB
50 },
51
52STEXI
53@item info chardev
54@findex chardev
55Show the character devices.
56ETEXI
57
58 {
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)",
2b9e3576 64 .cmd = hmp_info_block,
da76ee76
PB
65 },
66
67STEXI
68@item info block
69@findex block
70Show info of one block device or all block devices.
71ETEXI
72
73 {
74 .name = "blockstats",
75 .args_type = "",
76 .params = "",
77 .help = "show block device statistics",
2b9e3576 78 .cmd = hmp_info_blockstats,
da76ee76
PB
79 },
80
81STEXI
82@item info blockstats
83@findex blockstats
84Show block device statistics.
85ETEXI
86
87 {
88 .name = "block-jobs",
89 .args_type = "",
90 .params = "",
91 .help = "show progress of ongoing block device operations",
2b9e3576 92 .cmd = hmp_info_block_jobs,
da76ee76
PB
93 },
94
95STEXI
96@item info block-jobs
97@findex block-jobs
98Show progress of ongoing block device operations.
99ETEXI
100
101 {
102 .name = "registers",
18f08282
SJS
103 .args_type = "cpustate_all:-a",
104 .params = "[-a]",
105 .help = "show the cpu registers (-a: all - show register info for all cpus)",
2b9e3576 106 .cmd = hmp_info_registers,
da76ee76
PB
107 },
108
109STEXI
110@item info registers
111@findex registers
112Show the cpu registers.
1f871d49
PB
113ETEXI
114
115#if defined(TARGET_I386)
116 {
117 .name = "lapic",
1bef2284
YW
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)",
121
2b9e3576 122 .cmd = hmp_info_local_apic,
1f871d49
PB
123 },
124#endif
125
126STEXI
127@item info lapic
128@findex lapic
129Show local APIC state
d665d696
PB
130ETEXI
131
132#if defined(TARGET_I386)
133 {
134 .name = "ioapic",
135 .args_type = "",
136 .params = "",
137 .help = "show io apic state",
2b9e3576 138 .cmd = hmp_info_io_apic,
d665d696
PB
139 },
140#endif
141
142STEXI
143@item info ioapic
144@findex ioapic
145Show io APIC state
da76ee76
PB
146ETEXI
147
148 {
149 .name = "cpus",
150 .args_type = "",
151 .params = "",
152 .help = "show infos for each CPU",
2b9e3576 153 .cmd = hmp_info_cpus,
da76ee76
PB
154 },
155
156STEXI
157@item info cpus
158@findex cpus
159Show infos for each CPU.
160ETEXI
161
162 {
163 .name = "history",
164 .args_type = "",
165 .params = "",
166 .help = "show the command line history",
2b9e3576 167 .cmd = hmp_info_history,
da76ee76
PB
168 },
169
170STEXI
171@item info history
172@findex history
173Show the command line history.
174ETEXI
175
da76ee76
PB
176 {
177 .name = "irq",
178 .args_type = "",
179 .params = "",
180 .help = "show the interrupts statistics (if available)",
2b9e3576 181 .cmd = hmp_info_irq,
da76ee76
PB
182 },
183
184STEXI
185@item info irq
186@findex irq
187Show the interrupts statistics (if available).
188ETEXI
189
190 {
191 .name = "pic",
192 .args_type = "",
193 .params = "",
254316fa 194 .help = "show PIC state",
2b9e3576 195 .cmd = hmp_info_pic,
da76ee76 196 },
da76ee76
PB
197
198STEXI
199@item info pic
200@findex pic
201Show i8259 (PIC) state.
abadcbc8
PB
202ETEXI
203
204 {
205 .name = "pci",
206 .args_type = "",
207 .params = "",
208 .help = "show PCI info",
2b9e3576 209 .cmd = hmp_info_pci,
abadcbc8
PB
210 },
211
212STEXI
213@item info pci
214@findex pci
215Show PCI information.
da76ee76
PB
216ETEXI
217
218#if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
219 defined(TARGET_PPC) || defined(TARGET_XTENSA)
220 {
221 .name = "tlb",
222 .args_type = "",
223 .params = "",
224 .help = "show virtual to physical memory mappings",
2b9e3576 225 .cmd = hmp_info_tlb,
da76ee76
PB
226 },
227#endif
228
229STEXI
230@item info tlb
231@findex tlb
232Show virtual to physical memory mappings.
233ETEXI
234
235#if defined(TARGET_I386)
236 {
237 .name = "mem",
238 .args_type = "",
239 .params = "",
240 .help = "show the active virtual memory mappings",
2b9e3576 241 .cmd = hmp_info_mem,
da76ee76
PB
242 },
243#endif
244
245STEXI
246@item info mem
247@findex mem
248Show the active virtual memory mappings.
249ETEXI
250
251 {
252 .name = "mtree",
5e8fd947
AK
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)",
2b9e3576 257 .cmd = hmp_info_mtree,
da76ee76
PB
258 },
259
260STEXI
261@item info mtree
262@findex mtree
263Show memory tree.
264ETEXI
265
f0d14a95 266#if defined(CONFIG_TCG)
da76ee76
PB
267 {
268 .name = "jit",
269 .args_type = "",
270 .params = "",
271 .help = "show dynamic compiler info",
2b9e3576 272 .cmd = hmp_info_jit,
da76ee76 273 },
f0d14a95 274#endif
da76ee76
PB
275
276STEXI
277@item info jit
278@findex jit
279Show dynamic compiler info.
280ETEXI
281
f0d14a95 282#if defined(CONFIG_TCG)
da76ee76
PB
283 {
284 .name = "opcount",
285 .args_type = "",
286 .params = "",
287 .help = "show dynamic compiler opcode counters",
2b9e3576 288 .cmd = hmp_info_opcount,
da76ee76 289 },
f0d14a95 290#endif
da76ee76
PB
291
292STEXI
293@item info opcount
294@findex opcount
295Show dynamic compiler opcode counters
296ETEXI
297
298 {
299 .name = "kvm",
300 .args_type = "",
301 .params = "",
302 .help = "show KVM information",
2b9e3576 303 .cmd = hmp_info_kvm,
da76ee76
PB
304 },
305
306STEXI
307@item info kvm
308@findex kvm
309Show KVM information.
310ETEXI
311
312 {
313 .name = "numa",
314 .args_type = "",
315 .params = "",
316 .help = "show NUMA information",
2b9e3576 317 .cmd = hmp_info_numa,
da76ee76
PB
318 },
319
320STEXI
321@item info numa
322@findex numa
323Show NUMA information.
324ETEXI
325
326 {
327 .name = "usb",
328 .args_type = "",
329 .params = "",
330 .help = "show guest USB devices",
2b9e3576 331 .cmd = hmp_info_usb,
da76ee76
PB
332 },
333
334STEXI
335@item info usb
336@findex usb
337Show guest USB devices.
338ETEXI
339
340 {
341 .name = "usbhost",
342 .args_type = "",
343 .params = "",
344 .help = "show host USB devices",
2b9e3576 345 .cmd = hmp_info_usbhost,
da76ee76
PB
346 },
347
348STEXI
349@item info usbhost
350@findex usbhost
351Show host USB devices.
352ETEXI
353
354 {
355 .name = "profile",
356 .args_type = "",
357 .params = "",
358 .help = "show profiling information",
2b9e3576 359 .cmd = hmp_info_profile,
da76ee76
PB
360 },
361
362STEXI
363@item info profile
364@findex profile
365Show profiling information.
366ETEXI
367
368 {
369 .name = "capture",
370 .args_type = "",
371 .params = "",
372 .help = "show capture information",
2b9e3576 373 .cmd = hmp_info_capture,
da76ee76
PB
374 },
375
376STEXI
377@item info capture
378@findex capture
379Show capture information.
380ETEXI
381
382 {
383 .name = "snapshots",
384 .args_type = "",
385 .params = "",
386 .help = "show the currently saved VM snapshots",
2b9e3576 387 .cmd = hmp_info_snapshots,
da76ee76
PB
388 },
389
390STEXI
391@item info snapshots
392@findex snapshots
393Show the currently saved VM snapshots.
394ETEXI
395
396 {
397 .name = "status",
398 .args_type = "",
399 .params = "",
400 .help = "show the current VM status (running|paused)",
2b9e3576 401 .cmd = hmp_info_status,
da76ee76
PB
402 },
403
404STEXI
405@item info status
406@findex status
407Show the current VM status (running|paused).
408ETEXI
409
410 {
411 .name = "mice",
412 .args_type = "",
413 .params = "",
414 .help = "show which guest mouse is receiving events",
2b9e3576 415 .cmd = hmp_info_mice,
da76ee76
PB
416 },
417
418STEXI
419@item info mice
420@findex mice
421Show which guest mouse is receiving events.
422ETEXI
423
424 {
425 .name = "vnc",
426 .args_type = "",
427 .params = "",
428 .help = "show the vnc server status",
2b9e3576 429 .cmd = hmp_info_vnc,
da76ee76
PB
430 },
431
432STEXI
433@item info vnc
434@findex vnc
435Show the vnc server status.
436ETEXI
437
438#if defined(CONFIG_SPICE)
439 {
440 .name = "spice",
441 .args_type = "",
442 .params = "",
443 .help = "show the spice server status",
2b9e3576 444 .cmd = hmp_info_spice,
da76ee76
PB
445 },
446#endif
447
448STEXI
449@item info spice
450@findex spice
451Show the spice server status.
452ETEXI
453
454 {
455 .name = "name",
456 .args_type = "",
457 .params = "",
458 .help = "show the current VM name",
2b9e3576 459 .cmd = hmp_info_name,
da76ee76
PB
460 },
461
462STEXI
463@item info name
464@findex name
465Show the current VM name.
466ETEXI
467
468 {
469 .name = "uuid",
470 .args_type = "",
471 .params = "",
472 .help = "show the current VM UUID",
2b9e3576 473 .cmd = hmp_info_uuid,
da76ee76
PB
474 },
475
476STEXI
477@item info uuid
478@findex uuid
479Show the current VM UUID.
480ETEXI
481
482 {
483 .name = "cpustats",
484 .args_type = "",
485 .params = "",
486 .help = "show CPU statistics",
2b9e3576 487 .cmd = hmp_info_cpustats,
da76ee76
PB
488 },
489
490STEXI
491@item info cpustats
492@findex cpustats
493Show CPU statistics.
494ETEXI
495
496#if defined(CONFIG_SLIRP)
497 {
498 .name = "usernet",
499 .args_type = "",
500 .params = "",
501 .help = "show user network stack connection states",
2b9e3576 502 .cmd = hmp_info_usernet,
da76ee76
PB
503 },
504#endif
505
506STEXI
507@item info usernet
508@findex usernet
509Show user network stack connection states.
510ETEXI
511
512 {
513 .name = "migrate",
514 .args_type = "",
515 .params = "",
516 .help = "show migration status",
2b9e3576 517 .cmd = hmp_info_migrate,
da76ee76
PB
518 },
519
520STEXI
521@item info migrate
522@findex migrate
523Show migration status.
524ETEXI
525
526 {
527 .name = "migrate_capabilities",
528 .args_type = "",
529 .params = "",
530 .help = "show current migration capabilities",
2b9e3576 531 .cmd = hmp_info_migrate_capabilities,
da76ee76
PB
532 },
533
534STEXI
535@item info migrate_capabilities
536@findex migrate_capabilities
537Show current migration capabilities.
538ETEXI
539
540 {
541 .name = "migrate_parameters",
542 .args_type = "",
543 .params = "",
544 .help = "show current migration parameters",
2b9e3576 545 .cmd = hmp_info_migrate_parameters,
da76ee76
PB
546 },
547
548STEXI
549@item info migrate_parameters
550@findex migrate_parameters
551Show current migration parameters.
552ETEXI
553
554 {
555 .name = "migrate_cache_size",
556 .args_type = "",
557 .params = "",
558 .help = "show current migration xbzrle cache size",
2b9e3576 559 .cmd = hmp_info_migrate_cache_size,
da76ee76
PB
560 },
561
562STEXI
563@item info migrate_cache_size
564@findex migrate_cache_size
565Show current migration xbzrle cache size.
566ETEXI
567
568 {
569 .name = "balloon",
570 .args_type = "",
571 .params = "",
572 .help = "show balloon information",
2b9e3576 573 .cmd = hmp_info_balloon,
da76ee76
PB
574 },
575
576STEXI
577@item info balloon
578@findex balloon
579Show balloon information.
580ETEXI
581
582 {
583 .name = "qtree",
584 .args_type = "",
585 .params = "",
586 .help = "show device tree",
2b9e3576 587 .cmd = hmp_info_qtree,
da76ee76
PB
588 },
589
590STEXI
591@item info qtree
592@findex qtree
593Show device tree.
594ETEXI
595
596 {
597 .name = "qdm",
598 .args_type = "",
599 .params = "",
600 .help = "show qdev device model list",
2b9e3576 601 .cmd = hmp_info_qdm,
da76ee76
PB
602 },
603
604STEXI
605@item info qdm
606@findex qdm
607Show qdev device model list.
608ETEXI
609
610 {
611 .name = "qom-tree",
612 .args_type = "path:s?",
613 .params = "[path]",
614 .help = "show QOM composition tree",
2b9e3576 615 .cmd = hmp_info_qom_tree,
da76ee76
PB
616 },
617
618STEXI
619@item info qom-tree
620@findex qom-tree
621Show QOM composition tree.
622ETEXI
623
624 {
625 .name = "roms",
626 .args_type = "",
627 .params = "",
628 .help = "show roms",
2b9e3576 629 .cmd = hmp_info_roms,
da76ee76
PB
630 },
631
632STEXI
633@item info roms
634@findex roms
635Show roms.
636ETEXI
637
638 {
639 .name = "trace-events",
77e2b172
LV
640 .args_type = "name:s?,vcpu:i?",
641 .params = "[name] [vcpu]",
bd71211d 642 .help = "show available trace-events & their state "
77e2b172 643 "(name: event name pattern; vcpu: vCPU to query, default is any)",
2b9e3576 644 .cmd = hmp_info_trace_events,
bd71211d 645 .command_completion = info_trace_events_completion,
da76ee76
PB
646 },
647
648STEXI
649@item info trace-events
650@findex trace-events
651Show available trace-events & their state.
652ETEXI
653
654 {
655 .name = "tpm",
656 .args_type = "",
657 .params = "",
658 .help = "show the TPM device",
2b9e3576 659 .cmd = hmp_info_tpm,
da76ee76
PB
660 },
661
662STEXI
663@item info tpm
664@findex tpm
665Show the TPM device.
666ETEXI
667
668 {
669 .name = "memdev",
670 .args_type = "",
671 .params = "",
672 .help = "show memory backends",
2b9e3576 673 .cmd = hmp_info_memdev,
da76ee76
PB
674 },
675
676STEXI
677@item info memdev
678@findex memdev
679Show memory backends
680ETEXI
681
682 {
683 .name = "memory-devices",
684 .args_type = "",
685 .params = "",
686 .help = "show memory devices",
2b9e3576 687 .cmd = hmp_info_memory_devices,
da76ee76
PB
688 },
689
690STEXI
691@item info memory-devices
692@findex memory-devices
693Show memory devices.
694ETEXI
695
696 {
697 .name = "iothreads",
698 .args_type = "",
699 .params = "",
700 .help = "show iothreads",
2b9e3576 701 .cmd = hmp_info_iothreads,
da76ee76
PB
702 },
703
704STEXI
705@item info iothreads
706@findex iothreads
707Show iothread's identifiers.
708ETEXI
709
710 {
711 .name = "rocker",
712 .args_type = "name:s",
713 .params = "name",
714 .help = "Show rocker switch",
2b9e3576 715 .cmd = hmp_rocker,
da76ee76
PB
716 },
717
718STEXI
719@item info rocker @var{name}
720@findex rocker
721Show rocker switch.
722ETEXI
723
724 {
725 .name = "rocker-ports",
726 .args_type = "name:s",
727 .params = "name",
728 .help = "Show rocker ports",
2b9e3576 729 .cmd = hmp_rocker_ports,
da76ee76
PB
730 },
731
732STEXI
c325ccd3
MA
733@item info rocker-ports @var{name}-ports
734@findex rocker-ports
da76ee76
PB
735Show rocker ports.
736ETEXI
737
738 {
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",
2b9e3576 743 .cmd = hmp_rocker_of_dpa_flows,
da76ee76
PB
744 },
745
746STEXI
c325ccd3 747@item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
da76ee76
PB
748@findex rocker-of-dpa-flows
749Show rocker OF-DPA flow tables.
750ETEXI
751
752 {
753 .name = "rocker-of-dpa-groups",
754 .args_type = "name:s,type:i?",
755 .params = "name [type]",
756 .help = "Show rocker OF-DPA groups",
2b9e3576 757 .cmd = hmp_rocker_of_dpa_groups,
da76ee76
PB
758 },
759
760STEXI
761@item info rocker-of-dpa-groups @var{name} [@var{type}]
762@findex rocker-of-dpa-groups
763Show rocker OF-DPA groups.
764ETEXI
765
766#if defined(TARGET_S390X)
767 {
768 .name = "skeys",
769 .args_type = "addr:l",
770 .params = "address",
771 .help = "Display the value of a storage key",
2b9e3576 772 .cmd = hmp_info_skeys,
da76ee76
PB
773 },
774#endif
775
776STEXI
777@item info skeys @var{address}
778@findex skeys
779Display the value of a storage key (s390 only)
f860d497
CI
780ETEXI
781
782#if defined(TARGET_S390X)
783 {
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,
789 },
790#endif
791
792STEXI
793@item info cmma @var{address}
794@findex cmma
795Display the values of the CMMA storage attributes for a range of pages (s390 only)
4a6b52d6
PX
796ETEXI
797
798 {
799 .name = "dump",
800 .args_type = "",
801 .params = "",
802 .help = "Display the latest dump status",
2b9e3576 803 .cmd = hmp_info_dump,
4a6b52d6
PX
804 },
805
806STEXI
807@item info dump
808@findex dump
809Display the latest dump status.
be9b23c4
PX
810ETEXI
811
812 {
813 .name = "ramblock",
814 .args_type = "",
815 .params = "",
816 .help = "Display system ramblock information",
817 .cmd = hmp_info_ramblock,
818 },
819
820STEXI
821@item info ramblock
822@findex ramblock
823Dump all the ramblocks of the system.
d2d8d46f
BR
824ETEXI
825
826 {
827 .name = "hotpluggable-cpus",
828 .args_type = "",
829 .params = "",
830 .help = "Show information about hotpluggable CPUs",
2b9e3576 831 .cmd = hmp_hotpluggable_cpus,
d2d8d46f
BR
832 },
833
834STEXI
835@item info hotpluggable-cpus
836@findex hotpluggable-cpus
837Show information about hotpluggable CPUs
da76ee76
PB
838ETEXI
839
39164c13
IM
840STEXI
841@item info vm-generation-id
842@findex vm-generation-id
843Show Virtual Machine Generation ID
844ETEXI
845
846 {
847 .name = "vm-generation-id",
848 .args_type = "",
849 .params = "",
850 .help = "Show Virtual Machine Generation ID",
851 .cmd = hmp_info_vm_generation_id,
852 },
853
d0f63c1e
VG
854STEXI
855@item info memory_size_summary
856@findex memory_size_summary
857Display the amount of initially allocated and present hotpluggable (if
858enabled) memory in bytes.
859ETEXI
860
861 {
862 .name = "memory_size_summary",
863 .args_type = "",
864 .params = "",
865 .help = "show the amount of initially allocated and "
866 "present hotpluggable (if enabled) memory in bytes.",
867 .cmd = hmp_info_memory_size_summary,
868 },
869
da76ee76
PB
870STEXI
871@end table
872ETEXI
2cd8af2d
PB
873
874STEXI
875@end table
876ETEXI