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