blob: 257ee7d7a3f9249ca14e5d35016ea90fd296b355 [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
Peter Xu0cda9d82017-12-29 15:31:00 +0800204Show PIC state.
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300205ETEXI
206
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200207 {
Yuval Shaiaf4b2c022019-03-11 03:29:09 -0700208 .name = "rdma",
209 .args_type = "",
210 .params = "",
211 .help = "show RDMA state",
212 .cmd = hmp_info_rdma,
213 },
214
215STEXI
216@item info rdma
217@findex info rdma
218Show RDMA state.
219ETEXI
220
221 {
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200222 .name = "pci",
223 .args_type = "",
224 .params = "",
225 .help = "show PCI info",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400226 .cmd = hmp_info_pci,
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200227 },
228
229STEXI
230@item info pci
Markus Armbruster1b591702017-10-02 15:45:38 +0200231@findex info pci
Paolo Bonziniabadcbc2015-09-18 17:18:29 +0200232Show PCI information.
233ETEXI
234
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300235#if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
Laurent Vivier2097dca2018-01-18 20:38:46 +0100236 defined(TARGET_PPC) || defined(TARGET_XTENSA) || defined(TARGET_M68K)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300237 {
238 .name = "tlb",
239 .args_type = "",
240 .params = "",
241 .help = "show virtual to physical memory mappings",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400242 .cmd = hmp_info_tlb,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300243 },
244#endif
245
246STEXI
247@item info tlb
Markus Armbruster1b591702017-10-02 15:45:38 +0200248@findex info tlb
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300249Show virtual to physical memory mappings.
250ETEXI
251
Bin Mengdf42fdd2019-08-14 08:33:32 -0700252#if defined(TARGET_I386) || defined(TARGET_RISCV)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300253 {
254 .name = "mem",
255 .args_type = "",
256 .params = "",
257 .help = "show the active virtual memory mappings",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400258 .cmd = hmp_info_mem,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300259 },
260#endif
261
262STEXI
263@item info mem
Markus Armbruster1b591702017-10-02 15:45:38 +0200264@findex info mem
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300265Show the active virtual memory mappings.
266ETEXI
267
268 {
269 .name = "mtree",
Alexey Kardashevskiyfc051ae2018-06-04 13:25:11 +1000270 .args_type = "flatview:-f,dispatch_tree:-d,owner:-o",
271 .params = "[-f][-d][-o]",
Alexey Kardashevskiy5e8fd942017-09-21 18:51:06 +1000272 .help = "show memory tree (-f: dump flat view for address spaces;"
Alexey Kardashevskiyfc051ae2018-06-04 13:25:11 +1000273 "-d: dump dispatch tree, valid with -f only);"
274 "-o: dump region owners/parents",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400275 .cmd = hmp_info_mtree,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300276 },
277
278STEXI
279@item info mtree
Markus Armbruster1b591702017-10-02 15:45:38 +0200280@findex info mtree
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300281Show memory tree.
282ETEXI
283
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200284#if defined(CONFIG_TCG)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300285 {
286 .name = "jit",
287 .args_type = "",
288 .params = "",
289 .help = "show dynamic compiler info",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400290 .cmd = hmp_info_jit,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300291 },
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200292#endif
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300293
294STEXI
295@item info jit
Markus Armbruster1b591702017-10-02 15:45:38 +0200296@findex info jit
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300297Show dynamic compiler info.
298ETEXI
299
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200300#if defined(CONFIG_TCG)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300301 {
302 .name = "opcount",
303 .args_type = "",
304 .params = "",
305 .help = "show dynamic compiler opcode counters",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400306 .cmd = hmp_info_opcount,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300307 },
Paolo Bonzinif0d14a92012-09-17 13:42:41 +0200308#endif
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300309
310STEXI
311@item info opcount
Markus Armbruster1b591702017-10-02 15:45:38 +0200312@findex info opcount
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300313Show dynamic compiler opcode counters
314ETEXI
315
316 {
Emilio G. Cota97bfafe2017-08-08 13:54:42 -0400317 .name = "sync-profile",
318 .args_type = "mean:-m,no_coalesce:-n,max:i?",
319 .params = "[-m] [-n] [max]",
320 .help = "show synchronization profiling info, up to max entries "
321 "(default: 10), sorted by total wait time. (-m: sort by "
322 "mean wait time; -n: do not coalesce objects with the "
323 "same call site)",
324 .cmd = hmp_info_sync_profile,
325 },
326
327STEXI
328@item info sync-profile [-m|-n] [@var{max}]
329@findex info sync-profile
330Show synchronization profiling info, up to @var{max} entries (default: 10),
331sorted by total wait time.
332 -m: sort by mean wait time
333 -n: do not coalesce objects with the same call site
334When different objects that share the same call site are coalesced, the "Object"
335field shows---enclosed in brackets---the number of objects being coalesced.
336ETEXI
337
338 {
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300339 .name = "kvm",
340 .args_type = "",
341 .params = "",
342 .help = "show KVM information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400343 .cmd = hmp_info_kvm,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300344 },
345
346STEXI
347@item info kvm
Markus Armbruster1b591702017-10-02 15:45:38 +0200348@findex info kvm
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300349Show KVM information.
350ETEXI
351
352 {
353 .name = "numa",
354 .args_type = "",
355 .params = "",
356 .help = "show NUMA information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400357 .cmd = hmp_info_numa,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300358 },
359
360STEXI
361@item info numa
Markus Armbruster1b591702017-10-02 15:45:38 +0200362@findex info numa
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300363Show NUMA information.
364ETEXI
365
366 {
367 .name = "usb",
368 .args_type = "",
369 .params = "",
370 .help = "show guest USB devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400371 .cmd = hmp_info_usb,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300372 },
373
374STEXI
375@item info usb
Markus Armbruster1b591702017-10-02 15:45:38 +0200376@findex info usb
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300377Show guest USB devices.
378ETEXI
379
380 {
381 .name = "usbhost",
382 .args_type = "",
383 .params = "",
384 .help = "show host USB devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400385 .cmd = hmp_info_usbhost,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300386 },
387
388STEXI
389@item info usbhost
Markus Armbruster1b591702017-10-02 15:45:38 +0200390@findex info usbhost
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300391Show host USB devices.
392ETEXI
393
394 {
395 .name = "profile",
396 .args_type = "",
397 .params = "",
398 .help = "show profiling information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400399 .cmd = hmp_info_profile,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300400 },
401
402STEXI
403@item info profile
Markus Armbruster1b591702017-10-02 15:45:38 +0200404@findex info profile
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300405Show profiling information.
406ETEXI
407
408 {
409 .name = "capture",
410 .args_type = "",
411 .params = "",
412 .help = "show capture information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400413 .cmd = hmp_info_capture,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300414 },
415
416STEXI
417@item info capture
Markus Armbruster1b591702017-10-02 15:45:38 +0200418@findex info capture
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300419Show capture information.
420ETEXI
421
422 {
423 .name = "snapshots",
424 .args_type = "",
425 .params = "",
426 .help = "show the currently saved VM snapshots",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400427 .cmd = hmp_info_snapshots,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300428 },
429
430STEXI
431@item info snapshots
Markus Armbruster1b591702017-10-02 15:45:38 +0200432@findex info snapshots
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300433Show the currently saved VM snapshots.
434ETEXI
435
436 {
437 .name = "status",
438 .args_type = "",
439 .params = "",
440 .help = "show the current VM status (running|paused)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400441 .cmd = hmp_info_status,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100442 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300443 },
444
445STEXI
446@item info status
Markus Armbruster1b591702017-10-02 15:45:38 +0200447@findex info status
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300448Show the current VM status (running|paused).
449ETEXI
450
451 {
452 .name = "mice",
453 .args_type = "",
454 .params = "",
455 .help = "show which guest mouse is receiving events",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400456 .cmd = hmp_info_mice,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300457 },
458
459STEXI
460@item info mice
Markus Armbruster1b591702017-10-02 15:45:38 +0200461@findex info mice
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300462Show which guest mouse is receiving events.
463ETEXI
464
Marc-André Lureau05eb4a22018-07-03 17:56:47 +0200465#if defined(CONFIG_VNC)
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300466 {
467 .name = "vnc",
468 .args_type = "",
469 .params = "",
470 .help = "show the vnc server status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400471 .cmd = hmp_info_vnc,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300472 },
Marc-André Lureau05eb4a22018-07-03 17:56:47 +0200473#endif
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300474
475STEXI
476@item info vnc
Markus Armbruster1b591702017-10-02 15:45:38 +0200477@findex info vnc
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300478Show the vnc server status.
479ETEXI
480
481#if defined(CONFIG_SPICE)
482 {
483 .name = "spice",
484 .args_type = "",
485 .params = "",
486 .help = "show the spice server status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400487 .cmd = hmp_info_spice,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300488 },
489#endif
490
491STEXI
492@item info spice
Markus Armbruster1b591702017-10-02 15:45:38 +0200493@findex info spice
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300494Show the spice server status.
495ETEXI
496
497 {
498 .name = "name",
499 .args_type = "",
500 .params = "",
501 .help = "show the current VM name",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400502 .cmd = hmp_info_name,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100503 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300504 },
505
506STEXI
507@item info name
Markus Armbruster1b591702017-10-02 15:45:38 +0200508@findex info name
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300509Show the current VM name.
510ETEXI
511
512 {
513 .name = "uuid",
514 .args_type = "",
515 .params = "",
516 .help = "show the current VM UUID",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400517 .cmd = hmp_info_uuid,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100518 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300519 },
520
521STEXI
522@item info uuid
Markus Armbruster1b591702017-10-02 15:45:38 +0200523@findex info uuid
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300524Show the current VM UUID.
525ETEXI
526
527 {
528 .name = "cpustats",
529 .args_type = "",
530 .params = "",
531 .help = "show CPU statistics",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400532 .cmd = hmp_info_cpustats,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300533 },
534
535STEXI
536@item info cpustats
Markus Armbruster1b591702017-10-02 15:45:38 +0200537@findex info cpustats
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300538Show CPU statistics.
539ETEXI
540
541#if defined(CONFIG_SLIRP)
542 {
543 .name = "usernet",
544 .args_type = "",
545 .params = "",
546 .help = "show user network stack connection states",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400547 .cmd = hmp_info_usernet,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300548 },
549#endif
550
551STEXI
552@item info usernet
Markus Armbruster1b591702017-10-02 15:45:38 +0200553@findex info usernet
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300554Show user network stack connection states.
555ETEXI
556
557 {
558 .name = "migrate",
559 .args_type = "",
560 .params = "",
561 .help = "show migration status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400562 .cmd = hmp_info_migrate,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300563 },
564
565STEXI
566@item info migrate
Markus Armbruster1b591702017-10-02 15:45:38 +0200567@findex info migrate
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300568Show migration status.
569ETEXI
570
571 {
572 .name = "migrate_capabilities",
573 .args_type = "",
574 .params = "",
575 .help = "show current migration capabilities",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400576 .cmd = hmp_info_migrate_capabilities,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300577 },
578
579STEXI
580@item info migrate_capabilities
Markus Armbruster1b591702017-10-02 15:45:38 +0200581@findex info migrate_capabilities
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300582Show current migration capabilities.
583ETEXI
584
585 {
586 .name = "migrate_parameters",
587 .args_type = "",
588 .params = "",
589 .help = "show current migration parameters",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400590 .cmd = hmp_info_migrate_parameters,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300591 },
592
593STEXI
594@item info migrate_parameters
Markus Armbruster1b591702017-10-02 15:45:38 +0200595@findex info migrate_parameters
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300596Show current migration parameters.
597ETEXI
598
599 {
600 .name = "migrate_cache_size",
601 .args_type = "",
602 .params = "",
603 .help = "show current migration xbzrle cache size",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400604 .cmd = hmp_info_migrate_cache_size,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300605 },
606
607STEXI
608@item info migrate_cache_size
Markus Armbruster1b591702017-10-02 15:45:38 +0200609@findex info migrate_cache_size
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300610Show current migration xbzrle cache size.
611ETEXI
612
613 {
614 .name = "balloon",
615 .args_type = "",
616 .params = "",
617 .help = "show balloon information",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400618 .cmd = hmp_info_balloon,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300619 },
620
621STEXI
622@item info balloon
Markus Armbruster1b591702017-10-02 15:45:38 +0200623@findex info balloon
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300624Show balloon information.
625ETEXI
626
627 {
628 .name = "qtree",
629 .args_type = "",
630 .params = "",
631 .help = "show device tree",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400632 .cmd = hmp_info_qtree,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300633 },
634
635STEXI
636@item info qtree
Markus Armbruster1b591702017-10-02 15:45:38 +0200637@findex info qtree
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300638Show device tree.
639ETEXI
640
641 {
642 .name = "qdm",
643 .args_type = "",
644 .params = "",
645 .help = "show qdev device model list",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400646 .cmd = hmp_info_qdm,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300647 },
648
649STEXI
650@item info qdm
Markus Armbruster1b591702017-10-02 15:45:38 +0200651@findex info qdm
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300652Show qdev device model list.
653ETEXI
654
655 {
656 .name = "qom-tree",
657 .args_type = "path:s?",
658 .params = "[path]",
659 .help = "show QOM composition tree",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400660 .cmd = hmp_info_qom_tree,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100661 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300662 },
663
664STEXI
665@item info qom-tree
Markus Armbruster1b591702017-10-02 15:45:38 +0200666@findex info qom-tree
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300667Show QOM composition tree.
668ETEXI
669
670 {
671 .name = "roms",
672 .args_type = "",
673 .params = "",
674 .help = "show roms",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400675 .cmd = hmp_info_roms,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300676 },
677
678STEXI
679@item info roms
Markus Armbruster1b591702017-10-02 15:45:38 +0200680@findex info roms
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300681Show roms.
682ETEXI
683
684 {
685 .name = "trace-events",
Lluís Vilanova77e2b172016-07-11 12:53:57 +0200686 .args_type = "name:s?,vcpu:i?",
687 .params = "[name] [vcpu]",
Lluís Vilanovabd712112016-07-11 12:53:51 +0200688 .help = "show available trace-events & their state "
Lluís Vilanova77e2b172016-07-11 12:53:57 +0200689 "(name: event name pattern; vcpu: vCPU to query, default is any)",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400690 .cmd = hmp_info_trace_events,
Lluís Vilanovabd712112016-07-11 12:53:51 +0200691 .command_completion = info_trace_events_completion,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300692 },
693
694STEXI
695@item info trace-events
Markus Armbruster1b591702017-10-02 15:45:38 +0200696@findex info trace-events
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300697Show available trace-events & their state.
698ETEXI
699
700 {
701 .name = "tpm",
702 .args_type = "",
703 .params = "",
704 .help = "show the TPM device",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400705 .cmd = hmp_info_tpm,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300706 },
707
708STEXI
709@item info tpm
Markus Armbruster1b591702017-10-02 15:45:38 +0200710@findex info tpm
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300711Show the TPM device.
712ETEXI
713
714 {
715 .name = "memdev",
716 .args_type = "",
717 .params = "",
718 .help = "show memory backends",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400719 .cmd = hmp_info_memdev,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100720 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300721 },
722
723STEXI
724@item info memdev
Markus Armbruster1b591702017-10-02 15:45:38 +0200725@findex info memdev
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300726Show memory backends
727ETEXI
728
729 {
730 .name = "memory-devices",
731 .args_type = "",
732 .params = "",
733 .help = "show memory devices",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400734 .cmd = hmp_info_memory_devices,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300735 },
736
737STEXI
738@item info memory-devices
Markus Armbruster1b591702017-10-02 15:45:38 +0200739@findex info memory-devices
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300740Show memory devices.
741ETEXI
742
743 {
744 .name = "iothreads",
745 .args_type = "",
746 .params = "",
747 .help = "show iothreads",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400748 .cmd = hmp_info_iothreads,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100749 .flags = "p",
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300750 },
751
752STEXI
753@item info iothreads
Markus Armbruster1b591702017-10-02 15:45:38 +0200754@findex info iothreads
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300755Show iothread's identifiers.
756ETEXI
757
758 {
759 .name = "rocker",
760 .args_type = "name:s",
761 .params = "name",
762 .help = "Show rocker switch",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400763 .cmd = hmp_rocker,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300764 },
765
766STEXI
767@item info rocker @var{name}
Markus Armbruster1b591702017-10-02 15:45:38 +0200768@findex info rocker
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300769Show rocker switch.
770ETEXI
771
772 {
773 .name = "rocker-ports",
774 .args_type = "name:s",
775 .params = "name",
776 .help = "Show rocker ports",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400777 .cmd = hmp_rocker_ports,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300778 },
779
780STEXI
Markus Armbrusterc325ccd2017-10-02 15:45:36 +0200781@item info rocker-ports @var{name}-ports
Markus Armbruster1b591702017-10-02 15:45:38 +0200782@findex info rocker-ports
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300783Show rocker ports.
784ETEXI
785
786 {
787 .name = "rocker-of-dpa-flows",
788 .args_type = "name:s,tbl_id:i?",
789 .params = "name [tbl_id]",
790 .help = "Show rocker OF-DPA flow tables",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400791 .cmd = hmp_rocker_of_dpa_flows,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300792 },
793
794STEXI
Markus Armbrusterc325ccd2017-10-02 15:45:36 +0200795@item info rocker-of-dpa-flows @var{name} [@var{tbl_id}]
Markus Armbruster1b591702017-10-02 15:45:38 +0200796@findex info rocker-of-dpa-flows
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300797Show rocker OF-DPA flow tables.
798ETEXI
799
800 {
801 .name = "rocker-of-dpa-groups",
802 .args_type = "name:s,type:i?",
803 .params = "name [type]",
804 .help = "Show rocker OF-DPA groups",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400805 .cmd = hmp_rocker_of_dpa_groups,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300806 },
807
808STEXI
809@item info rocker-of-dpa-groups @var{name} [@var{type}]
Markus Armbruster1b591702017-10-02 15:45:38 +0200810@findex info rocker-of-dpa-groups
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300811Show rocker OF-DPA groups.
812ETEXI
813
814#if defined(TARGET_S390X)
815 {
816 .name = "skeys",
817 .args_type = "addr:l",
818 .params = "address",
819 .help = "Display the value of a storage key",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400820 .cmd = hmp_info_skeys,
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300821 },
822#endif
823
824STEXI
825@item info skeys @var{address}
Markus Armbruster1b591702017-10-02 15:45:38 +0200826@findex info skeys
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300827Display the value of a storage key (s390 only)
828ETEXI
829
Claudio Imbrendaf860d492016-08-15 18:44:04 +0200830#if defined(TARGET_S390X)
831 {
832 .name = "cmma",
833 .args_type = "addr:l,count:l?",
834 .params = "address [count]",
835 .help = "Display the values of the CMMA storage attributes for a range of pages",
836 .cmd = hmp_info_cmma,
837 },
838#endif
839
840STEXI
841@item info cmma @var{address}
Markus Armbruster1b591702017-10-02 15:45:38 +0200842@findex info cmma
Claudio Imbrendaf860d492016-08-15 18:44:04 +0200843Display the values of the CMMA storage attributes for a range of pages (s390 only)
844ETEXI
845
Peter Xu4a6b52d2016-02-18 13:16:55 +0800846 {
847 .name = "dump",
848 .args_type = "",
849 .params = "",
850 .help = "Display the latest dump status",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400851 .cmd = hmp_info_dump,
Peter Xu4a6b52d2016-02-18 13:16:55 +0800852 },
853
854STEXI
855@item info dump
Markus Armbruster1b591702017-10-02 15:45:38 +0200856@findex info dump
Peter Xu4a6b52d2016-02-18 13:16:55 +0800857Display the latest dump status.
858ETEXI
859
Bharata B Raod2d8d462016-06-10 06:29:07 +0530860 {
Peter Xube9b23c2017-05-12 12:17:41 +0800861 .name = "ramblock",
862 .args_type = "",
863 .params = "",
864 .help = "Display system ramblock information",
865 .cmd = hmp_info_ramblock,
866 },
867
868STEXI
869@item info ramblock
Markus Armbruster1b591702017-10-02 15:45:38 +0200870@findex info ramblock
Peter Xube9b23c2017-05-12 12:17:41 +0800871Dump all the ramblocks of the system.
872ETEXI
873
874 {
Bharata B Raod2d8d462016-06-10 06:29:07 +0530875 .name = "hotpluggable-cpus",
876 .args_type = "",
877 .params = "",
878 .help = "Show information about hotpluggable CPUs",
Marc-André Lureau2b9e3572016-09-12 13:19:06 +0400879 .cmd = hmp_hotpluggable_cpus,
Dr. David Alan Gilbert8c7c7ec2018-06-20 16:39:45 +0100880 .flags = "p",
Bharata B Raod2d8d462016-06-10 06:29:07 +0530881 },
882
883STEXI
884@item info hotpluggable-cpus
Markus Armbruster1b591702017-10-02 15:45:38 +0200885@findex info hotpluggable-cpus
Bharata B Raod2d8d462016-06-10 06:29:07 +0530886Show information about hotpluggable CPUs
887ETEXI
888
Igor Mammedov39164c12017-02-16 15:15:37 -0800889 {
890 .name = "vm-generation-id",
891 .args_type = "",
892 .params = "",
893 .help = "Show Virtual Machine Generation ID",
894 .cmd = hmp_info_vm_generation_id,
895 },
896
897STEXI
Markus Armbrustera9272512017-10-02 15:45:37 +0200898@item info vm-generation-id
Markus Armbruster1b591702017-10-02 15:45:38 +0200899@findex info vm-generation-id
Markus Armbrustera9272512017-10-02 15:45:37 +0200900Show Virtual Machine Generation ID
Vadim Galitsynd0f63c12017-08-29 17:30:22 +0200901ETEXI
902
903 {
904 .name = "memory_size_summary",
905 .args_type = "",
906 .params = "",
907 .help = "show the amount of initially allocated and "
908 "present hotpluggable (if enabled) memory in bytes.",
909 .cmd = hmp_info_memory_size_summary,
910 },
911
912STEXI
Markus Armbrustera9272512017-10-02 15:45:37 +0200913@item info memory_size_summary
Markus Armbruster1b591702017-10-02 15:45:38 +0200914@findex info memory_size_summary
Markus Armbrustera9272512017-10-02 15:45:37 +0200915Display the amount of initially allocated and present hotpluggable (if
916enabled) memory in bytes.
917ETEXI
918
Brijesh Singh63036312018-03-08 06:48:47 -0600919#if defined(TARGET_I386)
920 {
921 .name = "sev",
922 .args_type = "",
923 .params = "",
924 .help = "show SEV information",
925 .cmd = hmp_info_sev,
926 },
927#endif
928
929STEXI
930@item info sev
931@findex info sev
932Show SEV information.
933ETEXI
934
Markus Armbrustera9272512017-10-02 15:45:37 +0200935STEXI
Pavel Butsykinda76ee72015-09-10 18:38:58 +0300936@end table
937ETEXI
Pavel Butsykin2cd8af22015-09-10 18:39:01 +0300938
939STEXI
940@end table
941ETEXI