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