blob: ca5198438deccd2b9e9e8350fe913435c0ba34e0 [file] [log] [blame]
Peter Maydell3c95fde2020-03-06 17:17:44 +00001HXCOMM Use DEFHEADING() to define headings in both help text and rST.
2HXCOMM Text between SRST and ERST is copied to the rST version and
3HXCOMM discarded from C version.
Pavel Butsykinda76ee72015-09-10 18:38:58 +03004HXCOMM DEF(command, args, callback, arg_string, help) is used to construct
5HXCOMM monitor info commands
Peter Maydell3c95fde2020-03-06 17:17:44 +00006HXCOMM HXCOMM can be used for comments, discarded from both rST and C.
Peter Maydella12e74c2020-02-28 15:36:07 +00007HXCOMM
8HXCOMM In this file, generally SRST fragments should have two extra
9HXCOMM spaces of indent, so that the documentation list item for "info foo"
10HXCOMM appears inside the documentation list item for the top level
11HXCOMM "info" documentation entry. The exception is the first SRST
12HXCOMM fragment that defines that top level entry.
Pavel Butsykinda76ee72015-09-10 18:38:58 +030013
Peter Maydella12e74c2020-02-28 15:36:07 +000014SRST
15``info`` *subcommand*
16 Show various information about the system state.
17
18ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +030019
20 {
21 .name = "version",
22 .args_type = "",
23 .params = "",
24 .help = "show the version of QEMU",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040025 .cmd = hmp_info_version,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +010026 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +030027 },
28
Peter Maydella12e74c2020-02-28 15:36:07 +000029SRST
30 ``info version``
31 Show the version of QEMU.
32ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +030033
34 {
35 .name = "network",
36 .args_type = "",
37 .params = "",
38 .help = "show the network state",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040039 .cmd = hmp_info_network,
Pavel Butsykinda76ee72015-09-10 18:38:58 +030040 },
41
Peter Maydella12e74c2020-02-28 15:36:07 +000042SRST
43 ``info network``
44 Show the network state.
45ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +030046
47 {
48 .name = "chardev",
49 .args_type = "",
50 .params = "",
51 .help = "show the character devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040052 .cmd = hmp_info_chardev,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +010053 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +030054 },
55
Peter Maydella12e74c2020-02-28 15:36:07 +000056SRST
57 ``info chardev``
58 Show the character devices.
59ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +030060
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)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040067 .cmd = hmp_info_block,
Pavel Butsykinda76ee72015-09-10 18:38:58 +030068 },
69
Peter Maydella12e74c2020-02-28 15:36:07 +000070SRST
71 ``info block``
72 Show info of one block device or all block devices.
73ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +030074
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
Peter Maydella12e74c2020-02-28 15:36:07 +000083SRST
84 ``info blockstats``
85 Show block device statistics.
86ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +030087
88 {
89 .name = "block-jobs",
90 .args_type = "",
91 .params = "",
92 .help = "show progress of ongoing block device operations",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +040093 .cmd = hmp_info_block_jobs,
Pavel Butsykinda76ee72015-09-10 18:38:58 +030094 },
95
Peter Maydella12e74c2020-02-28 15:36:07 +000096SRST
97 ``info block-jobs``
98 Show progress of ongoing block device operations.
99ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300100
101 {
102 .name = "registers",
Suraj Jitindar Singh18f08282017-06-08 15:41:16 +1000103 .args_type = "cpustate_all:-a",
104 .params = "[-a]",
105 .help = "show the cpu registers (-a: all - show register info for all cpus)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400106 .cmd = hmp_info_registers,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300107 },
108
Peter Maydella12e74c2020-02-28 15:36:07 +0000109SRST
110 ``info registers``
111 Show the cpu registers.
112ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300113
Pavel Butsykin1f871d42015-09-22 16:18:18 +0300114#if defined(TARGET_I386)
115 {
116 .name = "lapic",
Yi Wang1bef2282017-07-26 02:18:37 -0400117 .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
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400121 .cmd = hmp_info_local_apic,
Pavel Butsykin1f871d42015-09-22 16:18:18 +0300122 },
123#endif
124
Peter Maydella12e74c2020-02-28 15:36:07 +0000125SRST
126 ``info lapic``
127 Show local APIC state
128ERST
Pavel Butsykin1f871d42015-09-22 16:18:18 +0300129
Pavel Butsykind665d692015-09-22 16:18:20 +0300130#if defined(TARGET_I386)
131 {
132 .name = "ioapic",
133 .args_type = "",
134 .params = "",
135 .help = "show io apic state",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400136 .cmd = hmp_info_io_apic,
Pavel Butsykind665d692015-09-22 16:18:20 +0300137 },
138#endif
139
Peter Maydella12e74c2020-02-28 15:36:07 +0000140SRST
141 ``info ioapic``
142 Show io APIC state
143ERST
Pavel Butsykind665d692015-09-22 16:18:20 +0300144
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300145 {
146 .name = "cpus",
147 .args_type = "",
148 .params = "",
149 .help = "show infos for each CPU",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400150 .cmd = hmp_info_cpus,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300151 },
152
Peter Maydella12e74c2020-02-28 15:36:07 +0000153SRST
154 ``info cpus``
155 Show infos for each CPU.
156ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300157
158 {
159 .name = "history",
160 .args_type = "",
161 .params = "",
162 .help = "show the command line history",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400163 .cmd = hmp_info_history,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100164 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300165 },
166
Peter Maydella12e74c2020-02-28 15:36:07 +0000167SRST
168 ``info history``
169 Show the command line history.
170ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300171
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300172 {
173 .name = "irq",
174 .args_type = "",
175 .params = "",
176 .help = "show the interrupts statistics (if available)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400177 .cmd = hmp_info_irq,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300178 },
179
Peter Maydella12e74c2020-02-28 15:36:07 +0000180SRST
181 ``info irq``
182 Show the interrupts statistics (if available).
183ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300184
185 {
186 .name = "pic",
187 .args_type = "",
188 .params = "",
Hervé Poussineau254316f2016-09-26 22:23:28 +0200189 .help = "show PIC state",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400190 .cmd = hmp_info_pic,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300191 },
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300192
Peter Maydella12e74c2020-02-28 15:36:07 +0000193SRST
194 ``info pic``
195 Show PIC state.
196ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300197
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200198 {
Yuval Shaiaf4b2c022019-03-11 03:29:09 -0700199 .name = "rdma",
200 .args_type = "",
201 .params = "",
202 .help = "show RDMA state",
203 .cmd = hmp_info_rdma,
204 },
205
Peter Maydella12e74c2020-02-28 15:36:07 +0000206SRST
207 ``info rdma``
208 Show RDMA state.
209ERST
Yuval Shaiaf4b2c022019-03-11 03:29:09 -0700210
211 {
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200212 .name = "pci",
213 .args_type = "",
214 .params = "",
215 .help = "show PCI info",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400216 .cmd = hmp_info_pci,
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200217 },
218
Peter Maydella12e74c2020-02-28 15:36:07 +0000219SRST
220 ``info pci``
221 Show PCI information.
222ERST
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200223
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300224#if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
Laurent Vivier2097dca2018-01-18 20:38:46 +0100225 defined(TARGET_PPC) || defined(TARGET_XTENSA) || defined(TARGET_M68K)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300226 {
227 .name = "tlb",
228 .args_type = "",
229 .params = "",
230 .help = "show virtual to physical memory mappings",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400231 .cmd = hmp_info_tlb,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300232 },
233#endif
234
Peter Maydella12e74c2020-02-28 15:36:07 +0000235SRST
236 ``info tlb``
237 Show virtual to physical memory mappings.
238ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300239
Bin Mengdf42fdd2019-08-14 08:33:32 -0700240#if defined(TARGET_I386) || defined(TARGET_RISCV)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300241 {
242 .name = "mem",
243 .args_type = "",
244 .params = "",
245 .help = "show the active virtual memory mappings",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400246 .cmd = hmp_info_mem,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300247 },
248#endif
249
Peter Maydella12e74c2020-02-28 15:36:07 +0000250SRST
251 ``info mem``
252 Show the active virtual memory mappings.
253ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300254
255 {
256 .name = "mtree",
Alexey Kardashevskiyfc051ae2018-06-04 13:25:11 +1000257 .args_type = "flatview:-f,dispatch_tree:-d,owner:-o",
258 .params = "[-f][-d][-o]",
Alexey Kardashevskiy5e8fd942017-09-21 18:51:06 +1000259 .help = "show memory tree (-f: dump flat view for address spaces;"
Alexey Kardashevskiyfc051ae2018-06-04 13:25:11 +1000260 "-d: dump dispatch tree, valid with -f only);"
261 "-o: dump region owners/parents",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400262 .cmd = hmp_info_mtree,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300263 },
264
Peter Maydella12e74c2020-02-28 15:36:07 +0000265SRST
266 ``info mtree``
267 Show memory tree.
268ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300269
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200270#if defined(CONFIG_TCG)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300271 {
272 .name = "jit",
273 .args_type = "",
274 .params = "",
275 .help = "show dynamic compiler info",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400276 .cmd = hmp_info_jit,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300277 },
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200278#endif
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300279
Peter Maydella12e74c2020-02-28 15:36:07 +0000280SRST
281 ``info jit``
282 Show dynamic compiler info.
283ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300284
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
Peter Maydella12e74c2020-02-28 15:36:07 +0000295SRST
296 ``info opcount``
297 Show dynamic compiler opcode counters
298ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300299
300 {
Emilio G. Cota97bfafe2017-08-08 13:54:42 -0400301 .name = "sync-profile",
302 .args_type = "mean:-m,no_coalesce:-n,max:i?",
303 .params = "[-m] [-n] [max]",
304 .help = "show synchronization profiling info, up to max entries "
305 "(default: 10), sorted by total wait time. (-m: sort by "
306 "mean wait time; -n: do not coalesce objects with the "
307 "same call site)",
308 .cmd = hmp_info_sync_profile,
309 },
310
Peter Maydella12e74c2020-02-28 15:36:07 +0000311SRST
312 ``info sync-profile [-m|-n]`` [*max*]
313 Show synchronization profiling info, up to *max* entries (default: 10),
314 sorted by total wait time.
315
316 ``-m``
317 sort by mean wait time
318 ``-n``
319 do not coalesce objects with the same call site
320
321 When different objects that share the same call site are coalesced,
322 the "Object" field shows---enclosed in brackets---the number of objects
323 being coalesced.
324ERST
Emilio G. Cota97bfafe2017-08-08 13:54:42 -0400325
326 {
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300327 .name = "kvm",
328 .args_type = "",
329 .params = "",
330 .help = "show KVM information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400331 .cmd = hmp_info_kvm,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300332 },
333
Peter Maydella12e74c2020-02-28 15:36:07 +0000334SRST
335 ``info kvm``
336 Show KVM information.
337ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300338
339 {
340 .name = "numa",
341 .args_type = "",
342 .params = "",
343 .help = "show NUMA information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400344 .cmd = hmp_info_numa,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300345 },
346
Peter Maydella12e74c2020-02-28 15:36:07 +0000347SRST
348 ``info numa``
349 Show NUMA information.
350ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300351
352 {
353 .name = "usb",
354 .args_type = "",
355 .params = "",
356 .help = "show guest USB devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400357 .cmd = hmp_info_usb,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300358 },
359
Peter Maydella12e74c2020-02-28 15:36:07 +0000360SRST
361 ``info usb``
362 Show guest USB devices.
363ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300364
365 {
366 .name = "usbhost",
367 .args_type = "",
368 .params = "",
369 .help = "show host USB devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400370 .cmd = hmp_info_usbhost,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300371 },
372
Peter Maydella12e74c2020-02-28 15:36:07 +0000373SRST
374 ``info usbhost``
375 Show host USB devices.
376ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300377
378 {
379 .name = "profile",
380 .args_type = "",
381 .params = "",
382 .help = "show profiling information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400383 .cmd = hmp_info_profile,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300384 },
385
Peter Maydella12e74c2020-02-28 15:36:07 +0000386SRST
387 ``info profile``
388 Show profiling information.
389ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300390
391 {
392 .name = "capture",
393 .args_type = "",
394 .params = "",
395 .help = "show capture information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400396 .cmd = hmp_info_capture,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300397 },
398
Peter Maydella12e74c2020-02-28 15:36:07 +0000399SRST
400 ``info capture``
401 Show capture information.
402ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300403
404 {
405 .name = "snapshots",
406 .args_type = "",
407 .params = "",
408 .help = "show the currently saved VM snapshots",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400409 .cmd = hmp_info_snapshots,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300410 },
411
Peter Maydella12e74c2020-02-28 15:36:07 +0000412SRST
413 ``info snapshots``
414 Show the currently saved VM snapshots.
415ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300416
417 {
418 .name = "status",
419 .args_type = "",
420 .params = "",
421 .help = "show the current VM status (running|paused)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400422 .cmd = hmp_info_status,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100423 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300424 },
425
Peter Maydella12e74c2020-02-28 15:36:07 +0000426SRST
427 ``info status``
428 Show the current VM status (running|paused).
429ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300430
431 {
432 .name = "mice",
433 .args_type = "",
434 .params = "",
435 .help = "show which guest mouse is receiving events",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400436 .cmd = hmp_info_mice,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300437 },
438
Peter Maydella12e74c2020-02-28 15:36:07 +0000439SRST
440 ``info mice``
441 Show which guest mouse is receiving events.
442ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300443
Marc-André Lureau05eb4a22018-07-03 17:56:47 +0200444#if defined(CONFIG_VNC)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300445 {
446 .name = "vnc",
447 .args_type = "",
448 .params = "",
449 .help = "show the vnc server status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400450 .cmd = hmp_info_vnc,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300451 },
Marc-André Lureau05eb4a22018-07-03 17:56:47 +0200452#endif
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300453
Peter Maydella12e74c2020-02-28 15:36:07 +0000454SRST
455 ``info vnc``
456 Show the vnc server status.
457ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300458
459#if defined(CONFIG_SPICE)
460 {
461 .name = "spice",
462 .args_type = "",
463 .params = "",
464 .help = "show the spice server status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400465 .cmd = hmp_info_spice,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300466 },
467#endif
468
Peter Maydella12e74c2020-02-28 15:36:07 +0000469SRST
470 ``info spice``
471 Show the spice server status.
472ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300473
474 {
475 .name = "name",
476 .args_type = "",
477 .params = "",
478 .help = "show the current VM name",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400479 .cmd = hmp_info_name,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100480 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300481 },
482
Peter Maydella12e74c2020-02-28 15:36:07 +0000483SRST
484 ``info name``
485 Show the current VM name.
486ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300487
488 {
489 .name = "uuid",
490 .args_type = "",
491 .params = "",
492 .help = "show the current VM UUID",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400493 .cmd = hmp_info_uuid,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100494 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300495 },
496
Peter Maydella12e74c2020-02-28 15:36:07 +0000497SRST
498 ``info uuid``
499 Show the current VM UUID.
500ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300501
502 {
503 .name = "cpustats",
504 .args_type = "",
505 .params = "",
506 .help = "show CPU statistics",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400507 .cmd = hmp_info_cpustats,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300508 },
509
Peter Maydella12e74c2020-02-28 15:36:07 +0000510SRST
511 ``info cpustats``
512 Show CPU statistics.
513ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300514
515#if defined(CONFIG_SLIRP)
516 {
517 .name = "usernet",
518 .args_type = "",
519 .params = "",
520 .help = "show user network stack connection states",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400521 .cmd = hmp_info_usernet,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300522 },
523#endif
524
Peter Maydella12e74c2020-02-28 15:36:07 +0000525SRST
526 ``info usernet``
527 Show user network stack connection states.
528ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300529
530 {
531 .name = "migrate",
532 .args_type = "",
533 .params = "",
534 .help = "show migration status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400535 .cmd = hmp_info_migrate,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300536 },
537
Peter Maydella12e74c2020-02-28 15:36:07 +0000538SRST
539 ``info migrate``
540 Show migration status.
541ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300542
543 {
544 .name = "migrate_capabilities",
545 .args_type = "",
546 .params = "",
547 .help = "show current migration capabilities",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400548 .cmd = hmp_info_migrate_capabilities,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300549 },
550
Peter Maydella12e74c2020-02-28 15:36:07 +0000551SRST
552 ``info migrate_capabilities``
553 Show current migration capabilities.
554ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300555
556 {
557 .name = "migrate_parameters",
558 .args_type = "",
559 .params = "",
560 .help = "show current migration parameters",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400561 .cmd = hmp_info_migrate_parameters,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300562 },
563
Peter Maydella12e74c2020-02-28 15:36:07 +0000564SRST
565 ``info migrate_parameters``
566 Show current migration parameters.
567ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300568
569 {
570 .name = "migrate_cache_size",
571 .args_type = "",
572 .params = "",
573 .help = "show current migration xbzrle cache size",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400574 .cmd = hmp_info_migrate_cache_size,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300575 },
576
Peter Maydella12e74c2020-02-28 15:36:07 +0000577SRST
578 ``info migrate_cache_size``
579 Show current migration xbzrle cache size.
580ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300581
582 {
583 .name = "balloon",
584 .args_type = "",
585 .params = "",
586 .help = "show balloon information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400587 .cmd = hmp_info_balloon,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300588 },
589
Peter Maydella12e74c2020-02-28 15:36:07 +0000590SRST
591 ``info balloon``
592 Show balloon information.
593ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300594
595 {
596 .name = "qtree",
597 .args_type = "",
598 .params = "",
599 .help = "show device tree",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400600 .cmd = hmp_info_qtree,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300601 },
602
Peter Maydella12e74c2020-02-28 15:36:07 +0000603SRST
604 ``info qtree``
605 Show device tree.
606ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300607
608 {
609 .name = "qdm",
610 .args_type = "",
611 .params = "",
612 .help = "show qdev device model list",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400613 .cmd = hmp_info_qdm,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300614 },
615
Peter Maydella12e74c2020-02-28 15:36:07 +0000616SRST
617 ``info qdm``
618 Show qdev device model list.
619ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300620
621 {
622 .name = "qom-tree",
623 .args_type = "path:s?",
624 .params = "[path]",
625 .help = "show QOM composition tree",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400626 .cmd = hmp_info_qom_tree,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100627 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300628 },
629
Peter Maydella12e74c2020-02-28 15:36:07 +0000630SRST
631 ``info qom-tree``
632 Show QOM composition tree.
633ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300634
635 {
636 .name = "roms",
637 .args_type = "",
638 .params = "",
639 .help = "show roms",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400640 .cmd = hmp_info_roms,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300641 },
642
Peter Maydella12e74c2020-02-28 15:36:07 +0000643SRST
644 ``info roms``
645 Show roms.
646ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300647
648 {
649 .name = "trace-events",
Lluís Vilanova77e2b172016-07-11 12:53:57 +0200650 .args_type = "name:s?,vcpu:i?",
651 .params = "[name] [vcpu]",
Lluís Vilanovabd712112016-07-11 12:53:51 +0200652 .help = "show available trace-events & their state "
Lluís Vilanova77e2b172016-07-11 12:53:57 +0200653 "(name: event name pattern; vcpu: vCPU to query, default is any)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400654 .cmd = hmp_info_trace_events,
Lluís Vilanovabd712112016-07-11 12:53:51 +0200655 .command_completion = info_trace_events_completion,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300656 },
657
Peter Maydella12e74c2020-02-28 15:36:07 +0000658SRST
659 ``info trace-events``
660 Show available trace-events & their state.
661ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300662
663 {
664 .name = "tpm",
665 .args_type = "",
666 .params = "",
667 .help = "show the TPM device",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400668 .cmd = hmp_info_tpm,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300669 },
670
Peter Maydella12e74c2020-02-28 15:36:07 +0000671SRST
672 ``info tpm``
673 Show the TPM device.
674ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300675
676 {
677 .name = "memdev",
678 .args_type = "",
679 .params = "",
680 .help = "show memory backends",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400681 .cmd = hmp_info_memdev,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100682 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300683 },
684
Peter Maydella12e74c2020-02-28 15:36:07 +0000685SRST
686 ``info memdev``
687 Show memory backends
688ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300689
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
Peter Maydella12e74c2020-02-28 15:36:07 +0000698SRST
699 ``info memory-devices``
700 Show memory devices.
701ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300702
703 {
704 .name = "iothreads",
705 .args_type = "",
706 .params = "",
707 .help = "show iothreads",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400708 .cmd = hmp_info_iothreads,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100709 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300710 },
711
Peter Maydella12e74c2020-02-28 15:36:07 +0000712SRST
713 ``info iothreads``
714 Show iothread's identifiers.
715ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300716
717 {
718 .name = "rocker",
719 .args_type = "name:s",
720 .params = "name",
721 .help = "Show rocker switch",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400722 .cmd = hmp_rocker,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300723 },
724
Peter Maydella12e74c2020-02-28 15:36:07 +0000725SRST
726 ``info rocker`` *name*
727 Show rocker switch.
728ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300729
730 {
731 .name = "rocker-ports",
732 .args_type = "name:s",
733 .params = "name",
734 .help = "Show rocker ports",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400735 .cmd = hmp_rocker_ports,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300736 },
737
Peter Maydella12e74c2020-02-28 15:36:07 +0000738SRST
739 ``info rocker-ports`` *name*-ports
740 Show rocker ports.
741ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300742
743 {
744 .name = "rocker-of-dpa-flows",
745 .args_type = "name:s,tbl_id:i?",
746 .params = "name [tbl_id]",
747 .help = "Show rocker OF-DPA flow tables",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400748 .cmd = hmp_rocker_of_dpa_flows,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300749 },
750
Peter Maydella12e74c2020-02-28 15:36:07 +0000751SRST
752 ``info rocker-of-dpa-flows`` *name* [*tbl_id*]
753 Show rocker OF-DPA flow tables.
754ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300755
756 {
757 .name = "rocker-of-dpa-groups",
758 .args_type = "name:s,type:i?",
759 .params = "name [type]",
760 .help = "Show rocker OF-DPA groups",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400761 .cmd = hmp_rocker_of_dpa_groups,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300762 },
763
Peter Maydella12e74c2020-02-28 15:36:07 +0000764SRST
765 ``info rocker-of-dpa-groups`` *name* [*type*]
766 Show rocker OF-DPA groups.
767ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300768
769#if defined(TARGET_S390X)
770 {
771 .name = "skeys",
772 .args_type = "addr:l",
773 .params = "address",
774 .help = "Display the value of a storage key",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400775 .cmd = hmp_info_skeys,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300776 },
777#endif
778
Peter Maydella12e74c2020-02-28 15:36:07 +0000779SRST
780 ``info skeys`` *address*
781 Display the value of a storage key (s390 only)
782ERST
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300783
Claudio Imbrendaf860d492016-08-15 18:44:04 +0200784#if defined(TARGET_S390X)
785 {
786 .name = "cmma",
787 .args_type = "addr:l,count:l?",
788 .params = "address [count]",
789 .help = "Display the values of the CMMA storage attributes for a range of pages",
790 .cmd = hmp_info_cmma,
791 },
792#endif
793
Peter Maydella12e74c2020-02-28 15:36:07 +0000794SRST
795 ``info cmma`` *address*
796 Display the values of the CMMA storage attributes for a range of
797 pages (s390 only)
798ERST
Claudio Imbrendaf860d492016-08-15 18:44:04 +0200799
Peter Xu4a6b52d2016-02-18 13:16:55 +0800800 {
801 .name = "dump",
802 .args_type = "",
803 .params = "",
804 .help = "Display the latest dump status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400805 .cmd = hmp_info_dump,
Peter Xu4a6b52d2016-02-18 13:16:55 +0800806 },
807
Peter Maydella12e74c2020-02-28 15:36:07 +0000808SRST
809 ``info dump``
810 Display the latest dump status.
811ERST
Peter Xu4a6b52d2016-02-18 13:16:55 +0800812
Bharata B Raod2d8d462016-06-10 06:29:07 +0530813 {
Peter Xube9b23c2017-05-12 12:17:41 +0800814 .name = "ramblock",
815 .args_type = "",
816 .params = "",
817 .help = "Display system ramblock information",
818 .cmd = hmp_info_ramblock,
819 },
820
Peter Maydella12e74c2020-02-28 15:36:07 +0000821SRST
822 ``info ramblock``
823 Dump all the ramblocks of the system.
824ERST
Peter Xube9b23c2017-05-12 12:17:41 +0800825
826 {
Bharata B Raod2d8d462016-06-10 06:29:07 +0530827 .name = "hotpluggable-cpus",
828 .args_type = "",
829 .params = "",
830 .help = "Show information about hotpluggable CPUs",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400831 .cmd = hmp_hotpluggable_cpus,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100832 .flags = "p",
Bharata B Raod2d8d462016-06-10 06:29:07 +0530833 },
834
Peter Maydella12e74c2020-02-28 15:36:07 +0000835SRST
836 ``info hotpluggable-cpus``
837 Show information about hotpluggable CPUs
838ERST
Bharata B Raod2d8d462016-06-10 06:29:07 +0530839
Igor Mammedov39164c12017-02-16 15:15:37 -0800840 {
841 .name = "vm-generation-id",
842 .args_type = "",
843 .params = "",
844 .help = "Show Virtual Machine Generation ID",
845 .cmd = hmp_info_vm_generation_id,
846 },
847
Peter Maydella12e74c2020-02-28 15:36:07 +0000848SRST
849 ``info vm-generation-id``
850 Show Virtual Machine Generation ID
851ERST
Vadim Galitsynd0f63c12017-08-29 17:30:22 +0200852
853 {
854 .name = "memory_size_summary",
855 .args_type = "",
856 .params = "",
857 .help = "show the amount of initially allocated and "
858 "present hotpluggable (if enabled) memory in bytes.",
859 .cmd = hmp_info_memory_size_summary,
860 },
861
Peter Maydella12e74c2020-02-28 15:36:07 +0000862SRST
863 ``info memory_size_summary``
864 Display the amount of initially allocated and present hotpluggable (if
865 enabled) memory in bytes.
866ERST
Markus Armbrustera9272512017-10-02 15:45:37 +0200867
Brijesh Singh63036312018-03-08 06:48:47 -0600868#if defined(TARGET_I386)
869 {
870 .name = "sev",
871 .args_type = "",
872 .params = "",
873 .help = "show SEV information",
874 .cmd = hmp_info_sev,
875 },
876#endif
877
Peter Maydella12e74c2020-02-28 15:36:07 +0000878SRST
879 ``info sev``
880 Show SEV information.
881ERST
Brijesh Singh63036312018-03-08 06:48:47 -0600882
Pavel Butsykin2cd8af22015-09-10 18:39:01 +0300883