]>
Commit | Line | Data |
---|---|---|
da76ee76 PB |
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 | |
a12e74cc PM |
7 | HXCOMM |
8 | HXCOMM In this file, generally SRST fragments should have two extra | |
9 | HXCOMM spaces of indent, so that the documentation list item for "info foo" | |
10 | HXCOMM appears inside the documentation list item for the top level | |
11 | HXCOMM "info" documentation entry. The exception is the first SRST | |
12 | HXCOMM fragment that defines that top level entry. | |
da76ee76 PB |
13 | |
14 | STEXI | |
15 | @table @option | |
2cd8af2d PB |
16 | @item info @var{subcommand} |
17 | @findex info | |
18 | Show various information about the system state. | |
19 | @table @option | |
da76ee76 | 20 | ETEXI |
a12e74cc PM |
21 | SRST |
22 | ``info`` *subcommand* | |
23 | Show various information about the system state. | |
24 | ||
25 | ERST | |
da76ee76 PB |
26 | |
27 | { | |
28 | .name = "version", | |
29 | .args_type = "", | |
30 | .params = "", | |
31 | .help = "show the version of QEMU", | |
2b9e3576 | 32 | .cmd = hmp_info_version, |
8c7c7ecb | 33 | .flags = "p", |
da76ee76 PB |
34 | }, |
35 | ||
36 | STEXI | |
37 | @item info version | |
1b591700 | 38 | @findex info version |
da76ee76 PB |
39 | Show the version of QEMU. |
40 | ETEXI | |
a12e74cc PM |
41 | SRST |
42 | ``info version`` | |
43 | Show the version of QEMU. | |
44 | ERST | |
da76ee76 PB |
45 | |
46 | { | |
47 | .name = "network", | |
48 | .args_type = "", | |
49 | .params = "", | |
50 | .help = "show the network state", | |
2b9e3576 | 51 | .cmd = hmp_info_network, |
da76ee76 PB |
52 | }, |
53 | ||
54 | STEXI | |
55 | @item info network | |
1b591700 | 56 | @findex info network |
da76ee76 PB |
57 | Show the network state. |
58 | ETEXI | |
a12e74cc PM |
59 | SRST |
60 | ``info network`` | |
61 | Show the network state. | |
62 | ERST | |
da76ee76 PB |
63 | |
64 | { | |
65 | .name = "chardev", | |
66 | .args_type = "", | |
67 | .params = "", | |
68 | .help = "show the character devices", | |
2b9e3576 | 69 | .cmd = hmp_info_chardev, |
8c7c7ecb | 70 | .flags = "p", |
da76ee76 PB |
71 | }, |
72 | ||
73 | STEXI | |
74 | @item info chardev | |
1b591700 | 75 | @findex info chardev |
da76ee76 PB |
76 | Show the character devices. |
77 | ETEXI | |
a12e74cc PM |
78 | SRST |
79 | ``info chardev`` | |
80 | Show the character devices. | |
81 | ERST | |
da76ee76 PB |
82 | |
83 | { | |
84 | .name = "block", | |
85 | .args_type = "nodes:-n,verbose:-v,device:B?", | |
86 | .params = "[-n] [-v] [device]", | |
87 | .help = "show info of one block device or all block devices " | |
88 | "(-n: show named nodes; -v: show details)", | |
2b9e3576 | 89 | .cmd = hmp_info_block, |
da76ee76 PB |
90 | }, |
91 | ||
92 | STEXI | |
93 | @item info block | |
1b591700 | 94 | @findex info block |
da76ee76 PB |
95 | Show info of one block device or all block devices. |
96 | ETEXI | |
a12e74cc PM |
97 | SRST |
98 | ``info block`` | |
99 | Show info of one block device or all block devices. | |
100 | ERST | |
da76ee76 PB |
101 | |
102 | { | |
103 | .name = "blockstats", | |
104 | .args_type = "", | |
105 | .params = "", | |
106 | .help = "show block device statistics", | |
2b9e3576 | 107 | .cmd = hmp_info_blockstats, |
da76ee76 PB |
108 | }, |
109 | ||
110 | STEXI | |
111 | @item info blockstats | |
1b591700 | 112 | @findex info blockstats |
da76ee76 PB |
113 | Show block device statistics. |
114 | ETEXI | |
a12e74cc PM |
115 | SRST |
116 | ``info blockstats`` | |
117 | Show block device statistics. | |
118 | ERST | |
da76ee76 PB |
119 | |
120 | { | |
121 | .name = "block-jobs", | |
122 | .args_type = "", | |
123 | .params = "", | |
124 | .help = "show progress of ongoing block device operations", | |
2b9e3576 | 125 | .cmd = hmp_info_block_jobs, |
da76ee76 PB |
126 | }, |
127 | ||
128 | STEXI | |
129 | @item info block-jobs | |
1b591700 | 130 | @findex info block-jobs |
da76ee76 PB |
131 | Show progress of ongoing block device operations. |
132 | ETEXI | |
a12e74cc PM |
133 | SRST |
134 | ``info block-jobs`` | |
135 | Show progress of ongoing block device operations. | |
136 | ERST | |
da76ee76 PB |
137 | |
138 | { | |
139 | .name = "registers", | |
18f08282 SJS |
140 | .args_type = "cpustate_all:-a", |
141 | .params = "[-a]", | |
142 | .help = "show the cpu registers (-a: all - show register info for all cpus)", | |
2b9e3576 | 143 | .cmd = hmp_info_registers, |
da76ee76 PB |
144 | }, |
145 | ||
146 | STEXI | |
147 | @item info registers | |
1b591700 | 148 | @findex info registers |
da76ee76 | 149 | Show the cpu registers. |
1f871d49 | 150 | ETEXI |
a12e74cc PM |
151 | SRST |
152 | ``info registers`` | |
153 | Show the cpu registers. | |
154 | ERST | |
1f871d49 PB |
155 | |
156 | #if defined(TARGET_I386) | |
157 | { | |
158 | .name = "lapic", | |
1bef2284 YW |
159 | .args_type = "apic-id:i?", |
160 | .params = "[apic-id]", | |
161 | .help = "show local apic state (apic-id: local apic to read, default is which of current CPU)", | |
162 | ||
2b9e3576 | 163 | .cmd = hmp_info_local_apic, |
1f871d49 PB |
164 | }, |
165 | #endif | |
166 | ||
167 | STEXI | |
168 | @item info lapic | |
1b591700 | 169 | @findex info lapic |
1f871d49 | 170 | Show local APIC state |
d665d696 | 171 | ETEXI |
a12e74cc PM |
172 | SRST |
173 | ``info lapic`` | |
174 | Show local APIC state | |
175 | ERST | |
d665d696 PB |
176 | |
177 | #if defined(TARGET_I386) | |
178 | { | |
179 | .name = "ioapic", | |
180 | .args_type = "", | |
181 | .params = "", | |
182 | .help = "show io apic state", | |
2b9e3576 | 183 | .cmd = hmp_info_io_apic, |
d665d696 PB |
184 | }, |
185 | #endif | |
186 | ||
187 | STEXI | |
188 | @item info ioapic | |
1b591700 | 189 | @findex info ioapic |
d665d696 | 190 | Show io APIC state |
da76ee76 | 191 | ETEXI |
a12e74cc PM |
192 | SRST |
193 | ``info ioapic`` | |
194 | Show io APIC state | |
195 | ERST | |
da76ee76 PB |
196 | |
197 | { | |
198 | .name = "cpus", | |
199 | .args_type = "", | |
200 | .params = "", | |
201 | .help = "show infos for each CPU", | |
2b9e3576 | 202 | .cmd = hmp_info_cpus, |
da76ee76 PB |
203 | }, |
204 | ||
205 | STEXI | |
206 | @item info cpus | |
1b591700 | 207 | @findex info cpus |
da76ee76 PB |
208 | Show infos for each CPU. |
209 | ETEXI | |
a12e74cc PM |
210 | SRST |
211 | ``info cpus`` | |
212 | Show infos for each CPU. | |
213 | ERST | |
da76ee76 PB |
214 | |
215 | { | |
216 | .name = "history", | |
217 | .args_type = "", | |
218 | .params = "", | |
219 | .help = "show the command line history", | |
2b9e3576 | 220 | .cmd = hmp_info_history, |
8c7c7ecb | 221 | .flags = "p", |
da76ee76 PB |
222 | }, |
223 | ||
224 | STEXI | |
225 | @item info history | |
1b591700 | 226 | @findex info history |
da76ee76 PB |
227 | Show the command line history. |
228 | ETEXI | |
a12e74cc PM |
229 | SRST |
230 | ``info history`` | |
231 | Show the command line history. | |
232 | ERST | |
da76ee76 | 233 | |
da76ee76 PB |
234 | { |
235 | .name = "irq", | |
236 | .args_type = "", | |
237 | .params = "", | |
238 | .help = "show the interrupts statistics (if available)", | |
2b9e3576 | 239 | .cmd = hmp_info_irq, |
da76ee76 PB |
240 | }, |
241 | ||
242 | STEXI | |
243 | @item info irq | |
1b591700 | 244 | @findex info irq |
da76ee76 PB |
245 | Show the interrupts statistics (if available). |
246 | ETEXI | |
a12e74cc PM |
247 | SRST |
248 | ``info irq`` | |
249 | Show the interrupts statistics (if available). | |
250 | ERST | |
da76ee76 PB |
251 | |
252 | { | |
253 | .name = "pic", | |
254 | .args_type = "", | |
255 | .params = "", | |
254316fa | 256 | .help = "show PIC state", |
2b9e3576 | 257 | .cmd = hmp_info_pic, |
da76ee76 | 258 | }, |
da76ee76 PB |
259 | |
260 | STEXI | |
261 | @item info pic | |
1b591700 | 262 | @findex info pic |
0cda9d87 | 263 | Show PIC state. |
f4b2c02a | 264 | ETEXI |
a12e74cc PM |
265 | SRST |
266 | ``info pic`` | |
267 | Show PIC state. | |
268 | ERST | |
f4b2c02a YS |
269 | |
270 | { | |
271 | .name = "rdma", | |
272 | .args_type = "", | |
273 | .params = "", | |
274 | .help = "show RDMA state", | |
275 | .cmd = hmp_info_rdma, | |
276 | }, | |
277 | ||
278 | STEXI | |
279 | @item info rdma | |
280 | @findex info rdma | |
281 | Show RDMA state. | |
abadcbc8 | 282 | ETEXI |
a12e74cc PM |
283 | SRST |
284 | ``info rdma`` | |
285 | Show RDMA state. | |
286 | ERST | |
abadcbc8 PB |
287 | |
288 | { | |
289 | .name = "pci", | |
290 | .args_type = "", | |
291 | .params = "", | |
292 | .help = "show PCI info", | |
2b9e3576 | 293 | .cmd = hmp_info_pci, |
abadcbc8 PB |
294 | }, |
295 | ||
296 | STEXI | |
297 | @item info pci | |
1b591700 | 298 | @findex info pci |
abadcbc8 | 299 | Show PCI information. |
da76ee76 | 300 | ETEXI |
a12e74cc PM |
301 | SRST |
302 | ``info pci`` | |
303 | Show PCI information. | |
304 | ERST | |
da76ee76 PB |
305 | |
306 | #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \ | |
2097dca6 | 307 | defined(TARGET_PPC) || defined(TARGET_XTENSA) || defined(TARGET_M68K) |
da76ee76 PB |
308 | { |
309 | .name = "tlb", | |
310 | .args_type = "", | |
311 | .params = "", | |
312 | .help = "show virtual to physical memory mappings", | |
2b9e3576 | 313 | .cmd = hmp_info_tlb, |
da76ee76 PB |
314 | }, |
315 | #endif | |
316 | ||
317 | STEXI | |
318 | @item info tlb | |
1b591700 | 319 | @findex info tlb |
da76ee76 PB |
320 | Show virtual to physical memory mappings. |
321 | ETEXI | |
a12e74cc PM |
322 | SRST |
323 | ``info tlb`` | |
324 | Show virtual to physical memory mappings. | |
325 | ERST | |
da76ee76 | 326 | |
df42fdd6 | 327 | #if defined(TARGET_I386) || defined(TARGET_RISCV) |
da76ee76 PB |
328 | { |
329 | .name = "mem", | |
330 | .args_type = "", | |
331 | .params = "", | |
332 | .help = "show the active virtual memory mappings", | |
2b9e3576 | 333 | .cmd = hmp_info_mem, |
da76ee76 PB |
334 | }, |
335 | #endif | |
336 | ||
337 | STEXI | |
338 | @item info mem | |
1b591700 | 339 | @findex info mem |
da76ee76 PB |
340 | Show the active virtual memory mappings. |
341 | ETEXI | |
a12e74cc PM |
342 | SRST |
343 | ``info mem`` | |
344 | Show the active virtual memory mappings. | |
345 | ERST | |
da76ee76 PB |
346 | |
347 | { | |
348 | .name = "mtree", | |
fc051ae6 AK |
349 | .args_type = "flatview:-f,dispatch_tree:-d,owner:-o", |
350 | .params = "[-f][-d][-o]", | |
5e8fd947 | 351 | .help = "show memory tree (-f: dump flat view for address spaces;" |
fc051ae6 AK |
352 | "-d: dump dispatch tree, valid with -f only);" |
353 | "-o: dump region owners/parents", | |
2b9e3576 | 354 | .cmd = hmp_info_mtree, |
da76ee76 PB |
355 | }, |
356 | ||
357 | STEXI | |
358 | @item info mtree | |
1b591700 | 359 | @findex info mtree |
da76ee76 PB |
360 | Show memory tree. |
361 | ETEXI | |
a12e74cc PM |
362 | SRST |
363 | ``info mtree`` | |
364 | Show memory tree. | |
365 | ERST | |
da76ee76 | 366 | |
f0d14a95 | 367 | #if defined(CONFIG_TCG) |
da76ee76 PB |
368 | { |
369 | .name = "jit", | |
370 | .args_type = "", | |
371 | .params = "", | |
372 | .help = "show dynamic compiler info", | |
2b9e3576 | 373 | .cmd = hmp_info_jit, |
da76ee76 | 374 | }, |
f0d14a95 | 375 | #endif |
da76ee76 PB |
376 | |
377 | STEXI | |
378 | @item info jit | |
1b591700 | 379 | @findex info jit |
da76ee76 PB |
380 | Show dynamic compiler info. |
381 | ETEXI | |
a12e74cc PM |
382 | SRST |
383 | ``info jit`` | |
384 | Show dynamic compiler info. | |
385 | ERST | |
da76ee76 | 386 | |
f0d14a95 | 387 | #if defined(CONFIG_TCG) |
da76ee76 PB |
388 | { |
389 | .name = "opcount", | |
390 | .args_type = "", | |
391 | .params = "", | |
392 | .help = "show dynamic compiler opcode counters", | |
2b9e3576 | 393 | .cmd = hmp_info_opcount, |
da76ee76 | 394 | }, |
f0d14a95 | 395 | #endif |
da76ee76 PB |
396 | |
397 | STEXI | |
398 | @item info opcount | |
1b591700 | 399 | @findex info opcount |
da76ee76 | 400 | Show dynamic compiler opcode counters |
97bfafe2 | 401 | ETEXI |
a12e74cc PM |
402 | SRST |
403 | ``info opcount`` | |
404 | Show dynamic compiler opcode counters | |
405 | ERST | |
97bfafe2 EC |
406 | |
407 | { | |
408 | .name = "sync-profile", | |
409 | .args_type = "mean:-m,no_coalesce:-n,max:i?", | |
410 | .params = "[-m] [-n] [max]", | |
411 | .help = "show synchronization profiling info, up to max entries " | |
412 | "(default: 10), sorted by total wait time. (-m: sort by " | |
413 | "mean wait time; -n: do not coalesce objects with the " | |
414 | "same call site)", | |
415 | .cmd = hmp_info_sync_profile, | |
416 | }, | |
417 | ||
418 | STEXI | |
419 | @item info sync-profile [-m|-n] [@var{max}] | |
420 | @findex info sync-profile | |
421 | Show synchronization profiling info, up to @var{max} entries (default: 10), | |
422 | sorted by total wait time. | |
423 | -m: sort by mean wait time | |
424 | -n: do not coalesce objects with the same call site | |
425 | When different objects that share the same call site are coalesced, the "Object" | |
426 | field shows---enclosed in brackets---the number of objects being coalesced. | |
da76ee76 | 427 | ETEXI |
a12e74cc PM |
428 | SRST |
429 | ``info sync-profile [-m|-n]`` [*max*] | |
430 | Show synchronization profiling info, up to *max* entries (default: 10), | |
431 | sorted by total wait time. | |
432 | ||
433 | ``-m`` | |
434 | sort by mean wait time | |
435 | ``-n`` | |
436 | do not coalesce objects with the same call site | |
437 | ||
438 | When different objects that share the same call site are coalesced, | |
439 | the "Object" field shows---enclosed in brackets---the number of objects | |
440 | being coalesced. | |
441 | ERST | |
da76ee76 PB |
442 | |
443 | { | |
444 | .name = "kvm", | |
445 | .args_type = "", | |
446 | .params = "", | |
447 | .help = "show KVM information", | |
2b9e3576 | 448 | .cmd = hmp_info_kvm, |
da76ee76 PB |
449 | }, |
450 | ||
451 | STEXI | |
452 | @item info kvm | |
1b591700 | 453 | @findex info kvm |
da76ee76 PB |
454 | Show KVM information. |
455 | ETEXI | |
a12e74cc PM |
456 | SRST |
457 | ``info kvm`` | |
458 | Show KVM information. | |
459 | ERST | |
da76ee76 PB |
460 | |
461 | { | |
462 | .name = "numa", | |
463 | .args_type = "", | |
464 | .params = "", | |
465 | .help = "show NUMA information", | |
2b9e3576 | 466 | .cmd = hmp_info_numa, |
da76ee76 PB |
467 | }, |
468 | ||
469 | STEXI | |
470 | @item info numa | |
1b591700 | 471 | @findex info numa |
da76ee76 PB |
472 | Show NUMA information. |
473 | ETEXI | |
a12e74cc PM |
474 | SRST |
475 | ``info numa`` | |
476 | Show NUMA information. | |
477 | ERST | |
da76ee76 PB |
478 | |
479 | { | |
480 | .name = "usb", | |
481 | .args_type = "", | |
482 | .params = "", | |
483 | .help = "show guest USB devices", | |
2b9e3576 | 484 | .cmd = hmp_info_usb, |
da76ee76 PB |
485 | }, |
486 | ||
487 | STEXI | |
488 | @item info usb | |
1b591700 | 489 | @findex info usb |
da76ee76 PB |
490 | Show guest USB devices. |
491 | ETEXI | |
a12e74cc PM |
492 | SRST |
493 | ``info usb`` | |
494 | Show guest USB devices. | |
495 | ERST | |
da76ee76 PB |
496 | |
497 | { | |
498 | .name = "usbhost", | |
499 | .args_type = "", | |
500 | .params = "", | |
501 | .help = "show host USB devices", | |
2b9e3576 | 502 | .cmd = hmp_info_usbhost, |
da76ee76 PB |
503 | }, |
504 | ||
505 | STEXI | |
506 | @item info usbhost | |
1b591700 | 507 | @findex info usbhost |
da76ee76 PB |
508 | Show host USB devices. |
509 | ETEXI | |
a12e74cc PM |
510 | SRST |
511 | ``info usbhost`` | |
512 | Show host USB devices. | |
513 | ERST | |
da76ee76 PB |
514 | |
515 | { | |
516 | .name = "profile", | |
517 | .args_type = "", | |
518 | .params = "", | |
519 | .help = "show profiling information", | |
2b9e3576 | 520 | .cmd = hmp_info_profile, |
da76ee76 PB |
521 | }, |
522 | ||
523 | STEXI | |
524 | @item info profile | |
1b591700 | 525 | @findex info profile |
da76ee76 PB |
526 | Show profiling information. |
527 | ETEXI | |
a12e74cc PM |
528 | SRST |
529 | ``info profile`` | |
530 | Show profiling information. | |
531 | ERST | |
da76ee76 PB |
532 | |
533 | { | |
534 | .name = "capture", | |
535 | .args_type = "", | |
536 | .params = "", | |
537 | .help = "show capture information", | |
2b9e3576 | 538 | .cmd = hmp_info_capture, |
da76ee76 PB |
539 | }, |
540 | ||
541 | STEXI | |
542 | @item info capture | |
1b591700 | 543 | @findex info capture |
da76ee76 PB |
544 | Show capture information. |
545 | ETEXI | |
a12e74cc PM |
546 | SRST |
547 | ``info capture`` | |
548 | Show capture information. | |
549 | ERST | |
da76ee76 PB |
550 | |
551 | { | |
552 | .name = "snapshots", | |
553 | .args_type = "", | |
554 | .params = "", | |
555 | .help = "show the currently saved VM snapshots", | |
2b9e3576 | 556 | .cmd = hmp_info_snapshots, |
da76ee76 PB |
557 | }, |
558 | ||
559 | STEXI | |
560 | @item info snapshots | |
1b591700 | 561 | @findex info snapshots |
da76ee76 PB |
562 | Show the currently saved VM snapshots. |
563 | ETEXI | |
a12e74cc PM |
564 | SRST |
565 | ``info snapshots`` | |
566 | Show the currently saved VM snapshots. | |
567 | ERST | |
da76ee76 PB |
568 | |
569 | { | |
570 | .name = "status", | |
571 | .args_type = "", | |
572 | .params = "", | |
573 | .help = "show the current VM status (running|paused)", | |
2b9e3576 | 574 | .cmd = hmp_info_status, |
8c7c7ecb | 575 | .flags = "p", |
da76ee76 PB |
576 | }, |
577 | ||
578 | STEXI | |
579 | @item info status | |
1b591700 | 580 | @findex info status |
da76ee76 PB |
581 | Show the current VM status (running|paused). |
582 | ETEXI | |
a12e74cc PM |
583 | SRST |
584 | ``info status`` | |
585 | Show the current VM status (running|paused). | |
586 | ERST | |
da76ee76 PB |
587 | |
588 | { | |
589 | .name = "mice", | |
590 | .args_type = "", | |
591 | .params = "", | |
592 | .help = "show which guest mouse is receiving events", | |
2b9e3576 | 593 | .cmd = hmp_info_mice, |
da76ee76 PB |
594 | }, |
595 | ||
596 | STEXI | |
597 | @item info mice | |
1b591700 | 598 | @findex info mice |
da76ee76 PB |
599 | Show which guest mouse is receiving events. |
600 | ETEXI | |
a12e74cc PM |
601 | SRST |
602 | ``info mice`` | |
603 | Show which guest mouse is receiving events. | |
604 | ERST | |
da76ee76 | 605 | |
05eb4a25 | 606 | #if defined(CONFIG_VNC) |
da76ee76 PB |
607 | { |
608 | .name = "vnc", | |
609 | .args_type = "", | |
610 | .params = "", | |
611 | .help = "show the vnc server status", | |
2b9e3576 | 612 | .cmd = hmp_info_vnc, |
da76ee76 | 613 | }, |
05eb4a25 | 614 | #endif |
da76ee76 PB |
615 | |
616 | STEXI | |
617 | @item info vnc | |
1b591700 | 618 | @findex info vnc |
da76ee76 PB |
619 | Show the vnc server status. |
620 | ETEXI | |
a12e74cc PM |
621 | SRST |
622 | ``info vnc`` | |
623 | Show the vnc server status. | |
624 | ERST | |
da76ee76 PB |
625 | |
626 | #if defined(CONFIG_SPICE) | |
627 | { | |
628 | .name = "spice", | |
629 | .args_type = "", | |
630 | .params = "", | |
631 | .help = "show the spice server status", | |
2b9e3576 | 632 | .cmd = hmp_info_spice, |
da76ee76 PB |
633 | }, |
634 | #endif | |
635 | ||
636 | STEXI | |
637 | @item info spice | |
1b591700 | 638 | @findex info spice |
da76ee76 PB |
639 | Show the spice server status. |
640 | ETEXI | |
a12e74cc PM |
641 | SRST |
642 | ``info spice`` | |
643 | Show the spice server status. | |
644 | ERST | |
da76ee76 PB |
645 | |
646 | { | |
647 | .name = "name", | |
648 | .args_type = "", | |
649 | .params = "", | |
650 | .help = "show the current VM name", | |
2b9e3576 | 651 | .cmd = hmp_info_name, |
8c7c7ecb | 652 | .flags = "p", |
da76ee76 PB |
653 | }, |
654 | ||
655 | STEXI | |
656 | @item info name | |
1b591700 | 657 | @findex info name |
da76ee76 PB |
658 | Show the current VM name. |
659 | ETEXI | |
a12e74cc PM |
660 | SRST |
661 | ``info name`` | |
662 | Show the current VM name. | |
663 | ERST | |
da76ee76 PB |
664 | |
665 | { | |
666 | .name = "uuid", | |
667 | .args_type = "", | |
668 | .params = "", | |
669 | .help = "show the current VM UUID", | |
2b9e3576 | 670 | .cmd = hmp_info_uuid, |
8c7c7ecb | 671 | .flags = "p", |
da76ee76 PB |
672 | }, |
673 | ||
674 | STEXI | |
675 | @item info uuid | |
1b591700 | 676 | @findex info uuid |
da76ee76 PB |
677 | Show the current VM UUID. |
678 | ETEXI | |
a12e74cc PM |
679 | SRST |
680 | ``info uuid`` | |
681 | Show the current VM UUID. | |
682 | ERST | |
da76ee76 PB |
683 | |
684 | { | |
685 | .name = "cpustats", | |
686 | .args_type = "", | |
687 | .params = "", | |
688 | .help = "show CPU statistics", | |
2b9e3576 | 689 | .cmd = hmp_info_cpustats, |
da76ee76 PB |
690 | }, |
691 | ||
692 | STEXI | |
693 | @item info cpustats | |
1b591700 | 694 | @findex info cpustats |
da76ee76 PB |
695 | Show CPU statistics. |
696 | ETEXI | |
a12e74cc PM |
697 | SRST |
698 | ``info cpustats`` | |
699 | Show CPU statistics. | |
700 | ERST | |
da76ee76 PB |
701 | |
702 | #if defined(CONFIG_SLIRP) | |
703 | { | |
704 | .name = "usernet", | |
705 | .args_type = "", | |
706 | .params = "", | |
707 | .help = "show user network stack connection states", | |
2b9e3576 | 708 | .cmd = hmp_info_usernet, |
da76ee76 PB |
709 | }, |
710 | #endif | |
711 | ||
712 | STEXI | |
713 | @item info usernet | |
1b591700 | 714 | @findex info usernet |
da76ee76 PB |
715 | Show user network stack connection states. |
716 | ETEXI | |
a12e74cc PM |
717 | SRST |
718 | ``info usernet`` | |
719 | Show user network stack connection states. | |
720 | ERST | |
da76ee76 PB |
721 | |
722 | { | |
723 | .name = "migrate", | |
724 | .args_type = "", | |
725 | .params = "", | |
726 | .help = "show migration status", | |
2b9e3576 | 727 | .cmd = hmp_info_migrate, |
da76ee76 PB |
728 | }, |
729 | ||
730 | STEXI | |
731 | @item info migrate | |
1b591700 | 732 | @findex info migrate |
da76ee76 PB |
733 | Show migration status. |
734 | ETEXI | |
a12e74cc PM |
735 | SRST |
736 | ``info migrate`` | |
737 | Show migration status. | |
738 | ERST | |
da76ee76 PB |
739 | |
740 | { | |
741 | .name = "migrate_capabilities", | |
742 | .args_type = "", | |
743 | .params = "", | |
744 | .help = "show current migration capabilities", | |
2b9e3576 | 745 | .cmd = hmp_info_migrate_capabilities, |
da76ee76 PB |
746 | }, |
747 | ||
748 | STEXI | |
749 | @item info migrate_capabilities | |
1b591700 | 750 | @findex info migrate_capabilities |
da76ee76 PB |
751 | Show current migration capabilities. |
752 | ETEXI | |
a12e74cc PM |
753 | SRST |
754 | ``info migrate_capabilities`` | |
755 | Show current migration capabilities. | |
756 | ERST | |
da76ee76 PB |
757 | |
758 | { | |
759 | .name = "migrate_parameters", | |
760 | .args_type = "", | |
761 | .params = "", | |
762 | .help = "show current migration parameters", | |
2b9e3576 | 763 | .cmd = hmp_info_migrate_parameters, |
da76ee76 PB |
764 | }, |
765 | ||
766 | STEXI | |
767 | @item info migrate_parameters | |
1b591700 | 768 | @findex info migrate_parameters |
da76ee76 PB |
769 | Show current migration parameters. |
770 | ETEXI | |
a12e74cc PM |
771 | SRST |
772 | ``info migrate_parameters`` | |
773 | Show current migration parameters. | |
774 | ERST | |
da76ee76 PB |
775 | |
776 | { | |
777 | .name = "migrate_cache_size", | |
778 | .args_type = "", | |
779 | .params = "", | |
780 | .help = "show current migration xbzrle cache size", | |
2b9e3576 | 781 | .cmd = hmp_info_migrate_cache_size, |
da76ee76 PB |
782 | }, |
783 | ||
784 | STEXI | |
785 | @item info migrate_cache_size | |
1b591700 | 786 | @findex info migrate_cache_size |
da76ee76 PB |
787 | Show current migration xbzrle cache size. |
788 | ETEXI | |
a12e74cc PM |
789 | SRST |
790 | ``info migrate_cache_size`` | |
791 | Show current migration xbzrle cache size. | |
792 | ERST | |
da76ee76 PB |
793 | |
794 | { | |
795 | .name = "balloon", | |
796 | .args_type = "", | |
797 | .params = "", | |
798 | .help = "show balloon information", | |
2b9e3576 | 799 | .cmd = hmp_info_balloon, |
da76ee76 PB |
800 | }, |
801 | ||
802 | STEXI | |
803 | @item info balloon | |
1b591700 | 804 | @findex info balloon |
da76ee76 PB |
805 | Show balloon information. |
806 | ETEXI | |
a12e74cc PM |
807 | SRST |
808 | ``info balloon`` | |
809 | Show balloon information. | |
810 | ERST | |
da76ee76 PB |
811 | |
812 | { | |
813 | .name = "qtree", | |
814 | .args_type = "", | |
815 | .params = "", | |
816 | .help = "show device tree", | |
2b9e3576 | 817 | .cmd = hmp_info_qtree, |
da76ee76 PB |
818 | }, |
819 | ||
820 | STEXI | |
821 | @item info qtree | |
1b591700 | 822 | @findex info qtree |
da76ee76 PB |
823 | Show device tree. |
824 | ETEXI | |
a12e74cc PM |
825 | SRST |
826 | ``info qtree`` | |
827 | Show device tree. | |
828 | ERST | |
da76ee76 PB |
829 | |
830 | { | |
831 | .name = "qdm", | |
832 | .args_type = "", | |
833 | .params = "", | |
834 | .help = "show qdev device model list", | |
2b9e3576 | 835 | .cmd = hmp_info_qdm, |
da76ee76 PB |
836 | }, |
837 | ||
838 | STEXI | |
839 | @item info qdm | |
1b591700 | 840 | @findex info qdm |
da76ee76 PB |
841 | Show qdev device model list. |
842 | ETEXI | |
a12e74cc PM |
843 | SRST |
844 | ``info qdm`` | |
845 | Show qdev device model list. | |
846 | ERST | |
da76ee76 PB |
847 | |
848 | { | |
849 | .name = "qom-tree", | |
850 | .args_type = "path:s?", | |
851 | .params = "[path]", | |
852 | .help = "show QOM composition tree", | |
2b9e3576 | 853 | .cmd = hmp_info_qom_tree, |
8c7c7ecb | 854 | .flags = "p", |
da76ee76 PB |
855 | }, |
856 | ||
857 | STEXI | |
858 | @item info qom-tree | |
1b591700 | 859 | @findex info qom-tree |
da76ee76 PB |
860 | Show QOM composition tree. |
861 | ETEXI | |
a12e74cc PM |
862 | SRST |
863 | ``info qom-tree`` | |
864 | Show QOM composition tree. | |
865 | ERST | |
da76ee76 PB |
866 | |
867 | { | |
868 | .name = "roms", | |
869 | .args_type = "", | |
870 | .params = "", | |
871 | .help = "show roms", | |
2b9e3576 | 872 | .cmd = hmp_info_roms, |
da76ee76 PB |
873 | }, |
874 | ||
875 | STEXI | |
876 | @item info roms | |
1b591700 | 877 | @findex info roms |
da76ee76 PB |
878 | Show roms. |
879 | ETEXI | |
a12e74cc PM |
880 | SRST |
881 | ``info roms`` | |
882 | Show roms. | |
883 | ERST | |
da76ee76 PB |
884 | |
885 | { | |
886 | .name = "trace-events", | |
77e2b172 LV |
887 | .args_type = "name:s?,vcpu:i?", |
888 | .params = "[name] [vcpu]", | |
bd71211d | 889 | .help = "show available trace-events & their state " |
77e2b172 | 890 | "(name: event name pattern; vcpu: vCPU to query, default is any)", |
2b9e3576 | 891 | .cmd = hmp_info_trace_events, |
bd71211d | 892 | .command_completion = info_trace_events_completion, |
da76ee76 PB |
893 | }, |
894 | ||
895 | STEXI | |
896 | @item info trace-events | |
1b591700 | 897 | @findex info trace-events |
da76ee76 PB |
898 | Show available trace-events & their state. |
899 | ETEXI | |
a12e74cc PM |
900 | SRST |
901 | ``info trace-events`` | |
902 | Show available trace-events & their state. | |
903 | ERST | |
da76ee76 PB |
904 | |
905 | { | |
906 | .name = "tpm", | |
907 | .args_type = "", | |
908 | .params = "", | |
909 | .help = "show the TPM device", | |
2b9e3576 | 910 | .cmd = hmp_info_tpm, |
da76ee76 PB |
911 | }, |
912 | ||
913 | STEXI | |
914 | @item info tpm | |
1b591700 | 915 | @findex info tpm |
da76ee76 PB |
916 | Show the TPM device. |
917 | ETEXI | |
a12e74cc PM |
918 | SRST |
919 | ``info tpm`` | |
920 | Show the TPM device. | |
921 | ERST | |
da76ee76 PB |
922 | |
923 | { | |
924 | .name = "memdev", | |
925 | .args_type = "", | |
926 | .params = "", | |
927 | .help = "show memory backends", | |
2b9e3576 | 928 | .cmd = hmp_info_memdev, |
8c7c7ecb | 929 | .flags = "p", |
da76ee76 PB |
930 | }, |
931 | ||
932 | STEXI | |
933 | @item info memdev | |
1b591700 | 934 | @findex info memdev |
da76ee76 PB |
935 | Show memory backends |
936 | ETEXI | |
a12e74cc PM |
937 | SRST |
938 | ``info memdev`` | |
939 | Show memory backends | |
940 | ERST | |
da76ee76 PB |
941 | |
942 | { | |
943 | .name = "memory-devices", | |
944 | .args_type = "", | |
945 | .params = "", | |
946 | .help = "show memory devices", | |
2b9e3576 | 947 | .cmd = hmp_info_memory_devices, |
da76ee76 PB |
948 | }, |
949 | ||
950 | STEXI | |
951 | @item info memory-devices | |
1b591700 | 952 | @findex info memory-devices |
da76ee76 PB |
953 | Show memory devices. |
954 | ETEXI | |
a12e74cc PM |
955 | SRST |
956 | ``info memory-devices`` | |
957 | Show memory devices. | |
958 | ERST | |
da76ee76 PB |
959 | |
960 | { | |
961 | .name = "iothreads", | |
962 | .args_type = "", | |
963 | .params = "", | |
964 | .help = "show iothreads", | |
2b9e3576 | 965 | .cmd = hmp_info_iothreads, |
8c7c7ecb | 966 | .flags = "p", |
da76ee76 PB |
967 | }, |
968 | ||
969 | STEXI | |
970 | @item info iothreads | |
1b591700 | 971 | @findex info iothreads |
da76ee76 PB |
972 | Show iothread's identifiers. |
973 | ETEXI | |
a12e74cc PM |
974 | SRST |
975 | ``info iothreads`` | |
976 | Show iothread's identifiers. | |
977 | ERST | |
da76ee76 PB |
978 | |
979 | { | |
980 | .name = "rocker", | |
981 | .args_type = "name:s", | |
982 | .params = "name", | |
983 | .help = "Show rocker switch", | |
2b9e3576 | 984 | .cmd = hmp_rocker, |
da76ee76 PB |
985 | }, |
986 | ||
987 | STEXI | |
988 | @item info rocker @var{name} | |
1b591700 | 989 | @findex info rocker |
da76ee76 PB |
990 | Show rocker switch. |
991 | ETEXI | |
a12e74cc PM |
992 | SRST |
993 | ``info rocker`` *name* | |
994 | Show rocker switch. | |
995 | ERST | |
da76ee76 PB |
996 | |
997 | { | |
998 | .name = "rocker-ports", | |
999 | .args_type = "name:s", | |
1000 | .params = "name", | |
1001 | .help = "Show rocker ports", | |
2b9e3576 | 1002 | .cmd = hmp_rocker_ports, |
da76ee76 PB |
1003 | }, |
1004 | ||
1005 | STEXI | |
c325ccd3 | 1006 | @item info rocker-ports @var{name}-ports |
1b591700 | 1007 | @findex info rocker-ports |
da76ee76 PB |
1008 | Show rocker ports. |
1009 | ETEXI | |
a12e74cc PM |
1010 | SRST |
1011 | ``info rocker-ports`` *name*-ports | |
1012 | Show rocker ports. | |
1013 | ERST | |
da76ee76 PB |
1014 | |
1015 | { | |
1016 | .name = "rocker-of-dpa-flows", | |
1017 | .args_type = "name:s,tbl_id:i?", | |
1018 | .params = "name [tbl_id]", | |
1019 | .help = "Show rocker OF-DPA flow tables", | |
2b9e3576 | 1020 | .cmd = hmp_rocker_of_dpa_flows, |
da76ee76 PB |
1021 | }, |
1022 | ||
1023 | STEXI | |
c325ccd3 | 1024 | @item info rocker-of-dpa-flows @var{name} [@var{tbl_id}] |
1b591700 | 1025 | @findex info rocker-of-dpa-flows |
da76ee76 PB |
1026 | Show rocker OF-DPA flow tables. |
1027 | ETEXI | |
a12e74cc PM |
1028 | SRST |
1029 | ``info rocker-of-dpa-flows`` *name* [*tbl_id*] | |
1030 | Show rocker OF-DPA flow tables. | |
1031 | ERST | |
da76ee76 PB |
1032 | |
1033 | { | |
1034 | .name = "rocker-of-dpa-groups", | |
1035 | .args_type = "name:s,type:i?", | |
1036 | .params = "name [type]", | |
1037 | .help = "Show rocker OF-DPA groups", | |
2b9e3576 | 1038 | .cmd = hmp_rocker_of_dpa_groups, |
da76ee76 PB |
1039 | }, |
1040 | ||
1041 | STEXI | |
1042 | @item info rocker-of-dpa-groups @var{name} [@var{type}] | |
1b591700 | 1043 | @findex info rocker-of-dpa-groups |
da76ee76 PB |
1044 | Show rocker OF-DPA groups. |
1045 | ETEXI | |
a12e74cc PM |
1046 | SRST |
1047 | ``info rocker-of-dpa-groups`` *name* [*type*] | |
1048 | Show rocker OF-DPA groups. | |
1049 | ERST | |
da76ee76 PB |
1050 | |
1051 | #if defined(TARGET_S390X) | |
1052 | { | |
1053 | .name = "skeys", | |
1054 | .args_type = "addr:l", | |
1055 | .params = "address", | |
1056 | .help = "Display the value of a storage key", | |
2b9e3576 | 1057 | .cmd = hmp_info_skeys, |
da76ee76 PB |
1058 | }, |
1059 | #endif | |
1060 | ||
1061 | STEXI | |
1062 | @item info skeys @var{address} | |
1b591700 | 1063 | @findex info skeys |
da76ee76 | 1064 | Display the value of a storage key (s390 only) |
f860d497 | 1065 | ETEXI |
a12e74cc PM |
1066 | SRST |
1067 | ``info skeys`` *address* | |
1068 | Display the value of a storage key (s390 only) | |
1069 | ERST | |
f860d497 CI |
1070 | |
1071 | #if defined(TARGET_S390X) | |
1072 | { | |
1073 | .name = "cmma", | |
1074 | .args_type = "addr:l,count:l?", | |
1075 | .params = "address [count]", | |
1076 | .help = "Display the values of the CMMA storage attributes for a range of pages", | |
1077 | .cmd = hmp_info_cmma, | |
1078 | }, | |
1079 | #endif | |
1080 | ||
1081 | STEXI | |
1082 | @item info cmma @var{address} | |
1b591700 | 1083 | @findex info cmma |
f860d497 | 1084 | Display the values of the CMMA storage attributes for a range of pages (s390 only) |
4a6b52d6 | 1085 | ETEXI |
a12e74cc PM |
1086 | SRST |
1087 | ``info cmma`` *address* | |
1088 | Display the values of the CMMA storage attributes for a range of | |
1089 | pages (s390 only) | |
1090 | ERST | |
4a6b52d6 PX |
1091 | |
1092 | { | |
1093 | .name = "dump", | |
1094 | .args_type = "", | |
1095 | .params = "", | |
1096 | .help = "Display the latest dump status", | |
2b9e3576 | 1097 | .cmd = hmp_info_dump, |
4a6b52d6 PX |
1098 | }, |
1099 | ||
1100 | STEXI | |
1101 | @item info dump | |
1b591700 | 1102 | @findex info dump |
4a6b52d6 | 1103 | Display the latest dump status. |
be9b23c4 | 1104 | ETEXI |
a12e74cc PM |
1105 | SRST |
1106 | ``info dump`` | |
1107 | Display the latest dump status. | |
1108 | ERST | |
be9b23c4 PX |
1109 | |
1110 | { | |
1111 | .name = "ramblock", | |
1112 | .args_type = "", | |
1113 | .params = "", | |
1114 | .help = "Display system ramblock information", | |
1115 | .cmd = hmp_info_ramblock, | |
1116 | }, | |
1117 | ||
1118 | STEXI | |
1119 | @item info ramblock | |
1b591700 | 1120 | @findex info ramblock |
be9b23c4 | 1121 | Dump all the ramblocks of the system. |
d2d8d46f | 1122 | ETEXI |
a12e74cc PM |
1123 | SRST |
1124 | ``info ramblock`` | |
1125 | Dump all the ramblocks of the system. | |
1126 | ERST | |
d2d8d46f BR |
1127 | |
1128 | { | |
1129 | .name = "hotpluggable-cpus", | |
1130 | .args_type = "", | |
1131 | .params = "", | |
1132 | .help = "Show information about hotpluggable CPUs", | |
2b9e3576 | 1133 | .cmd = hmp_hotpluggable_cpus, |
8c7c7ecb | 1134 | .flags = "p", |
d2d8d46f BR |
1135 | }, |
1136 | ||
1137 | STEXI | |
1138 | @item info hotpluggable-cpus | |
1b591700 | 1139 | @findex info hotpluggable-cpus |
d2d8d46f | 1140 | Show information about hotpluggable CPUs |
39164c13 | 1141 | ETEXI |
a12e74cc PM |
1142 | SRST |
1143 | ``info hotpluggable-cpus`` | |
1144 | Show information about hotpluggable CPUs | |
1145 | ERST | |
39164c13 IM |
1146 | |
1147 | { | |
1148 | .name = "vm-generation-id", | |
1149 | .args_type = "", | |
1150 | .params = "", | |
1151 | .help = "Show Virtual Machine Generation ID", | |
1152 | .cmd = hmp_info_vm_generation_id, | |
1153 | }, | |
1154 | ||
d0f63c1e | 1155 | STEXI |
a9272513 | 1156 | @item info vm-generation-id |
1b591700 | 1157 | @findex info vm-generation-id |
a9272513 | 1158 | Show Virtual Machine Generation ID |
d0f63c1e | 1159 | ETEXI |
a12e74cc PM |
1160 | SRST |
1161 | ``info vm-generation-id`` | |
1162 | Show Virtual Machine Generation ID | |
1163 | ERST | |
d0f63c1e VG |
1164 | |
1165 | { | |
1166 | .name = "memory_size_summary", | |
1167 | .args_type = "", | |
1168 | .params = "", | |
1169 | .help = "show the amount of initially allocated and " | |
1170 | "present hotpluggable (if enabled) memory in bytes.", | |
1171 | .cmd = hmp_info_memory_size_summary, | |
1172 | }, | |
1173 | ||
a9272513 MA |
1174 | STEXI |
1175 | @item info memory_size_summary | |
1b591700 | 1176 | @findex info memory_size_summary |
a9272513 MA |
1177 | Display the amount of initially allocated and present hotpluggable (if |
1178 | enabled) memory in bytes. | |
1179 | ETEXI | |
a12e74cc PM |
1180 | SRST |
1181 | ``info memory_size_summary`` | |
1182 | Display the amount of initially allocated and present hotpluggable (if | |
1183 | enabled) memory in bytes. | |
1184 | ERST | |
a9272513 | 1185 | |
63036314 BS |
1186 | #if defined(TARGET_I386) |
1187 | { | |
1188 | .name = "sev", | |
1189 | .args_type = "", | |
1190 | .params = "", | |
1191 | .help = "show SEV information", | |
1192 | .cmd = hmp_info_sev, | |
1193 | }, | |
1194 | #endif | |
1195 | ||
1196 | STEXI | |
1197 | @item info sev | |
1198 | @findex info sev | |
1199 | Show SEV information. | |
1200 | ETEXI | |
a12e74cc PM |
1201 | SRST |
1202 | ``info sev`` | |
1203 | Show SEV information. | |
1204 | ERST | |
63036314 | 1205 | |
da76ee76 PB |
1206 | STEXI |
1207 | @end table | |
1208 | ETEXI | |
2cd8af2d PB |
1209 | |
1210 | STEXI | |
1211 | @end table | |
1212 | ETEXI |