]> git.proxmox.com Git - qemu.git/blame - hmp-commands.hx
qapi: Convert expire_password
[qemu.git] / hmp-commands.hx
CommitLineData
2313086a
BS
1HXCOMM 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 commands
6HXCOMM HXCOMM can be used for comments, discarded from both texi and C
7
8STEXI
9@table @option
10ETEXI
11
d7f9b689
LC
12 {
13 .name = "help|?",
14 .args_type = "name:s?",
d7f9b689
LC
15 .params = "[cmd]",
16 .help = "show the help",
af4ce882 17 .mhandler.cmd = do_help_cmd,
d7f9b689
LC
18 },
19
2313086a
BS
20STEXI
21@item help or ? [@var{cmd}]
70fcbbe7 22@findex help
2313086a
BS
23Show the help for all commands or just for command @var{cmd}.
24ETEXI
25
d7f9b689
LC
26 {
27 .name = "commit",
28 .args_type = "device:B",
d7f9b689
LC
29 .params = "device|all",
30 .help = "commit changes to the disk images (if -snapshot is used) or backing files",
af4ce882 31 .mhandler.cmd = do_commit,
d7f9b689
LC
32 },
33
2313086a
BS
34STEXI
35@item commit
70fcbbe7 36@findex commit
2313086a 37Commit changes to the disk images (if -snapshot is used) or backing files.
2313086a
BS
38ETEXI
39
d7f9b689
LC
40 {
41 .name = "q|quit",
42 .args_type = "",
d7f9b689
LC
43 .params = "",
44 .help = "quit the emulator",
b223f35f 45 .user_print = monitor_user_noop,
7a7f325e 46 .mhandler.cmd = hmp_quit,
d7f9b689
LC
47 },
48
2313086a
BS
49STEXI
50@item q or quit
70fcbbe7 51@findex quit
2313086a
BS
52Quit the emulator.
53ETEXI
54
6d4a2b3a
CH
55 {
56 .name = "block_resize",
57 .args_type = "device:B,size:o",
58 .params = "device size",
59 .help = "resize a block image",
5e7caacb 60 .mhandler.cmd = hmp_block_resize,
6d4a2b3a
CH
61 },
62
63STEXI
64@item block_resize
65@findex block_resize
66Resize a block image while a guest is running. Usually requires guest
67action to see the updated size. Resize to a lower size is supported,
68but should be used with extreme caution. Note that this command only
69resizes image files, it can not resize block devices like LVM volumes.
70ETEXI
71
72
d7f9b689
LC
73 {
74 .name = "eject",
78d714e0 75 .args_type = "force:-f,device:B",
d7f9b689
LC
76 .params = "[-f] device",
77 .help = "eject a removable medium (use -f to force it)",
e1c923a6 78 .user_print = monitor_user_noop,
261394db 79 .mhandler.cmd_new = do_eject,
d7f9b689
LC
80 },
81
2313086a
BS
82STEXI
83@item eject [-f] @var{device}
70fcbbe7 84@findex eject
2313086a 85Eject a removable medium (use -f to force it).
9063f814
RH
86ETEXI
87
88 {
89 .name = "drive_del",
90 .args_type = "id:s",
91 .params = "device",
92 .help = "remove host block device",
93 .user_print = monitor_user_noop,
94 .mhandler.cmd_new = do_drive_del,
95 },
96
97STEXI
98@item drive_del @var{device}
99@findex drive_del
100Remove host block device. The result is that guest generated IO is no longer
101submitted against the host device underlying the disk. Once a drive has
102been deleted, the QEMU Block layer returns -EIO which results in IO
103errors in the guest for applications that are reading/writing to the device.
2313086a
BS
104ETEXI
105
d7f9b689
LC
106 {
107 .name = "change",
108 .args_type = "device:B,target:F,arg:s?",
d7f9b689
LC
109 .params = "device filename [format]",
110 .help = "change a removable medium, optional format",
ec3b82af 111 .user_print = monitor_user_noop,
261394db 112 .mhandler.cmd_new = do_change,
d7f9b689
LC
113 },
114
2313086a
BS
115STEXI
116@item change @var{device} @var{setting}
70fcbbe7 117@findex change
2313086a
BS
118
119Change the configuration of a device.
120
121@table @option
122@item change @var{diskdevice} @var{filename} [@var{format}]
123Change the medium for a removable disk device to point to @var{filename}. eg
124
125@example
126(qemu) change ide1-cd0 /path/to/some.iso
127@end example
128
129@var{format} is optional.
130
131@item change vnc @var{display},@var{options}
132Change the configuration of the VNC server. The valid syntax for @var{display}
133and @var{options} are described at @ref{sec_invocation}. eg
134
135@example
136(qemu) change vnc localhost:1
137@end example
138
139@item change vnc password [@var{password}]
140
141Change the password associated with the VNC server. If the new password is not
142supplied, the monitor will prompt for it to be entered. VNC passwords are only
143significant up to 8 letters. eg
144
145@example
146(qemu) change vnc password
147Password: ********
148@end example
149
150@end table
151ETEXI
152
d7f9b689
LC
153 {
154 .name = "screendump",
155 .args_type = "filename:F",
d7f9b689
LC
156 .params = "filename",
157 .help = "save screen into PPM image 'filename'",
f1dc58e0
LC
158 .user_print = monitor_user_noop,
159 .mhandler.cmd_new = do_screen_dump,
d7f9b689
LC
160 },
161
2313086a
BS
162STEXI
163@item screendump @var{filename}
70fcbbe7 164@findex screendump
2313086a
BS
165Save screen into PPM image @var{filename}.
166ETEXI
167
d7f9b689
LC
168 {
169 .name = "logfile",
170 .args_type = "filename:F",
d7f9b689
LC
171 .params = "filename",
172 .help = "output logs to 'filename'",
af4ce882 173 .mhandler.cmd = do_logfile,
d7f9b689
LC
174 },
175
2313086a
BS
176STEXI
177@item logfile @var{filename}
70fcbbe7 178@findex logfile
2313086a
BS
179Output logs to @var{filename}.
180ETEXI
181
22890ab5
PS
182 {
183 .name = "trace-event",
184 .args_type = "name:s,option:b",
185 .params = "name on|off",
186 .help = "changes status of a specific trace event",
fc764105 187 .mhandler.cmd = do_trace_event_set_state,
22890ab5
PS
188 },
189
190STEXI
191@item trace-event
192@findex trace-event
193changes status of a trace event
c5ceb523
SH
194ETEXI
195
c45a8168 196#if defined(CONFIG_TRACE_SIMPLE)
c5ceb523
SH
197 {
198 .name = "trace-file",
199 .args_type = "op:s?,arg:F?",
200 .params = "on|off|flush|set [arg]",
201 .help = "open, close, or flush trace file, or set a new file name",
202 .mhandler.cmd = do_trace_file,
203 },
204
205STEXI
206@item trace-file on|off|flush
207@findex trace-file
208Open, close, or flush the trace file. If no argument is given, the status of the trace file is displayed.
22890ab5
PS
209ETEXI
210#endif
211
d7f9b689
LC
212 {
213 .name = "log",
214 .args_type = "items:s",
d7f9b689
LC
215 .params = "item1[,...]",
216 .help = "activate logging of the specified items to '/tmp/qemu.log'",
af4ce882 217 .mhandler.cmd = do_log,
d7f9b689
LC
218 },
219
2313086a
BS
220STEXI
221@item log @var{item1}[,...]
70fcbbe7 222@findex log
2313086a
BS
223Activate logging of the specified items to @file{/tmp/qemu.log}.
224ETEXI
225
d7f9b689
LC
226 {
227 .name = "savevm",
228 .args_type = "name:s?",
d7f9b689
LC
229 .params = "[tag|id]",
230 .help = "save a VM snapshot. If no tag or id are provided, a new snapshot is created",
af4ce882 231 .mhandler.cmd = do_savevm,
d7f9b689
LC
232 },
233
2313086a
BS
234STEXI
235@item savevm [@var{tag}|@var{id}]
70fcbbe7 236@findex savevm
2313086a
BS
237Create a snapshot of the whole virtual machine. If @var{tag} is
238provided, it is used as human readable identifier. If there is already
239a snapshot with the same tag or ID, it is replaced. More info at
240@ref{vm_snapshots}.
241ETEXI
242
d7f9b689
LC
243 {
244 .name = "loadvm",
245 .args_type = "name:s",
d7f9b689
LC
246 .params = "tag|id",
247 .help = "restore a VM snapshot from its tag or id",
af4ce882 248 .mhandler.cmd = do_loadvm,
d7f9b689
LC
249 },
250
2313086a
BS
251STEXI
252@item loadvm @var{tag}|@var{id}
70fcbbe7 253@findex loadvm
2313086a
BS
254Set the whole virtual machine to the snapshot identified by the tag
255@var{tag} or the unique snapshot ID @var{id}.
256ETEXI
257
d7f9b689
LC
258 {
259 .name = "delvm",
260 .args_type = "name:s",
d7f9b689
LC
261 .params = "tag|id",
262 .help = "delete a VM snapshot from its tag or id",
af4ce882 263 .mhandler.cmd = do_delvm,
d7f9b689
LC
264 },
265
2313086a
BS
266STEXI
267@item delvm @var{tag}|@var{id}
70fcbbe7 268@findex delvm
2313086a
BS
269Delete the snapshot identified by @var{tag} or @var{id}.
270ETEXI
271
d7f9b689
LC
272 {
273 .name = "singlestep",
274 .args_type = "option:s?",
d7f9b689
LC
275 .params = "[on|off]",
276 .help = "run emulation in singlestep mode or switch to normal mode",
af4ce882 277 .mhandler.cmd = do_singlestep,
d7f9b689
LC
278 },
279
2313086a
BS
280STEXI
281@item singlestep [off]
70fcbbe7 282@findex singlestep
2313086a
BS
283Run the emulation in single step mode.
284If called with option off, the emulation returns to normal mode.
285ETEXI
286
d7f9b689
LC
287 {
288 .name = "stop",
289 .args_type = "",
d7f9b689
LC
290 .params = "",
291 .help = "stop emulation",
5f158f21 292 .mhandler.cmd = hmp_stop,
d7f9b689
LC
293 },
294
2313086a
BS
295STEXI
296@item stop
70fcbbe7 297@findex stop
2313086a
BS
298Stop emulation.
299ETEXI
300
d7f9b689
LC
301 {
302 .name = "c|cont",
303 .args_type = "",
d7f9b689
LC
304 .params = "",
305 .help = "resume emulation",
e42e818b 306 .mhandler.cmd = hmp_cont,
d7f9b689
LC
307 },
308
2313086a
BS
309STEXI
310@item c or cont
70fcbbe7 311@findex cont
2313086a
BS
312Resume emulation.
313ETEXI
314
d7f9b689
LC
315 {
316 .name = "gdbserver",
317 .args_type = "device:s?",
d7f9b689
LC
318 .params = "[device]",
319 .help = "start gdbserver on given device (default 'tcp::1234'), stop with 'none'",
af4ce882 320 .mhandler.cmd = do_gdbserver,
d7f9b689
LC
321 },
322
2313086a
BS
323STEXI
324@item gdbserver [@var{port}]
70fcbbe7 325@findex gdbserver
2313086a
BS
326Start gdbserver session (default @var{port}=1234)
327ETEXI
328
d7f9b689
LC
329 {
330 .name = "x",
331 .args_type = "fmt:/,addr:l",
d7f9b689
LC
332 .params = "/fmt addr",
333 .help = "virtual memory dump starting at 'addr'",
af4ce882 334 .mhandler.cmd = do_memory_dump,
d7f9b689
LC
335 },
336
2313086a
BS
337STEXI
338@item x/fmt @var{addr}
70fcbbe7 339@findex x
2313086a
BS
340Virtual memory dump starting at @var{addr}.
341ETEXI
342
d7f9b689
LC
343 {
344 .name = "xp",
345 .args_type = "fmt:/,addr:l",
d7f9b689
LC
346 .params = "/fmt addr",
347 .help = "physical memory dump starting at 'addr'",
af4ce882 348 .mhandler.cmd = do_physical_memory_dump,
d7f9b689
LC
349 },
350
2313086a
BS
351STEXI
352@item xp /@var{fmt} @var{addr}
70fcbbe7 353@findex xp
2313086a
BS
354Physical memory dump starting at @var{addr}.
355
356@var{fmt} is a format which tells the command how to format the
357data. Its syntax is: @option{/@{count@}@{format@}@{size@}}
358
359@table @var
360@item count
361is the number of items to be dumped.
362
363@item format
364can be x (hex), d (signed decimal), u (unsigned decimal), o (octal),
365c (char) or i (asm instruction).
366
367@item size
368can be b (8 bits), h (16 bits), w (32 bits) or g (64 bits). On x86,
369@code{h} or @code{w} can be specified with the @code{i} format to
370respectively select 16 or 32 bit code instruction size.
371
372@end table
373
374Examples:
375@itemize
376@item
377Dump 10 instructions at the current instruction pointer:
378@example
379(qemu) x/10i $eip
3800x90107063: ret
3810x90107064: sti
3820x90107065: lea 0x0(%esi,1),%esi
3830x90107069: lea 0x0(%edi,1),%edi
3840x90107070: ret
3850x90107071: jmp 0x90107080
3860x90107073: nop
3870x90107074: nop
3880x90107075: nop
3890x90107076: nop
390@end example
391
392@item
393Dump 80 16 bit values at the start of the video memory.
394@smallexample
395(qemu) xp/80hx 0xb8000
3960x000b8000: 0x0b50 0x0b6c 0x0b65 0x0b78 0x0b38 0x0b36 0x0b2f 0x0b42
3970x000b8010: 0x0b6f 0x0b63 0x0b68 0x0b73 0x0b20 0x0b56 0x0b47 0x0b41
3980x000b8020: 0x0b42 0x0b69 0x0b6f 0x0b73 0x0b20 0x0b63 0x0b75 0x0b72
3990x000b8030: 0x0b72 0x0b65 0x0b6e 0x0b74 0x0b2d 0x0b63 0x0b76 0x0b73
4000x000b8040: 0x0b20 0x0b30 0x0b35 0x0b20 0x0b4e 0x0b6f 0x0b76 0x0b20
4010x000b8050: 0x0b32 0x0b30 0x0b30 0x0b33 0x0720 0x0720 0x0720 0x0720
4020x000b8060: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
4030x000b8070: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
4040x000b8080: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
4050x000b8090: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
406@end smallexample
407@end itemize
408ETEXI
409
d7f9b689
LC
410 {
411 .name = "p|print",
412 .args_type = "fmt:/,val:l",
d7f9b689
LC
413 .params = "/fmt expr",
414 .help = "print expression value (use $reg for CPU register access)",
af4ce882 415 .mhandler.cmd = do_print,
d7f9b689
LC
416 },
417
2313086a
BS
418STEXI
419@item p or print/@var{fmt} @var{expr}
70fcbbe7 420@findex print
2313086a
BS
421
422Print expression value. Only the @var{format} part of @var{fmt} is
423used.
424ETEXI
425
d7f9b689
LC
426 {
427 .name = "i",
428 .args_type = "fmt:/,addr:i,index:i.",
d7f9b689
LC
429 .params = "/fmt addr",
430 .help = "I/O port read",
af4ce882 431 .mhandler.cmd = do_ioport_read,
d7f9b689
LC
432 },
433
2313086a
BS
434STEXI
435Read I/O port.
436ETEXI
437
d7f9b689
LC
438 {
439 .name = "o",
440 .args_type = "fmt:/,addr:i,val:i",
d7f9b689
LC
441 .params = "/fmt addr value",
442 .help = "I/O port write",
af4ce882 443 .mhandler.cmd = do_ioport_write,
d7f9b689
LC
444 },
445
f114784f
JK
446STEXI
447Write to I/O port.
448ETEXI
2313086a 449
d7f9b689
LC
450 {
451 .name = "sendkey",
452 .args_type = "string:s,hold_time:i?",
d7f9b689
LC
453 .params = "keys [hold_ms]",
454 .help = "send keys to the VM (e.g. 'sendkey ctrl-alt-f1', default hold time=100 ms)",
af4ce882 455 .mhandler.cmd = do_sendkey,
d7f9b689
LC
456 },
457
2313086a
BS
458STEXI
459@item sendkey @var{keys}
70fcbbe7 460@findex sendkey
2313086a
BS
461
462Send @var{keys} to the emulator. @var{keys} could be the name of the
463key or @code{#} followed by the raw value in either decimal or hexadecimal
464format. Use @code{-} to press several keys simultaneously. Example:
465@example
466sendkey ctrl-alt-f1
467@end example
468
469This command is useful to send keys that your graphical user interface
470intercepts at low level, such as @code{ctrl-alt-f1} in X Window.
471ETEXI
472
d7f9b689
LC
473 {
474 .name = "system_reset",
475 .args_type = "",
d7f9b689
LC
476 .params = "",
477 .help = "reset the system",
38d22653 478 .mhandler.cmd = hmp_system_reset,
d7f9b689
LC
479 },
480
2313086a
BS
481STEXI
482@item system_reset
70fcbbe7 483@findex system_reset
2313086a
BS
484
485Reset the system.
486ETEXI
487
d7f9b689
LC
488 {
489 .name = "system_powerdown",
490 .args_type = "",
d7f9b689
LC
491 .params = "",
492 .help = "send system power down event",
5bc465e4 493 .mhandler.cmd = hmp_system_powerdown,
d7f9b689
LC
494 },
495
2313086a
BS
496STEXI
497@item system_powerdown
70fcbbe7 498@findex system_powerdown
2313086a
BS
499
500Power down the system (if supported).
501ETEXI
502
d7f9b689
LC
503 {
504 .name = "sum",
505 .args_type = "start:i,size:i",
d7f9b689
LC
506 .params = "addr size",
507 .help = "compute the checksum of a memory region",
af4ce882 508 .mhandler.cmd = do_sum,
d7f9b689
LC
509 },
510
2313086a
BS
511STEXI
512@item sum @var{addr} @var{size}
70fcbbe7 513@findex sum
2313086a
BS
514
515Compute the checksum of a memory region.
516ETEXI
517
d7f9b689
LC
518 {
519 .name = "usb_add",
520 .args_type = "devname:s",
d7f9b689
LC
521 .params = "device",
522 .help = "add USB device (e.g. 'host:bus.addr' or 'host:vendor_id:product_id')",
af4ce882 523 .mhandler.cmd = do_usb_add,
d7f9b689
LC
524 },
525
2313086a
BS
526STEXI
527@item usb_add @var{devname}
70fcbbe7 528@findex usb_add
2313086a
BS
529
530Add the USB device @var{devname}. For details of available devices see
531@ref{usb_devices}
532ETEXI
533
d7f9b689
LC
534 {
535 .name = "usb_del",
536 .args_type = "devname:s",
d7f9b689
LC
537 .params = "device",
538 .help = "remove USB device 'bus.addr'",
af4ce882 539 .mhandler.cmd = do_usb_del,
d7f9b689
LC
540 },
541
2313086a
BS
542STEXI
543@item usb_del @var{devname}
70fcbbe7 544@findex usb_del
2313086a
BS
545
546Remove the USB device @var{devname} from the QEMU virtual USB
547hub. @var{devname} has the syntax @code{bus.addr}. Use the monitor
548command @code{info usb} to see the devices you can remove.
549ETEXI
550
d7f9b689
LC
551 {
552 .name = "device_add",
c7e4e8ce
MA
553 .args_type = "device:O",
554 .params = "driver[,prop=value][,...]",
d7f9b689 555 .help = "add device, like -device on the command line",
8bc27249
MA
556 .user_print = monitor_user_noop,
557 .mhandler.cmd_new = do_device_add,
d7f9b689
LC
558 },
559
3418bd25
GH
560STEXI
561@item device_add @var{config}
70fcbbe7 562@findex device_add
3418bd25
GH
563
564Add device.
565ETEXI
566
d7f9b689
LC
567 {
568 .name = "device_del",
569 .args_type = "id:s",
d7f9b689
LC
570 .params = "device",
571 .help = "remove device",
17a38eaa
MA
572 .user_print = monitor_user_noop,
573 .mhandler.cmd_new = do_device_del,
d7f9b689
LC
574 },
575
3418bd25
GH
576STEXI
577@item device_del @var{id}
70fcbbe7 578@findex device_del
3418bd25
GH
579
580Remove device @var{id}.
581ETEXI
582
d7f9b689
LC
583 {
584 .name = "cpu",
585 .args_type = "index:i",
d7f9b689
LC
586 .params = "index",
587 .help = "set the default CPU",
755f1968 588 .mhandler.cmd = hmp_cpu,
d7f9b689 589 },
3418bd25 590
2313086a 591STEXI
c427ea9c
MA
592@item cpu @var{index}
593@findex cpu
2313086a
BS
594Set the default CPU.
595ETEXI
596
d7f9b689
LC
597 {
598 .name = "mouse_move",
599 .args_type = "dx_str:s,dy_str:s,dz_str:s?",
d7f9b689
LC
600 .params = "dx dy [dz]",
601 .help = "send mouse move events",
af4ce882 602 .mhandler.cmd = do_mouse_move,
d7f9b689
LC
603 },
604
2313086a
BS
605STEXI
606@item mouse_move @var{dx} @var{dy} [@var{dz}]
70fcbbe7 607@findex mouse_move
2313086a
BS
608Move the active mouse to the specified coordinates @var{dx} @var{dy}
609with optional scroll axis @var{dz}.
610ETEXI
611
d7f9b689
LC
612 {
613 .name = "mouse_button",
614 .args_type = "button_state:i",
d7f9b689
LC
615 .params = "state",
616 .help = "change mouse button state (1=L, 2=M, 4=R)",
af4ce882 617 .mhandler.cmd = do_mouse_button,
d7f9b689
LC
618 },
619
2313086a
BS
620STEXI
621@item mouse_button @var{val}
70fcbbe7 622@findex mouse_button
2313086a
BS
623Change the active mouse button state @var{val} (1=L, 2=M, 4=R).
624ETEXI
625
d7f9b689
LC
626 {
627 .name = "mouse_set",
628 .args_type = "index:i",
d7f9b689
LC
629 .params = "index",
630 .help = "set which mouse device receives events",
af4ce882 631 .mhandler.cmd = do_mouse_set,
d7f9b689
LC
632 },
633
2313086a
BS
634STEXI
635@item mouse_set @var{index}
70fcbbe7 636@findex mouse_set
2313086a
BS
637Set which mouse device receives events at given @var{index}, index
638can be obtained with
639@example
640info mice
641@end example
642ETEXI
643
644#ifdef HAS_AUDIO
d7f9b689
LC
645 {
646 .name = "wavcapture",
647 .args_type = "path:F,freq:i?,bits:i?,nchannels:i?",
d7f9b689
LC
648 .params = "path [frequency [bits [channels]]]",
649 .help = "capture audio to a wave file (default frequency=44100 bits=16 channels=2)",
af4ce882 650 .mhandler.cmd = do_wav_capture,
d7f9b689 651 },
2313086a
BS
652#endif
653STEXI
654@item wavcapture @var{filename} [@var{frequency} [@var{bits} [@var{channels}]]]
70fcbbe7 655@findex wavcapture
2313086a
BS
656Capture audio into @var{filename}. Using sample rate @var{frequency}
657bits per sample @var{bits} and number of channels @var{channels}.
658
659Defaults:
660@itemize @minus
661@item Sample rate = 44100 Hz - CD quality
662@item Bits = 16
663@item Number of channels = 2 - Stereo
664@end itemize
665ETEXI
666
667#ifdef HAS_AUDIO
d7f9b689
LC
668 {
669 .name = "stopcapture",
670 .args_type = "n:i",
d7f9b689
LC
671 .params = "capture index",
672 .help = "stop capture",
af4ce882 673 .mhandler.cmd = do_stop_capture,
d7f9b689 674 },
2313086a
BS
675#endif
676STEXI
677@item stopcapture @var{index}
70fcbbe7 678@findex stopcapture
2313086a
BS
679Stop capture with a given @var{index}, index can be obtained with
680@example
681info capture
682@end example
683ETEXI
684
d7f9b689
LC
685 {
686 .name = "memsave",
687 .args_type = "val:l,size:i,filename:s",
d7f9b689
LC
688 .params = "addr size file",
689 .help = "save to disk virtual memory dump starting at 'addr' of size 'size'",
0cfd6a9a 690 .mhandler.cmd = hmp_memsave,
d7f9b689
LC
691 },
692
2313086a
BS
693STEXI
694@item memsave @var{addr} @var{size} @var{file}
70fcbbe7 695@findex memsave
2313086a
BS
696save to disk virtual memory dump starting at @var{addr} of size @var{size}.
697ETEXI
698
d7f9b689
LC
699 {
700 .name = "pmemsave",
701 .args_type = "val:l,size:i,filename:s",
d7f9b689
LC
702 .params = "addr size file",
703 .help = "save to disk physical memory dump starting at 'addr' of size 'size'",
6d3962bf 704 .mhandler.cmd = hmp_pmemsave,
d7f9b689
LC
705 },
706
2313086a
BS
707STEXI
708@item pmemsave @var{addr} @var{size} @var{file}
70fcbbe7 709@findex pmemsave
2313086a
BS
710save to disk physical memory dump starting at @var{addr} of size @var{size}.
711ETEXI
712
d7f9b689
LC
713 {
714 .name = "boot_set",
715 .args_type = "bootdevice:s",
d7f9b689
LC
716 .params = "bootdevice",
717 .help = "define new values for the boot device list",
af4ce882 718 .mhandler.cmd = do_boot_set,
d7f9b689
LC
719 },
720
2313086a
BS
721STEXI
722@item boot_set @var{bootdevicelist}
70fcbbe7 723@findex boot_set
2313086a
BS
724
725Define new values for the boot device list. Those values will override
726the values specified on the command line through the @code{-boot} option.
727
728The values that can be specified here depend on the machine type, but are
729the same that can be specified in the @code{-boot} command line option.
730ETEXI
731
732#if defined(TARGET_I386)
d7f9b689
LC
733 {
734 .name = "nmi",
e9b4b432
LC
735 .args_type = "",
736 .params = "",
737 .help = "inject an NMI on all guest's CPUs",
ab49ab5c 738 .mhandler.cmd = hmp_inject_nmi,
d7f9b689 739 },
2313086a
BS
740#endif
741STEXI
742@item nmi @var{cpu}
70fcbbe7 743@findex nmi
2313086a
BS
744Inject an NMI on the given CPU (x86 only).
745ETEXI
746
d7f9b689
LC
747 {
748 .name = "migrate",
fbc3d96c 749 .args_type = "detach:-d,blk:-b,inc:-i,uri:s",
750 .params = "[-d] [-b] [-i] uri",
751 .help = "migrate to URI (using -d to not wait for completion)"
752 "\n\t\t\t -b for migration without shared storage with"
753 " full copy of disk\n\t\t\t -i for migration without "
754 "shared storage with incremental copy of disk "
755 "(base image shared between src and destination)",
756 .user_print = monitor_user_noop,
261394db 757 .mhandler.cmd_new = do_migrate,
d7f9b689
LC
758 },
759
fbc3d96c 760
2313086a 761STEXI
fbc3d96c 762@item migrate [-d] [-b] [-i] @var{uri}
70fcbbe7 763@findex migrate
2313086a 764Migrate to @var{uri} (using -d to not wait for completion).
fbc3d96c 765 -b for migration with full copy of disk
766 -i for migration with incremental copy of disk (base image is shared)
2313086a
BS
767ETEXI
768
d7f9b689
LC
769 {
770 .name = "migrate_cancel",
771 .args_type = "",
d7f9b689
LC
772 .params = "",
773 .help = "cancel the current VM migration",
6cdedb07 774 .mhandler.cmd = hmp_migrate_cancel,
d7f9b689
LC
775 },
776
2313086a
BS
777STEXI
778@item migrate_cancel
70fcbbe7 779@findex migrate_cancel
2313086a
BS
780Cancel the current VM migration.
781ETEXI
782
d7f9b689
LC
783 {
784 .name = "migrate_set_speed",
ed3d4a80 785 .args_type = "value:o",
d7f9b689 786 .params = "value",
ed3d4a80
JS
787 .help = "set maximum speed (in bytes) for migrations. "
788 "Defaults to MB if no size suffix is specified, ie. B/K/M/G/T",
3dc85383 789 .mhandler.cmd = hmp_migrate_set_speed,
d7f9b689
LC
790 },
791
2313086a
BS
792STEXI
793@item migrate_set_speed @var{value}
70fcbbe7 794@findex migrate_set_speed
2313086a 795Set maximum speed to @var{value} (in bytes) for migrations.
2ea42952
GC
796ETEXI
797
d7f9b689
LC
798 {
799 .name = "migrate_set_downtime",
b0fbf7d3 800 .args_type = "value:T",
d7f9b689
LC
801 .params = "value",
802 .help = "set maximum tolerated downtime (in seconds) for migrations",
4f0a993b 803 .mhandler.cmd = hmp_migrate_set_downtime,
d7f9b689 804 },
2ea42952
GC
805
806STEXI
807@item migrate_set_downtime @var{second}
70fcbbe7 808@findex migrate_set_downtime
2ea42952 809Set maximum tolerated downtime (in seconds) for migration.
f8882568
JS
810ETEXI
811
812 {
2ea720db
JS
813 .name = "client_migrate_info",
814 .args_type = "protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?",
815 .params = "protocol hostname port tls-port cert-subject",
816 .help = "send migration info to spice/vnc client",
817 .user_print = monitor_user_noop,
edc5cb1a
YH
818 .mhandler.cmd_async = client_migrate_info,
819 .flags = MONITOR_CMD_ASYNC,
f8882568
JS
820 },
821
e866e239
GH
822STEXI
823@item client_migrate_info @var{protocol} @var{hostname} @var{port} @var{tls-port} @var{cert-subject}
824@findex client_migrate_info
825Set the spice/vnc connection info for the migration target. The spice/vnc
826server will ask the spice/vnc client to automatically reconnect using the
827new parameters (if specified) once the vm migration finished successfully.
828ETEXI
829
830 {
2ea720db 831 .name = "snapshot_blkdev",
d967b2f1 832 .args_type = "device:B,snapshot-file:s?,format:s?",
2ea720db
JS
833 .params = "device [new-image-file] [format]",
834 .help = "initiates a live snapshot\n\t\t\t"
835 "of device. If a new image file is specified, the\n\t\t\t"
836 "new image file will become the new root image.\n\t\t\t"
837 "If format is specified, the snapshot file will\n\t\t\t"
838 "be created in that format. Otherwise the\n\t\t\t"
839 "snapshot will be internal! (currently unsupported)",
6106e249 840 .mhandler.cmd = hmp_snapshot_blkdev,
e866e239
GH
841 },
842
f8882568
JS
843STEXI
844@item snapshot_blkdev
845@findex snapshot_blkdev
846Snapshot device, using snapshot file as target if provided
2313086a
BS
847ETEXI
848
d7f9b689
LC
849 {
850 .name = "drive_add",
851 .args_type = "pci_addr:s,opts:s",
d7f9b689
LC
852 .params = "[[<domain>:]<bus>:]<slot>\n"
853 "[file=file][,if=type][,bus=n]\n"
fb0490f6 854 "[,unit=m][,media=d][,index=i]\n"
d7f9b689 855 "[,cyls=c,heads=h,secs=s[,trans=t]]\n"
fb0490f6
SH
856 "[,snapshot=on|off][,cache=on|off]\n"
857 "[,readonly=on|off][,copy-on-read=on|off]",
d7f9b689 858 .help = "add drive to PCI storage controller",
af4ce882 859 .mhandler.cmd = drive_hot_add,
d7f9b689 860 },
d7f9b689 861
2313086a
BS
862STEXI
863@item drive_add
70fcbbe7 864@findex drive_add
2313086a
BS
865Add drive to PCI storage controller.
866ETEXI
867
868#if defined(TARGET_I386)
d7f9b689
LC
869 {
870 .name = "pci_add",
871 .args_type = "pci_addr:s,type:s,opts:s?",
d7f9b689
LC
872 .params = "auto|[[<domain>:]<bus>:]<slot> nic|storage [[vlan=n][,macaddr=addr][,model=type]] [file=file][,if=type][,bus=nr]...",
873 .help = "hot-add PCI device",
6c6a58ae 874 .mhandler.cmd = pci_device_hot_add,
d7f9b689 875 },
2313086a 876#endif
d7f9b689 877
2313086a
BS
878STEXI
879@item pci_add
70fcbbe7 880@findex pci_add
2313086a
BS
881Hot-add PCI device.
882ETEXI
883
884#if defined(TARGET_I386)
d7f9b689
LC
885 {
886 .name = "pci_del",
887 .args_type = "pci_addr:s",
d7f9b689
LC
888 .params = "[[<domain>:]<bus>:]<slot>",
889 .help = "hot remove PCI device",
b752daf0 890 .mhandler.cmd = do_pci_device_hot_remove,
d7f9b689 891 },
2313086a 892#endif
d7f9b689 893
2313086a
BS
894STEXI
895@item pci_del
70fcbbe7 896@findex pci_del
2313086a 897Hot remove PCI device.
2ae63bda
IY
898ETEXI
899
900 {
901 .name = "pcie_aer_inject_error",
902 .args_type = "advisory_non_fatal:-a,correctable:-c,"
903 "id:s,error_status:s,"
904 "header0:i?,header1:i?,header2:i?,header3:i?,"
905 "prefix0:i?,prefix1:i?,prefix2:i?,prefix3:i?",
906 .params = "[-a] [-c] id "
907 "<error_status> [<tlp header> [<tlp header prefix>]]",
908 .help = "inject pcie aer error\n\t\t\t"
909 " -a for advisory non fatal error\n\t\t\t"
910 " -c for correctable error\n\t\t\t"
911 "<id> = qdev device id\n\t\t\t"
912 "<error_status> = error string or 32bit\n\t\t\t"
913 "<tlb header> = 32bit x 4\n\t\t\t"
914 "<tlb header prefix> = 32bit x 4",
915 .user_print = pcie_aer_inject_error_print,
1f3392b7 916 .mhandler.cmd_new = do_pcie_aer_inject_error,
2ae63bda
IY
917 },
918
919STEXI
920@item pcie_aer_inject_error
921@findex pcie_aer_inject_error
922Inject PCIe AER error
2313086a
BS
923ETEXI
924
d7f9b689
LC
925 {
926 .name = "host_net_add",
927 .args_type = "device:s,opts:s?",
d7f9b689
LC
928 .params = "tap|user|socket|vde|dump [options]",
929 .help = "add host VLAN client",
af4ce882 930 .mhandler.cmd = net_host_device_add,
d7f9b689
LC
931 },
932
2313086a
BS
933STEXI
934@item host_net_add
70fcbbe7 935@findex host_net_add
2313086a
BS
936Add host VLAN client.
937ETEXI
938
d7f9b689
LC
939 {
940 .name = "host_net_remove",
941 .args_type = "vlan_id:i,device:s",
d7f9b689
LC
942 .params = "vlan_id name",
943 .help = "remove host VLAN client",
af4ce882 944 .mhandler.cmd = net_host_device_remove,
d7f9b689
LC
945 },
946
2313086a
BS
947STEXI
948@item host_net_remove
70fcbbe7 949@findex host_net_remove
2313086a 950Remove host VLAN client.
ae82d324
MA
951ETEXI
952
953 {
954 .name = "netdev_add",
955 .args_type = "netdev:O",
956 .params = "[user|tap|socket],id=str[,prop=value][,...]",
957 .help = "add host network device",
958 .user_print = monitor_user_noop,
959 .mhandler.cmd_new = do_netdev_add,
960 },
961
962STEXI
963@item netdev_add
964@findex netdev_add
965Add host network device.
966ETEXI
967
968 {
969 .name = "netdev_del",
970 .args_type = "id:s",
971 .params = "id",
972 .help = "remove host network device",
973 .user_print = monitor_user_noop,
974 .mhandler.cmd_new = do_netdev_del,
975 },
976
977STEXI
978@item netdev_del
979@findex netdev_del
980Remove host network device.
2313086a
BS
981ETEXI
982
983#ifdef CONFIG_SLIRP
d7f9b689
LC
984 {
985 .name = "hostfwd_add",
986 .args_type = "arg1:s,arg2:s?,arg3:s?",
d7f9b689
LC
987 .params = "[vlan_id name] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport",
988 .help = "redirect TCP or UDP connections from host to guest (requires -net user)",
af4ce882 989 .mhandler.cmd = net_slirp_hostfwd_add,
d7f9b689 990 },
21413d68
MA
991#endif
992STEXI
993@item hostfwd_add
994@findex hostfwd_add
995Redirect TCP or UDP connections from host to guest (requires -net user).
996ETEXI
d7f9b689 997
21413d68 998#ifdef CONFIG_SLIRP
d7f9b689
LC
999 {
1000 .name = "hostfwd_remove",
1001 .args_type = "arg1:s,arg2:s?,arg3:s?",
d7f9b689
LC
1002 .params = "[vlan_id name] [tcp|udp]:[hostaddr]:hostport",
1003 .help = "remove host-to-guest TCP or UDP redirection",
af4ce882 1004 .mhandler.cmd = net_slirp_hostfwd_remove,
d7f9b689
LC
1005 },
1006
2313086a
BS
1007#endif
1008STEXI
21413d68
MA
1009@item hostfwd_remove
1010@findex hostfwd_remove
1011Remove host-to-guest TCP or UDP redirection.
2313086a
BS
1012ETEXI
1013
d7f9b689
LC
1014 {
1015 .name = "balloon",
3b0bd6ec 1016 .args_type = "value:M",
d7f9b689 1017 .params = "target",
3c05613a 1018 .help = "request VM to change its memory allocation (in MB)",
d72f3264 1019 .mhandler.cmd = hmp_balloon,
d7f9b689
LC
1020 },
1021
2313086a
BS
1022STEXI
1023@item balloon @var{value}
70fcbbe7 1024@findex balloon
2313086a
BS
1025Request VM to change its memory allocation to @var{value} (in MB).
1026ETEXI
1027
d7f9b689
LC
1028 {
1029 .name = "set_link",
c9b26a4c
MA
1030 .args_type = "name:s,up:b",
1031 .params = "name on|off",
d7f9b689 1032 .help = "change the link status of a network adapter",
4b37156c 1033 .mhandler.cmd = hmp_set_link,
d7f9b689
LC
1034 },
1035
2313086a 1036STEXI
c9b26a4c 1037@item set_link @var{name} [on|off]
70fcbbe7 1038@findex set_link
c9b26a4c 1039Switch link @var{name} on (i.e. up) or off (i.e. down).
2313086a
BS
1040ETEXI
1041
d7f9b689
LC
1042 {
1043 .name = "watchdog_action",
1044 .args_type = "action:s",
d7f9b689
LC
1045 .params = "[reset|shutdown|poweroff|pause|debug|none]",
1046 .help = "change watchdog action",
af4ce882 1047 .mhandler.cmd = do_watchdog_action,
d7f9b689
LC
1048 },
1049
2313086a
BS
1050STEXI
1051@item watchdog_action
70fcbbe7 1052@findex watchdog_action
2313086a
BS
1053Change watchdog action.
1054ETEXI
1055
d7f9b689
LC
1056 {
1057 .name = "acl_show",
1058 .args_type = "aclname:s",
d7f9b689
LC
1059 .params = "aclname",
1060 .help = "list rules in the access control list",
af4ce882 1061 .mhandler.cmd = do_acl_show,
d7f9b689
LC
1062 },
1063
2313086a 1064STEXI
15dfcd45 1065@item acl_show @var{aclname}
70fcbbe7 1066@findex acl_show
15dfcd45
JK
1067List all the matching rules in the access control list, and the default
1068policy. There are currently two named access control lists,
1069@var{vnc.x509dname} and @var{vnc.username} matching on the x509 client
1070certificate distinguished name, and SASL username respectively.
1071ETEXI
2313086a 1072
d7f9b689
LC
1073 {
1074 .name = "acl_policy",
1075 .args_type = "aclname:s,policy:s",
d7f9b689
LC
1076 .params = "aclname allow|deny",
1077 .help = "set default access control list policy",
af4ce882 1078 .mhandler.cmd = do_acl_policy,
d7f9b689
LC
1079 },
1080
15dfcd45 1081STEXI
cbbfacc6 1082@item acl_policy @var{aclname} @code{allow|deny}
70fcbbe7 1083@findex acl_policy
15dfcd45 1084Set the default access control list policy, used in the event that
2313086a 1085none of the explicit rules match. The default policy at startup is
15dfcd45
JK
1086always @code{deny}.
1087ETEXI
1088
d7f9b689
LC
1089 {
1090 .name = "acl_add",
1091 .args_type = "aclname:s,match:s,policy:s,index:i?",
d7f9b689
LC
1092 .params = "aclname match allow|deny [index]",
1093 .help = "add a match rule to the access control list",
af4ce882 1094 .mhandler.cmd = do_acl_add,
d7f9b689
LC
1095 },
1096
15dfcd45 1097STEXI
0e4aec98
MA
1098@item acl_add @var{aclname} @var{match} @code{allow|deny} [@var{index}]
1099@findex acl_add
15dfcd45
JK
1100Add a match rule to the access control list, allowing or denying access.
1101The match will normally be an exact username or x509 distinguished name,
1102but can optionally include wildcard globs. eg @code{*@@EXAMPLE.COM} to
1103allow all users in the @code{EXAMPLE.COM} kerberos realm. The match will
2313086a 1104normally be appended to the end of the ACL, but can be inserted
15dfcd45
JK
1105earlier in the list if the optional @var{index} parameter is supplied.
1106ETEXI
1107
d7f9b689
LC
1108 {
1109 .name = "acl_remove",
1110 .args_type = "aclname:s,match:s",
d7f9b689
LC
1111 .params = "aclname match",
1112 .help = "remove a match rule from the access control list",
af4ce882 1113 .mhandler.cmd = do_acl_remove,
d7f9b689
LC
1114 },
1115
15dfcd45
JK
1116STEXI
1117@item acl_remove @var{aclname} @var{match}
70fcbbe7 1118@findex acl_remove
15dfcd45
JK
1119Remove the specified match rule from the access control list.
1120ETEXI
1121
d7f9b689
LC
1122 {
1123 .name = "acl_reset",
1124 .args_type = "aclname:s",
d7f9b689
LC
1125 .params = "aclname",
1126 .help = "reset the access control list",
af4ce882 1127 .mhandler.cmd = do_acl_reset,
d7f9b689
LC
1128 },
1129
15dfcd45 1130STEXI
0e4aec98
MA
1131@item acl_reset @var{aclname}
1132@findex acl_reset
15dfcd45 1133Remove all matches from the access control list, and set the default
2313086a 1134policy back to @code{deny}.
2313086a
BS
1135ETEXI
1136
79c4f6b0 1137#if defined(TARGET_I386)
d7f9b689
LC
1138
1139 {
1140 .name = "mce",
31ce5e0c
JD
1141 .args_type = "broadcast:-b,cpu_index:i,bank:i,status:l,mcg_status:l,addr:l,misc:l",
1142 .params = "[-b] cpu bank status mcgstatus addr misc",
1143 .help = "inject a MCE on the given CPU [and broadcast to other CPUs with -b option]",
af4ce882 1144 .mhandler.cmd = do_inject_mce,
d7f9b689
LC
1145 },
1146
79c4f6b0
HY
1147#endif
1148STEXI
1149@item mce @var{cpu} @var{bank} @var{status} @var{mcgstatus} @var{addr} @var{misc}
70fcbbe7 1150@findex mce (x86)
79c4f6b0 1151Inject an MCE on the given CPU (x86 only).
f07918fd
MM
1152ETEXI
1153
d7f9b689
LC
1154 {
1155 .name = "getfd",
1156 .args_type = "fdname:s",
d7f9b689
LC
1157 .params = "getfd name",
1158 .help = "receive a file descriptor via SCM rights and assign it a name",
f0d6000a 1159 .user_print = monitor_user_noop,
261394db 1160 .mhandler.cmd_new = do_getfd,
d7f9b689
LC
1161 },
1162
f07918fd
MM
1163STEXI
1164@item getfd @var{fdname}
70fcbbe7 1165@findex getfd
f07918fd
MM
1166If a file descriptor is passed alongside this command using the SCM_RIGHTS
1167mechanism on unix sockets, it is stored using the name @var{fdname} for
1168later use by other monitor commands.
1169ETEXI
1170
d7f9b689
LC
1171 {
1172 .name = "closefd",
1173 .args_type = "fdname:s",
d7f9b689
LC
1174 .params = "closefd name",
1175 .help = "close a file descriptor previously passed via SCM rights",
18f3a515 1176 .user_print = monitor_user_noop,
261394db 1177 .mhandler.cmd_new = do_closefd,
d7f9b689
LC
1178 },
1179
f07918fd
MM
1180STEXI
1181@item closefd @var{fdname}
70fcbbe7 1182@findex closefd
f07918fd
MM
1183Close the file descriptor previously assigned to @var{fdname} using the
1184@code{getfd} command. This is only needed if the file descriptor was never
1185used by another monitor command.
a3a55a2e
LC
1186ETEXI
1187
1188 {
1189 .name = "block_passwd",
1190 .args_type = "device:B,password:s",
1191 .params = "block_passwd device password",
1192 .help = "set the password of encrypted block devices",
a4dea8a9 1193 .mhandler.cmd = hmp_block_passwd,
a3a55a2e
LC
1194 },
1195
727f005e
ZYW
1196STEXI
1197@item block_set_io_throttle @var{device} @var{bps} @var{bps_rd} @var{bps_wr} @var{iops} @var{iops_rd} @var{iops_wr}
1198@findex block_set_io_throttle
1199Change I/O throttle limits for a block drive to @var{bps} @var{bps_rd} @var{bps_wr} @var{iops} @var{iops_rd} @var{iops_wr}
1200ETEXI
1201
1202 {
1203 .name = "block_set_io_throttle",
1204 .args_type = "device:B,bps:l,bps_rd:l,bps_wr:l,iops:l,iops_rd:l,iops_wr:l",
1205 .params = "device bps bps_rd bps_wr iops iops_rd iops_wr",
1206 .help = "change I/O throttle limits for a block drive",
1207 .user_print = monitor_user_noop,
1208 .mhandler.cmd_new = do_block_set_io_throttle,
1209 },
1210
a3a55a2e
LC
1211STEXI
1212@item block_passwd @var{device} @var{password}
70fcbbe7 1213@findex block_passwd
a3a55a2e 1214Set the encrypted device @var{device} password to @var{password}
7572150c
GH
1215ETEXI
1216
1217 {
1218 .name = "set_password",
1219 .args_type = "protocol:s,password:s,connected:s?",
1220 .params = "protocol password action-if-connected",
1221 .help = "set spice/vnc password",
fbf796fd 1222 .mhandler.cmd = hmp_set_password,
7572150c
GH
1223 },
1224
1225STEXI
1226@item set_password [ vnc | spice ] password [ action-if-connected ]
1227@findex set_password
1228
1229Change spice/vnc password. Use zero to make the password stay valid
1230forever. @var{action-if-connected} specifies what should happen in
1231case a connection is established: @var{fail} makes the password change
1232fail. @var{disconnect} changes the password and disconnects the
1233client. @var{keep} changes the password and keeps the connection up.
1234@var{keep} is the default.
1235ETEXI
1236
1237 {
1238 .name = "expire_password",
1239 .args_type = "protocol:s,time:s",
1240 .params = "protocol time",
1241 .help = "set spice/vnc password expire-time",
9ad5372d 1242 .mhandler.cmd = hmp_expire_password,
7572150c
GH
1243 },
1244
1245STEXI
1246@item expire_password [ vnc | spice ] expire-time
1247@findex expire_password
1248
1249Specify when a password for spice/vnc becomes
1250invalid. @var{expire-time} accepts:
1251
1252@table @var
1253@item now
1254Invalidate password instantly.
1255
1256@item never
1257Password stays valid forever.
1258
1259@item +nsec
1260Password stays valid for @var{nsec} seconds starting now.
1261
1262@item nsec
1263Password is invalidated at the given time. @var{nsec} are the seconds
1264passed since 1970, i.e. unix epoch.
1265
1266@end table
4a7e1190 1267ETEXI
b40292e7 1268
33572ece
JK
1269 {
1270 .name = "info",
1271 .args_type = "item:s?",
1272 .params = "[subcommand]",
1273 .help = "show various information about the system state",
1162daa6 1274 .mhandler.cmd = do_info,
33572ece
JK
1275 },
1276
1277STEXI
1278@item info @var{subcommand}
1279@findex info
1280Show various information about the system state.
1281
1282@table @option
1283@item info version
1284show the version of QEMU
33572ece
JK
1285@item info network
1286show the various VLANs and the associated devices
1287@item info chardev
1288show the character devices
1289@item info block
1290show the block devices
1291@item info blockstats
1292show block device statistics
1293@item info registers
1294show the cpu registers
1295@item info cpus
1296show infos for each CPU
1297@item info history
1298show the command line history
1299@item info irq
1300show the interrupts statistics (if available)
1301@item info pic
1302show i8259 (PIC) state
1303@item info pci
1304show emulated PCI device info
1305@item info tlb
bebabbc7 1306show virtual to physical memory mappings (i386, SH4, SPARC, and PPC only)
33572ece
JK
1307@item info mem
1308show the active virtual memory mappings (i386 only)
33572ece
JK
1309@item info jit
1310show dynamic compiler info
33572ece
JK
1311@item info numa
1312show NUMA information
b40292e7
JK
1313@item info kvm
1314show KVM information
33572ece
JK
1315@item info usb
1316show USB devices plugged on the virtual USB hub
1317@item info usbhost
1318show all USB host devices
1319@item info profile
1320show profiling information
1321@item info capture
1322show information about active capturing
1323@item info snapshots
1324show list of VM snapshots
1325@item info status
1326show the current VM status (running|paused)
1327@item info pcmcia
1328show guest PCMCIA status
1329@item info mice
1330show which guest mouse is receiving events
1331@item info vnc
1332show the vnc server status
1333@item info name
1334show the current VM name
1335@item info uuid
1336show the current VM UUID
1337@item info cpustats
1338show CPU statistics
1339@item info usernet
1340show user network stack connection states
1341@item info migrate
1342show migration status
1343@item info balloon
1344show balloon information
1345@item info qtree
1346show device tree
1347@item info qdm
1348show qdev device model list
1349@item info roms
1350show roms
1351@end table
1352ETEXI
1353
6d8a764e 1354#ifdef CONFIG_TRACE_SIMPLE
22890ab5
PS
1355STEXI
1356@item info trace
1357show contents of trace buffer
31965ae2
L
1358ETEXI
1359#endif
1360
1361STEXI
22890ab5
PS
1362@item info trace-events
1363show available trace events and their state
1364ETEXI
22890ab5 1365
2313086a
BS
1366STEXI
1367@end table
1368ETEXI