]> git.proxmox.com Git - mirror_qemu.git/blob - hmp-commands-info.hx
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
[mirror_qemu.git] / hmp-commands-info.hx
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
7
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
15
16 {
17 .name = "version",
18 .args_type = "",
19 .params = "",
20 .help = "show the version of QEMU",
21 .mhandler.cmd = hmp_info_version,
22 },
23
24 STEXI
25 @item info version
26 @findex version
27 Show the version of QEMU.
28 ETEXI
29
30 {
31 .name = "network",
32 .args_type = "",
33 .params = "",
34 .help = "show the network state",
35 .mhandler.cmd = hmp_info_network,
36 },
37
38 STEXI
39 @item info network
40 @findex network
41 Show the network state.
42 ETEXI
43
44 {
45 .name = "chardev",
46 .args_type = "",
47 .params = "",
48 .help = "show the character devices",
49 .mhandler.cmd = hmp_info_chardev,
50 },
51
52 STEXI
53 @item info chardev
54 @findex chardev
55 Show the character devices.
56 ETEXI
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)",
64 .mhandler.cmd = hmp_info_block,
65 },
66
67 STEXI
68 @item info block
69 @findex block
70 Show info of one block device or all block devices.
71 ETEXI
72
73 {
74 .name = "blockstats",
75 .args_type = "",
76 .params = "",
77 .help = "show block device statistics",
78 .mhandler.cmd = hmp_info_blockstats,
79 },
80
81 STEXI
82 @item info blockstats
83 @findex blockstats
84 Show block device statistics.
85 ETEXI
86
87 {
88 .name = "block-jobs",
89 .args_type = "",
90 .params = "",
91 .help = "show progress of ongoing block device operations",
92 .mhandler.cmd = hmp_info_block_jobs,
93 },
94
95 STEXI
96 @item info block-jobs
97 @findex block-jobs
98 Show progress of ongoing block device operations.
99 ETEXI
100
101 {
102 .name = "registers",
103 .args_type = "",
104 .params = "",
105 .help = "show the cpu registers",
106 .mhandler.cmd = hmp_info_registers,
107 },
108
109 STEXI
110 @item info registers
111 @findex registers
112 Show the cpu registers.
113 ETEXI
114
115 {
116 .name = "cpus",
117 .args_type = "",
118 .params = "",
119 .help = "show infos for each CPU",
120 .mhandler.cmd = hmp_info_cpus,
121 },
122
123 STEXI
124 @item info cpus
125 @findex cpus
126 Show infos for each CPU.
127 ETEXI
128
129 {
130 .name = "history",
131 .args_type = "",
132 .params = "",
133 .help = "show the command line history",
134 .mhandler.cmd = hmp_info_history,
135 },
136
137 STEXI
138 @item info history
139 @findex history
140 Show the command line history.
141 ETEXI
142
143 #if defined(TARGET_I386) || defined(TARGET_PPC) || defined(TARGET_MIPS) || \
144 defined(TARGET_LM32) || (defined(TARGET_SPARC) && !defined(TARGET_SPARC64))
145 {
146 .name = "irq",
147 .args_type = "",
148 .params = "",
149 .help = "show the interrupts statistics (if available)",
150 #ifdef TARGET_SPARC
151 .mhandler.cmd = sun4m_hmp_info_irq,
152 #elif defined(TARGET_LM32)
153 .mhandler.cmd = lm32_hmp_info_irq,
154 #else
155 .mhandler.cmd = hmp_info_irq,
156 #endif
157 },
158
159 STEXI
160 @item info irq
161 @findex irq
162 Show the interrupts statistics (if available).
163 ETEXI
164
165 {
166 .name = "pic",
167 .args_type = "",
168 .params = "",
169 .help = "show i8259 (PIC) state",
170 #ifdef TARGET_SPARC
171 .mhandler.cmd = sun4m_hmp_info_pic,
172 #elif defined(TARGET_LM32)
173 .mhandler.cmd = lm32_hmp_info_pic,
174 #else
175 .mhandler.cmd = hmp_info_pic,
176 #endif
177 },
178 #endif
179
180 STEXI
181 @item info pic
182 @findex pic
183 Show i8259 (PIC) state.
184 ETEXI
185
186 #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
187 defined(TARGET_PPC) || defined(TARGET_XTENSA)
188 {
189 .name = "tlb",
190 .args_type = "",
191 .params = "",
192 .help = "show virtual to physical memory mappings",
193 .mhandler.cmd = hmp_info_tlb,
194 },
195 #endif
196
197 STEXI
198 @item info tlb
199 @findex tlb
200 Show virtual to physical memory mappings.
201 ETEXI
202
203 #if defined(TARGET_I386)
204 {
205 .name = "mem",
206 .args_type = "",
207 .params = "",
208 .help = "show the active virtual memory mappings",
209 .mhandler.cmd = hmp_info_mem,
210 },
211 #endif
212
213 STEXI
214 @item info mem
215 @findex mem
216 Show the active virtual memory mappings.
217 ETEXI
218
219 {
220 .name = "mtree",
221 .args_type = "",
222 .params = "",
223 .help = "show memory tree",
224 .mhandler.cmd = hmp_info_mtree,
225 },
226
227 STEXI
228 @item info mtree
229 @findex mtree
230 Show memory tree.
231 ETEXI
232
233 {
234 .name = "jit",
235 .args_type = "",
236 .params = "",
237 .help = "show dynamic compiler info",
238 .mhandler.cmd = hmp_info_jit,
239 },
240
241 STEXI
242 @item info jit
243 @findex jit
244 Show dynamic compiler info.
245 ETEXI
246
247 {
248 .name = "opcount",
249 .args_type = "",
250 .params = "",
251 .help = "show dynamic compiler opcode counters",
252 .mhandler.cmd = hmp_info_opcount,
253 },
254
255 STEXI
256 @item info opcount
257 @findex opcount
258 Show dynamic compiler opcode counters
259 ETEXI
260
261 {
262 .name = "kvm",
263 .args_type = "",
264 .params = "",
265 .help = "show KVM information",
266 .mhandler.cmd = hmp_info_kvm,
267 },
268
269 STEXI
270 @item info kvm
271 @findex kvm
272 Show KVM information.
273 ETEXI
274
275 {
276 .name = "numa",
277 .args_type = "",
278 .params = "",
279 .help = "show NUMA information",
280 .mhandler.cmd = hmp_info_numa,
281 },
282
283 STEXI
284 @item info numa
285 @findex numa
286 Show NUMA information.
287 ETEXI
288
289 {
290 .name = "usb",
291 .args_type = "",
292 .params = "",
293 .help = "show guest USB devices",
294 .mhandler.cmd = hmp_info_usb,
295 },
296
297 STEXI
298 @item info usb
299 @findex usb
300 Show guest USB devices.
301 ETEXI
302
303 {
304 .name = "usbhost",
305 .args_type = "",
306 .params = "",
307 .help = "show host USB devices",
308 .mhandler.cmd = hmp_info_usbhost,
309 },
310
311 STEXI
312 @item info usbhost
313 @findex usbhost
314 Show host USB devices.
315 ETEXI
316
317 {
318 .name = "profile",
319 .args_type = "",
320 .params = "",
321 .help = "show profiling information",
322 .mhandler.cmd = hmp_info_profile,
323 },
324
325 STEXI
326 @item info profile
327 @findex profile
328 Show profiling information.
329 ETEXI
330
331 {
332 .name = "capture",
333 .args_type = "",
334 .params = "",
335 .help = "show capture information",
336 .mhandler.cmd = hmp_info_capture,
337 },
338
339 STEXI
340 @item info capture
341 @findex capture
342 Show capture information.
343 ETEXI
344
345 {
346 .name = "snapshots",
347 .args_type = "",
348 .params = "",
349 .help = "show the currently saved VM snapshots",
350 .mhandler.cmd = hmp_info_snapshots,
351 },
352
353 STEXI
354 @item info snapshots
355 @findex snapshots
356 Show the currently saved VM snapshots.
357 ETEXI
358
359 {
360 .name = "status",
361 .args_type = "",
362 .params = "",
363 .help = "show the current VM status (running|paused)",
364 .mhandler.cmd = hmp_info_status,
365 },
366
367 STEXI
368 @item info status
369 @findex status
370 Show the current VM status (running|paused).
371 ETEXI
372
373 {
374 .name = "mice",
375 .args_type = "",
376 .params = "",
377 .help = "show which guest mouse is receiving events",
378 .mhandler.cmd = hmp_info_mice,
379 },
380
381 STEXI
382 @item info mice
383 @findex mice
384 Show which guest mouse is receiving events.
385 ETEXI
386
387 {
388 .name = "vnc",
389 .args_type = "",
390 .params = "",
391 .help = "show the vnc server status",
392 .mhandler.cmd = hmp_info_vnc,
393 },
394
395 STEXI
396 @item info vnc
397 @findex vnc
398 Show the vnc server status.
399 ETEXI
400
401 #if defined(CONFIG_SPICE)
402 {
403 .name = "spice",
404 .args_type = "",
405 .params = "",
406 .help = "show the spice server status",
407 .mhandler.cmd = hmp_info_spice,
408 },
409 #endif
410
411 STEXI
412 @item info spice
413 @findex spice
414 Show the spice server status.
415 ETEXI
416
417 {
418 .name = "name",
419 .args_type = "",
420 .params = "",
421 .help = "show the current VM name",
422 .mhandler.cmd = hmp_info_name,
423 },
424
425 STEXI
426 @item info name
427 @findex name
428 Show the current VM name.
429 ETEXI
430
431 {
432 .name = "uuid",
433 .args_type = "",
434 .params = "",
435 .help = "show the current VM UUID",
436 .mhandler.cmd = hmp_info_uuid,
437 },
438
439 STEXI
440 @item info uuid
441 @findex uuid
442 Show the current VM UUID.
443 ETEXI
444
445 {
446 .name = "cpustats",
447 .args_type = "",
448 .params = "",
449 .help = "show CPU statistics",
450 .mhandler.cmd = hmp_info_cpustats,
451 },
452
453 STEXI
454 @item info cpustats
455 @findex cpustats
456 Show CPU statistics.
457 ETEXI
458
459 #if defined(CONFIG_SLIRP)
460 {
461 .name = "usernet",
462 .args_type = "",
463 .params = "",
464 .help = "show user network stack connection states",
465 .mhandler.cmd = hmp_info_usernet,
466 },
467 #endif
468
469 STEXI
470 @item info usernet
471 @findex usernet
472 Show user network stack connection states.
473 ETEXI
474
475 {
476 .name = "migrate",
477 .args_type = "",
478 .params = "",
479 .help = "show migration status",
480 .mhandler.cmd = hmp_info_migrate,
481 },
482
483 STEXI
484 @item info migrate
485 @findex migrate
486 Show migration status.
487 ETEXI
488
489 {
490 .name = "migrate_capabilities",
491 .args_type = "",
492 .params = "",
493 .help = "show current migration capabilities",
494 .mhandler.cmd = hmp_info_migrate_capabilities,
495 },
496
497 STEXI
498 @item info migrate_capabilities
499 @findex migrate_capabilities
500 Show current migration capabilities.
501 ETEXI
502
503 {
504 .name = "migrate_parameters",
505 .args_type = "",
506 .params = "",
507 .help = "show current migration parameters",
508 .mhandler.cmd = hmp_info_migrate_parameters,
509 },
510
511 STEXI
512 @item info migrate_parameters
513 @findex migrate_parameters
514 Show current migration parameters.
515 ETEXI
516
517 {
518 .name = "migrate_cache_size",
519 .args_type = "",
520 .params = "",
521 .help = "show current migration xbzrle cache size",
522 .mhandler.cmd = hmp_info_migrate_cache_size,
523 },
524
525 STEXI
526 @item info migrate_cache_size
527 @findex migrate_cache_size
528 Show current migration xbzrle cache size.
529 ETEXI
530
531 {
532 .name = "balloon",
533 .args_type = "",
534 .params = "",
535 .help = "show balloon information",
536 .mhandler.cmd = hmp_info_balloon,
537 },
538
539 STEXI
540 @item info balloon
541 @findex balloon
542 Show balloon information.
543 ETEXI
544
545 {
546 .name = "qtree",
547 .args_type = "",
548 .params = "",
549 .help = "show device tree",
550 .mhandler.cmd = hmp_info_qtree,
551 },
552
553 STEXI
554 @item info qtree
555 @findex qtree
556 Show device tree.
557 ETEXI
558
559 {
560 .name = "qdm",
561 .args_type = "",
562 .params = "",
563 .help = "show qdev device model list",
564 .mhandler.cmd = hmp_info_qdm,
565 },
566
567 STEXI
568 @item info qdm
569 @findex qdm
570 Show qdev device model list.
571 ETEXI
572
573 {
574 .name = "qom-tree",
575 .args_type = "path:s?",
576 .params = "[path]",
577 .help = "show QOM composition tree",
578 .mhandler.cmd = hmp_info_qom_tree,
579 },
580
581 STEXI
582 @item info qom-tree
583 @findex qom-tree
584 Show QOM composition tree.
585 ETEXI
586
587 {
588 .name = "roms",
589 .args_type = "",
590 .params = "",
591 .help = "show roms",
592 .mhandler.cmd = hmp_info_roms,
593 },
594
595 STEXI
596 @item info roms
597 @findex roms
598 Show roms.
599 ETEXI
600
601 {
602 .name = "trace-events",
603 .args_type = "",
604 .params = "",
605 .help = "show available trace-events & their state",
606 .mhandler.cmd = hmp_info_trace_events,
607 },
608
609 STEXI
610 @item info trace-events
611 @findex trace-events
612 Show available trace-events & their state.
613 ETEXI
614
615 {
616 .name = "tpm",
617 .args_type = "",
618 .params = "",
619 .help = "show the TPM device",
620 .mhandler.cmd = hmp_info_tpm,
621 },
622
623 STEXI
624 @item info tpm
625 @findex tpm
626 Show the TPM device.
627 ETEXI
628
629 {
630 .name = "memdev",
631 .args_type = "",
632 .params = "",
633 .help = "show memory backends",
634 .mhandler.cmd = hmp_info_memdev,
635 },
636
637 STEXI
638 @item info memdev
639 @findex memdev
640 Show memory backends
641 ETEXI
642
643 {
644 .name = "memory-devices",
645 .args_type = "",
646 .params = "",
647 .help = "show memory devices",
648 .mhandler.cmd = hmp_info_memory_devices,
649 },
650
651 STEXI
652 @item info memory-devices
653 @findex memory-devices
654 Show memory devices.
655 ETEXI
656
657 {
658 .name = "iothreads",
659 .args_type = "",
660 .params = "",
661 .help = "show iothreads",
662 .mhandler.cmd = hmp_info_iothreads,
663 },
664
665 STEXI
666 @item info iothreads
667 @findex iothreads
668 Show iothread's identifiers.
669 ETEXI
670
671 {
672 .name = "rocker",
673 .args_type = "name:s",
674 .params = "name",
675 .help = "Show rocker switch",
676 .mhandler.cmd = hmp_rocker,
677 },
678
679 STEXI
680 @item info rocker @var{name}
681 @findex rocker
682 Show rocker switch.
683 ETEXI
684
685 {
686 .name = "rocker-ports",
687 .args_type = "name:s",
688 .params = "name",
689 .help = "Show rocker ports",
690 .mhandler.cmd = hmp_rocker_ports,
691 },
692
693 STEXI
694 @item info rocker_ports @var{name}-ports
695 @findex ocker-ports
696 Show rocker ports.
697 ETEXI
698
699 {
700 .name = "rocker-of-dpa-flows",
701 .args_type = "name:s,tbl_id:i?",
702 .params = "name [tbl_id]",
703 .help = "Show rocker OF-DPA flow tables",
704 .mhandler.cmd = hmp_rocker_of_dpa_flows,
705 },
706
707 STEXI
708 @item info rocker_of_dpa_flows @var{name} [@var{tbl_id}]
709 @findex rocker-of-dpa-flows
710 Show rocker OF-DPA flow tables.
711 ETEXI
712
713 {
714 .name = "rocker-of-dpa-groups",
715 .args_type = "name:s,type:i?",
716 .params = "name [type]",
717 .help = "Show rocker OF-DPA groups",
718 .mhandler.cmd = hmp_rocker_of_dpa_groups,
719 },
720
721 STEXI
722 @item info rocker-of-dpa-groups @var{name} [@var{type}]
723 @findex rocker-of-dpa-groups
724 Show rocker OF-DPA groups.
725 ETEXI
726
727 #if defined(TARGET_S390X)
728 {
729 .name = "skeys",
730 .args_type = "addr:l",
731 .params = "address",
732 .help = "Display the value of a storage key",
733 .mhandler.cmd = hmp_info_skeys,
734 },
735 #endif
736
737 STEXI
738 @item info skeys @var{address}
739 @findex skeys
740 Display the value of a storage key (s390 only)
741 ETEXI
742
743 STEXI
744 @end table
745 ETEXI
746
747 STEXI
748 @end table
749 ETEXI