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