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