blob: 6db3457a786e90b6c04bf2ebbd4545e57dc2656b [file] [log] [blame]
Pavel Butsykinda76ee72015-09-10 18:38:58 +03001HXCOMM 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
Pavel Butsykin2cd8af22015-09-10 18:39:01 +030010@item info @var{subcommand}
11@findex info
12Show various information about the system state.
13@table @option
Pavel Butsykinda76ee72015-09-10 18:38:58 +030014ETEXI
15
16 {
17 .name = "version",
18 .args_type = "",
19 .params = "",
20 .help = "show the version of QEMU",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040021 .cmd = hmp_info_version,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +010022 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +030023 },
24
25STEXI
26@item info version
Markus Armbruster1b591702017-10-02 15:45:38 +020027@findex info version
Pavel Butsykinda76ee72015-09-10 18:38:58 +030028Show the version of QEMU.
29ETEXI
30
31 {
32 .name = "network",
33 .args_type = "",
34 .params = "",
35 .help = "show the network state",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040036 .cmd = hmp_info_network,
Pavel Butsykinda76ee72015-09-10 18:38:58 +030037 },
38
39STEXI
40@item info network
Markus Armbruster1b591702017-10-02 15:45:38 +020041@findex info network
Pavel Butsykinda76ee72015-09-10 18:38:58 +030042Show the network state.
43ETEXI
44
45 {
46 .name = "chardev",
47 .args_type = "",
48 .params = "",
49 .help = "show the character devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040050 .cmd = hmp_info_chardev,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +010051 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +030052 },
53
54STEXI
55@item info chardev
Markus Armbruster1b591702017-10-02 15:45:38 +020056@findex info chardev
Pavel Butsykinda76ee72015-09-10 18:38:58 +030057Show the character devices.
58ETEXI
59
60 {
61 .name = "block",
62 .args_type = "nodes:-n,verbose:-v,device:B?",
63 .params = "[-n] [-v] [device]",
64 .help = "show info of one block device or all block devices "
65 "(-n: show named nodes; -v: show details)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040066 .cmd = hmp_info_block,
Pavel Butsykinda76ee72015-09-10 18:38:58 +030067 },
68
69STEXI
70@item info block
Markus Armbruster1b591702017-10-02 15:45:38 +020071@findex info block
Pavel Butsykinda76ee72015-09-10 18:38:58 +030072Show info of one block device or all block devices.
73ETEXI
74
75 {
76 .name = "blockstats",
77 .args_type = "",
78 .params = "",
79 .help = "show block device statistics",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040080 .cmd = hmp_info_blockstats,
Pavel Butsykinda76ee72015-09-10 18:38:58 +030081 },
82
83STEXI
84@item info blockstats
Markus Armbruster1b591702017-10-02 15:45:38 +020085@findex info blockstats
Pavel Butsykinda76ee72015-09-10 18:38:58 +030086Show block device statistics.
87ETEXI
88
89 {
90 .name = "block-jobs",
91 .args_type = "",
92 .params = "",
93 .help = "show progress of ongoing block device operations",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040094 .cmd = hmp_info_block_jobs,
Pavel Butsykinda76ee72015-09-10 18:38:58 +030095 },
96
97STEXI
98@item info block-jobs
Markus Armbruster1b591702017-10-02 15:45:38 +020099@findex info block-jobs
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300100Show progress of ongoing block device operations.
101ETEXI
102
103 {
104 .name = "registers",
Suraj Jitindar Singh18f08282017-06-08 15:41:16 +1000105 .args_type = "cpustate_all:-a",
106 .params = "[-a]",
107 .help = "show the cpu registers (-a: all - show register info for all cpus)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400108 .cmd = hmp_info_registers,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300109 },
110
111STEXI
112@item info registers
Markus Armbruster1b591702017-10-02 15:45:38 +0200113@findex info registers
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300114Show the cpu registers.
115ETEXI
116
Pavel Butsykin1f871d42015-09-22 16:18:18 +0300117#if defined(TARGET_I386)
118 {
119 .name = "lapic",
Yi Wang1bef2282017-07-26 02:18:37 -0400120 .args_type = "apic-id:i?",
121 .params = "[apic-id]",
122 .help = "show local apic state (apic-id: local apic to read, default is which of current CPU)",
123
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400124 .cmd = hmp_info_local_apic,
Pavel Butsykin1f871d42015-09-22 16:18:18 +0300125 },
126#endif
127
128STEXI
129@item info lapic
Markus Armbruster1b591702017-10-02 15:45:38 +0200130@findex info lapic
Pavel Butsykin1f871d42015-09-22 16:18:18 +0300131Show local APIC state
132ETEXI
133
Pavel Butsykind665d692015-09-22 16:18:20 +0300134#if defined(TARGET_I386)
135 {
136 .name = "ioapic",
137 .args_type = "",
138 .params = "",
139 .help = "show io apic state",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400140 .cmd = hmp_info_io_apic,
Pavel Butsykind665d692015-09-22 16:18:20 +0300141 },
142#endif
143
144STEXI
145@item info ioapic
Markus Armbruster1b591702017-10-02 15:45:38 +0200146@findex info ioapic
Pavel Butsykind665d692015-09-22 16:18:20 +0300147Show io APIC state
148ETEXI
149
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300150 {
151 .name = "cpus",
152 .args_type = "",
153 .params = "",
154 .help = "show infos for each CPU",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400155 .cmd = hmp_info_cpus,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300156 },
157
158STEXI
159@item info cpus
Markus Armbruster1b591702017-10-02 15:45:38 +0200160@findex info cpus
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300161Show infos for each CPU.
162ETEXI
163
164 {
165 .name = "history",
166 .args_type = "",
167 .params = "",
168 .help = "show the command line history",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400169 .cmd = hmp_info_history,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100170 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300171 },
172
173STEXI
174@item info history
Markus Armbruster1b591702017-10-02 15:45:38 +0200175@findex info history
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300176Show the command line history.
177ETEXI
178
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300179 {
180 .name = "irq",
181 .args_type = "",
182 .params = "",
183 .help = "show the interrupts statistics (if available)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400184 .cmd = hmp_info_irq,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300185 },
186
187STEXI
188@item info irq
Markus Armbruster1b591702017-10-02 15:45:38 +0200189@findex info irq
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300190Show the interrupts statistics (if available).
191ETEXI
192
193 {
194 .name = "pic",
195 .args_type = "",
196 .params = "",
Hervé Poussineau254316f2016-09-26 22:23:28 +0200197 .help = "show PIC state",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400198 .cmd = hmp_info_pic,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300199 },
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300200
201STEXI
202@item info pic
Markus Armbruster1b591702017-10-02 15:45:38 +0200203@findex info pic
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300204Show i8259 (PIC) state.
205ETEXI
206
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200207 {
208 .name = "pci",
209 .args_type = "",
210 .params = "",
211 .help = "show PCI info",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400212 .cmd = hmp_info_pci,
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200213 },
214
215STEXI
216@item info pci
Markus Armbruster1b591702017-10-02 15:45:38 +0200217@findex info pci
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200218Show PCI information.
219ETEXI
220
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300221#if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
Laurent Vivier2097dca2018-01-18 20:38:46 +0100222 defined(TARGET_PPC) || defined(TARGET_XTENSA) || defined(TARGET_M68K)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300223 {
224 .name = "tlb",
225 .args_type = "",
226 .params = "",
227 .help = "show virtual to physical memory mappings",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400228 .cmd = hmp_info_tlb,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300229 },
230#endif
231
232STEXI
233@item info tlb
Markus Armbruster1b591702017-10-02 15:45:38 +0200234@findex info tlb
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300235Show virtual to physical memory mappings.
236ETEXI
237
238#if defined(TARGET_I386)
239 {
240 .name = "mem",
241 .args_type = "",
242 .params = "",
243 .help = "show the active virtual memory mappings",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400244 .cmd = hmp_info_mem,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300245 },
246#endif
247
248STEXI
249@item info mem
Markus Armbruster1b591702017-10-02 15:45:38 +0200250@findex info mem
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300251Show the active virtual memory mappings.
252ETEXI
253
254 {
255 .name = "mtree",
Alexey Kardashevskiy5e8fd942017-09-21 18:51:06 +1000256 .args_type = "flatview:-f,dispatch_tree:-d",
257 .params = "[-f][-d]",
258 .help = "show memory tree (-f: dump flat view for address spaces;"
259 "-d: dump dispatch tree, valid with -f only)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400260 .cmd = hmp_info_mtree,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300261 },
262
263STEXI
264@item info mtree
Markus Armbruster1b591702017-10-02 15:45:38 +0200265@findex info mtree
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300266Show memory tree.
267ETEXI
268
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200269#if defined(CONFIG_TCG)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300270 {
271 .name = "jit",
272 .args_type = "",
273 .params = "",
274 .help = "show dynamic compiler info",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400275 .cmd = hmp_info_jit,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300276 },
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200277#endif
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300278
279STEXI
280@item info jit
Markus Armbruster1b591702017-10-02 15:45:38 +0200281@findex info jit
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300282Show dynamic compiler info.
283ETEXI
284
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200285#if defined(CONFIG_TCG)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300286 {
287 .name = "opcount",
288 .args_type = "",
289 .params = "",
290 .help = "show dynamic compiler opcode counters",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400291 .cmd = hmp_info_opcount,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300292 },
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200293#endif
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300294
295STEXI
296@item info opcount
Markus Armbruster1b591702017-10-02 15:45:38 +0200297@findex info opcount
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300298Show dynamic compiler opcode counters
299ETEXI
300
301 {
302 .name = "kvm",
303 .args_type = "",
304 .params = "",
305 .help = "show KVM information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400306 .cmd = hmp_info_kvm,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300307 },
308
309STEXI
310@item info kvm
Markus Armbruster1b591702017-10-02 15:45:38 +0200311@findex info kvm
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300312Show KVM information.
313ETEXI
314
315 {
316 .name = "numa",
317 .args_type = "",
318 .params = "",
319 .help = "show NUMA information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400320 .cmd = hmp_info_numa,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300321 },
322
323STEXI
324@item info numa
Markus Armbruster1b591702017-10-02 15:45:38 +0200325@findex info numa
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300326Show NUMA information.
327ETEXI
328
329 {
330 .name = "usb",
331 .args_type = "",
332 .params = "",
333 .help = "show guest USB devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400334 .cmd = hmp_info_usb,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300335 },
336
337STEXI
338@item info usb
Markus Armbruster1b591702017-10-02 15:45:38 +0200339@findex info usb
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300340Show guest USB devices.
341ETEXI
342
343 {
344 .name = "usbhost",
345 .args_type = "",
346 .params = "",
347 .help = "show host USB devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400348 .cmd = hmp_info_usbhost,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300349 },
350
351STEXI
352@item info usbhost
Markus Armbruster1b591702017-10-02 15:45:38 +0200353@findex info usbhost
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300354Show host USB devices.
355ETEXI
356
357 {
358 .name = "profile",
359 .args_type = "",
360 .params = "",
361 .help = "show profiling information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400362 .cmd = hmp_info_profile,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300363 },
364
365STEXI
366@item info profile
Markus Armbruster1b591702017-10-02 15:45:38 +0200367@findex info profile
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300368Show profiling information.
369ETEXI
370
371 {
372 .name = "capture",
373 .args_type = "",
374 .params = "",
375 .help = "show capture information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400376 .cmd = hmp_info_capture,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300377 },
378
379STEXI
380@item info capture
Markus Armbruster1b591702017-10-02 15:45:38 +0200381@findex info capture
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300382Show capture information.
383ETEXI
384
385 {
386 .name = "snapshots",
387 .args_type = "",
388 .params = "",
389 .help = "show the currently saved VM snapshots",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400390 .cmd = hmp_info_snapshots,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300391 },
392
393STEXI
394@item info snapshots
Markus Armbruster1b591702017-10-02 15:45:38 +0200395@findex info snapshots
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300396Show the currently saved VM snapshots.
397ETEXI
398
399 {
400 .name = "status",
401 .args_type = "",
402 .params = "",
403 .help = "show the current VM status (running|paused)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400404 .cmd = hmp_info_status,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100405 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300406 },
407
408STEXI
409@item info status
Markus Armbruster1b591702017-10-02 15:45:38 +0200410@findex info status
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300411Show the current VM status (running|paused).
412ETEXI
413
414 {
415 .name = "mice",
416 .args_type = "",
417 .params = "",
418 .help = "show which guest mouse is receiving events",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400419 .cmd = hmp_info_mice,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300420 },
421
422STEXI
423@item info mice
Markus Armbruster1b591702017-10-02 15:45:38 +0200424@findex info mice
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300425Show which guest mouse is receiving events.
426ETEXI
427
428 {
429 .name = "vnc",
430 .args_type = "",
431 .params = "",
432 .help = "show the vnc server status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400433 .cmd = hmp_info_vnc,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300434 },
435
436STEXI
437@item info vnc
Markus Armbruster1b591702017-10-02 15:45:38 +0200438@findex info vnc
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300439Show the vnc server status.
440ETEXI
441
442#if defined(CONFIG_SPICE)
443 {
444 .name = "spice",
445 .args_type = "",
446 .params = "",
447 .help = "show the spice server status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400448 .cmd = hmp_info_spice,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300449 },
450#endif
451
452STEXI
453@item info spice
Markus Armbruster1b591702017-10-02 15:45:38 +0200454@findex info spice
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300455Show the spice server status.
456ETEXI
457
458 {
459 .name = "name",
460 .args_type = "",
461 .params = "",
462 .help = "show the current VM name",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400463 .cmd = hmp_info_name,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100464 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300465 },
466
467STEXI
468@item info name
Markus Armbruster1b591702017-10-02 15:45:38 +0200469@findex info name
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300470Show the current VM name.
471ETEXI
472
473 {
474 .name = "uuid",
475 .args_type = "",
476 .params = "",
477 .help = "show the current VM UUID",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400478 .cmd = hmp_info_uuid,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100479 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300480 },
481
482STEXI
483@item info uuid
Markus Armbruster1b591702017-10-02 15:45:38 +0200484@findex info uuid
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300485Show the current VM UUID.
486ETEXI
487
488 {
489 .name = "cpustats",
490 .args_type = "",
491 .params = "",
492 .help = "show CPU statistics",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400493 .cmd = hmp_info_cpustats,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300494 },
495
496STEXI
497@item info cpustats
Markus Armbruster1b591702017-10-02 15:45:38 +0200498@findex info cpustats
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300499Show CPU statistics.
500ETEXI
501
502#if defined(CONFIG_SLIRP)
503 {
504 .name = "usernet",
505 .args_type = "",
506 .params = "",
507 .help = "show user network stack connection states",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400508 .cmd = hmp_info_usernet,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300509 },
510#endif
511
512STEXI
513@item info usernet
Markus Armbruster1b591702017-10-02 15:45:38 +0200514@findex info usernet
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300515Show user network stack connection states.
516ETEXI
517
518 {
519 .name = "migrate",
520 .args_type = "",
521 .params = "",
522 .help = "show migration status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400523 .cmd = hmp_info_migrate,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300524 },
525
526STEXI
527@item info migrate
Markus Armbruster1b591702017-10-02 15:45:38 +0200528@findex info migrate
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300529Show migration status.
530ETEXI
531
532 {
533 .name = "migrate_capabilities",
534 .args_type = "",
535 .params = "",
536 .help = "show current migration capabilities",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400537 .cmd = hmp_info_migrate_capabilities,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300538 },
539
540STEXI
541@item info migrate_capabilities
Markus Armbruster1b591702017-10-02 15:45:38 +0200542@findex info migrate_capabilities
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300543Show current migration capabilities.
544ETEXI
545
546 {
547 .name = "migrate_parameters",
548 .args_type = "",
549 .params = "",
550 .help = "show current migration parameters",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400551 .cmd = hmp_info_migrate_parameters,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300552 },
553
554STEXI
555@item info migrate_parameters
Markus Armbruster1b591702017-10-02 15:45:38 +0200556@findex info migrate_parameters
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300557Show current migration parameters.
558ETEXI
559
560 {
561 .name = "migrate_cache_size",
562 .args_type = "",
563 .params = "",
564 .help = "show current migration xbzrle cache size",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400565 .cmd = hmp_info_migrate_cache_size,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300566 },
567
568STEXI
569@item info migrate_cache_size
Markus Armbruster1b591702017-10-02 15:45:38 +0200570@findex info migrate_cache_size
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300571Show current migration xbzrle cache size.
572ETEXI
573
574 {
575 .name = "balloon",
576 .args_type = "",
577 .params = "",
578 .help = "show balloon information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400579 .cmd = hmp_info_balloon,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300580 },
581
582STEXI
583@item info balloon
Markus Armbruster1b591702017-10-02 15:45:38 +0200584@findex info balloon
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300585Show balloon information.
586ETEXI
587
588 {
589 .name = "qtree",
590 .args_type = "",
591 .params = "",
592 .help = "show device tree",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400593 .cmd = hmp_info_qtree,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300594 },
595
596STEXI
597@item info qtree
Markus Armbruster1b591702017-10-02 15:45:38 +0200598@findex info qtree
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300599Show device tree.
600ETEXI
601
602 {
603 .name = "qdm",
604 .args_type = "",
605 .params = "",
606 .help = "show qdev device model list",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400607 .cmd = hmp_info_qdm,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300608 },
609
610STEXI
611@item info qdm
Markus Armbruster1b591702017-10-02 15:45:38 +0200612@findex info qdm
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300613Show qdev device model list.
614ETEXI
615
616 {
617 .name = "qom-tree",
618 .args_type = "path:s?",
619 .params = "[path]",
620 .help = "show QOM composition tree",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400621 .cmd = hmp_info_qom_tree,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100622 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300623 },
624
625STEXI
626@item info qom-tree
Markus Armbruster1b591702017-10-02 15:45:38 +0200627@findex info qom-tree
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300628Show QOM composition tree.
629ETEXI
630
631 {
632 .name = "roms",
633 .args_type = "",
634 .params = "",
635 .help = "show roms",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400636 .cmd = hmp_info_roms,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300637 },
638
639STEXI
640@item info roms
Markus Armbruster1b591702017-10-02 15:45:38 +0200641@findex info roms
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300642Show roms.
643ETEXI
644
645 {
646 .name = "trace-events",
Lluís Vilanova77e2b172016-07-11 12:53:57 +0200647 .args_type = "name:s?,vcpu:i?",
648 .params = "[name] [vcpu]",
Lluís Vilanovabd712112016-07-11 12:53:51 +0200649 .help = "show available trace-events & their state "
Lluís Vilanova77e2b172016-07-11 12:53:57 +0200650 "(name: event name pattern; vcpu: vCPU to query, default is any)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400651 .cmd = hmp_info_trace_events,
Lluís Vilanovabd712112016-07-11 12:53:51 +0200652 .command_completion = info_trace_events_completion,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300653 },
654
655STEXI
656@item info trace-events
Markus Armbruster1b591702017-10-02 15:45:38 +0200657@findex info trace-events
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300658Show available trace-events & their state.
659ETEXI
660
661 {
662 .name = "tpm",
663 .args_type = "",
664 .params = "",
665 .help = "show the TPM device",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400666 .cmd = hmp_info_tpm,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300667 },
668
669STEXI
670@item info tpm
Markus Armbruster1b591702017-10-02 15:45:38 +0200671@findex info tpm
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300672Show the TPM device.
673ETEXI
674
675 {
676 .name = "memdev",
677 .args_type = "",
678 .params = "",
679 .help = "show memory backends",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400680 .cmd = hmp_info_memdev,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100681 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300682 },
683
684STEXI
685@item info memdev
Markus Armbruster1b591702017-10-02 15:45:38 +0200686@findex info memdev
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300687Show memory backends
688ETEXI
689
690 {
691 .name = "memory-devices",
692 .args_type = "",
693 .params = "",
694 .help = "show memory devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400695 .cmd = hmp_info_memory_devices,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300696 },
697
698STEXI
699@item info memory-devices
Markus Armbruster1b591702017-10-02 15:45:38 +0200700@findex info memory-devices
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300701Show memory devices.
702ETEXI
703
704 {
705 .name = "iothreads",
706 .args_type = "",
707 .params = "",
708 .help = "show iothreads",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400709 .cmd = hmp_info_iothreads,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100710 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300711 },
712
713STEXI
714@item info iothreads
Markus Armbruster1b591702017-10-02 15:45:38 +0200715@findex info iothreads
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300716Show iothread's identifiers.
717ETEXI
718
719 {
720 .name = "rocker",
721 .args_type = "name:s",
722 .params = "name",
723 .help = "Show rocker switch",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400724 .cmd = hmp_rocker,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300725 },
726
727STEXI
728@item info rocker @var{name}
Markus Armbruster1b591702017-10-02 15:45:38 +0200729@findex info rocker
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300730Show rocker switch.
731ETEXI
732
733 {
734 .name = "rocker-ports",
735 .args_type = "name:s",
736 .params = "name",
737 .help = "Show rocker ports",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400738 .cmd = hmp_rocker_ports,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300739 },
740
741STEXI
Markus Armbrusterc325ccd2017-10-02 15:45:36 +0200742@item info rocker-ports @var{name}-ports
Markus Armbruster1b591702017-10-02 15:45:38 +0200743@findex info rocker-ports
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300744Show rocker ports.
745ETEXI
746
747 {
748 .name = "rocker-of-dpa-flows",
749 .args_type = "name:s,tbl_id:i?",
750 .params = "name [tbl_id]",
751 .help = "Show rocker OF-DPA flow tables",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400752 .cmd = hmp_rocker_of_dpa_flows,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300753 },
754
755STEXI
Markus Armbrusterc325ccd2017-10-02 15:45:36 +0200756@item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
Markus Armbruster1b591702017-10-02 15:45:38 +0200757@findex info rocker-of-dpa-flows
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300758Show rocker OF-DPA flow tables.
759ETEXI
760
761 {
762 .name = "rocker-of-dpa-groups",
763 .args_type = "name:s,type:i?",
764 .params = "name [type]",
765 .help = "Show rocker OF-DPA groups",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400766 .cmd = hmp_rocker_of_dpa_groups,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300767 },
768
769STEXI
770@item info rocker-of-dpa-groups @var{name} [@var{type}]
Markus Armbruster1b591702017-10-02 15:45:38 +0200771@findex info rocker-of-dpa-groups
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300772Show rocker OF-DPA groups.
773ETEXI
774
775#if defined(TARGET_S390X)
776 {
777 .name = "skeys",
778 .args_type = "addr:l",
779 .params = "address",
780 .help = "Display the value of a storage key",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400781 .cmd = hmp_info_skeys,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300782 },
783#endif
784
785STEXI
786@item info skeys @var{address}
Markus Armbruster1b591702017-10-02 15:45:38 +0200787@findex info skeys
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300788Display the value of a storage key (s390 only)
789ETEXI
790
Claudio Imbrendaf860d492016-08-15 18:44:04 +0200791#if defined(TARGET_S390X)
792 {
793 .name = "cmma",
794 .args_type = "addr:l,count:l?",
795 .params = "address [count]",
796 .help = "Display the values of the CMMA storage attributes for a range of pages",
797 .cmd = hmp_info_cmma,
798 },
799#endif
800
801STEXI
802@item info cmma @var{address}
Markus Armbruster1b591702017-10-02 15:45:38 +0200803@findex info cmma
Claudio Imbrendaf860d492016-08-15 18:44:04 +0200804Display the values of the CMMA storage attributes for a range of pages (s390 only)
805ETEXI
806
Peter Xu4a6b52d2016-02-18 13:16:55 +0800807 {
808 .name = "dump",
809 .args_type = "",
810 .params = "",
811 .help = "Display the latest dump status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400812 .cmd = hmp_info_dump,
Peter Xu4a6b52d2016-02-18 13:16:55 +0800813 },
814
815STEXI
816@item info dump
Markus Armbruster1b591702017-10-02 15:45:38 +0200817@findex info dump
Peter Xu4a6b52d2016-02-18 13:16:55 +0800818Display the latest dump status.
819ETEXI
820
Bharata B Raod2d8d462016-06-10 06:29:07 +0530821 {
Peter Xube9b23c2017-05-12 12:17:41 +0800822 .name = "ramblock",
823 .args_type = "",
824 .params = "",
825 .help = "Display system ramblock information",
826 .cmd = hmp_info_ramblock,
827 },
828
829STEXI
830@item info ramblock
Markus Armbruster1b591702017-10-02 15:45:38 +0200831@findex info ramblock
Peter Xube9b23c2017-05-12 12:17:41 +0800832Dump all the ramblocks of the system.
833ETEXI
834
835 {
Bharata B Raod2d8d462016-06-10 06:29:07 +0530836 .name = "hotpluggable-cpus",
837 .args_type = "",
838 .params = "",
839 .help = "Show information about hotpluggable CPUs",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400840 .cmd = hmp_hotpluggable_cpus,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100841 .flags = "p",
Bharata B Raod2d8d462016-06-10 06:29:07 +0530842 },
843
844STEXI
845@item info hotpluggable-cpus
Markus Armbruster1b591702017-10-02 15:45:38 +0200846@findex info hotpluggable-cpus
Bharata B Raod2d8d462016-06-10 06:29:07 +0530847Show information about hotpluggable CPUs
848ETEXI
849
Igor Mammedov39164c12017-02-16 15:15:37 -0800850 {
851 .name = "vm-generation-id",
852 .args_type = "",
853 .params = "",
854 .help = "Show Virtual Machine Generation ID",
855 .cmd = hmp_info_vm_generation_id,
856 },
857
858STEXI
Markus Armbrustera9272512017-10-02 15:45:37 +0200859@item info vm-generation-id
Markus Armbruster1b591702017-10-02 15:45:38 +0200860@findex info vm-generation-id
Markus Armbrustera9272512017-10-02 15:45:37 +0200861Show Virtual Machine Generation ID
Vadim Galitsynd0f63c12017-08-29 17:30:22 +0200862ETEXI
863
864 {
865 .name = "memory_size_summary",
866 .args_type = "",
867 .params = "",
868 .help = "show the amount of initially allocated and "
869 "present hotpluggable (if enabled) memory in bytes.",
870 .cmd = hmp_info_memory_size_summary,
871 },
872
873STEXI
Markus Armbrustera9272512017-10-02 15:45:37 +0200874@item info memory_size_summary
Markus Armbruster1b591702017-10-02 15:45:38 +0200875@findex info memory_size_summary
Markus Armbrustera9272512017-10-02 15:45:37 +0200876Display the amount of initially allocated and present hotpluggable (if
877enabled) memory in bytes.
878ETEXI
879
Brijesh Singh63036312018-03-08 06:48:47 -0600880#if defined(TARGET_I386)
881 {
882 .name = "sev",
883 .args_type = "",
884 .params = "",
885 .help = "show SEV information",
886 .cmd = hmp_info_sev,
887 },
888#endif
889
890STEXI
891@item info sev
892@findex info sev
893Show SEV information.
894ETEXI
895
Markus Armbrustera9272512017-10-02 15:45:37 +0200896STEXI
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300897@end table
898ETEXI
Pavel Butsykin2cd8af22015-09-10 18:39:01 +0300899
900STEXI
901@end table
902ETEXI