]>
Commit | Line | Data |
---|---|---|
2313086a BS |
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 | ||
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 |
20 | STEXI |
21 | @item help or ? [@var{cmd}] | |
70fcbbe7 | 22 | @findex help |
2313086a BS |
23 | Show the help for all commands or just for command @var{cmd}. |
24 | ETEXI | |
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 |
34 | STEXI |
35 | @item commit | |
70fcbbe7 | 36 | @findex commit |
2313086a | 37 | Commit changes to the disk images (if -snapshot is used) or backing files. |
2313086a BS |
38 | ETEXI |
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 |
49 | STEXI |
50 | @item q or quit | |
70fcbbe7 | 51 | @findex quit |
2313086a BS |
52 | Quit the emulator. |
53 | ETEXI | |
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 | ||
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 | ||
12bd451f SH |
72 | { |
73 | .name = "block_stream", | |
c83c66c3 SH |
74 | .args_type = "device:B,speed:o?,base:s?", |
75 | .params = "device [speed [base]]", | |
12bd451f SH |
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. | |
2d47c6e9 SH |
84 | ETEXI |
85 | ||
86 | { | |
87 | .name = "block_job_set_speed", | |
882ec7ce SH |
88 | .args_type = "device:B,speed:o", |
89 | .params = "device speed", | |
2d47c6e9 SH |
90 | .help = "set maximum speed for a background block operation", |
91 | .mhandler.cmd = hmp_block_job_set_speed, | |
92 | }, | |
93 | ||
94 | STEXI | |
4451b799 PB |
95 | @item block_job_set_speed |
96 | @findex block_job_set_speed | |
2d47c6e9 | 97 | Set maximum speed for a background block operation. |
370521a1 SH |
98 | ETEXI |
99 | ||
100 | { | |
101 | .name = "block_job_cancel", | |
6e37fb81 PB |
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)", | |
370521a1 SH |
106 | .mhandler.cmd = hmp_block_job_cancel, |
107 | }, | |
108 | ||
109 | STEXI | |
110 | @item block_job_cancel | |
111 | @findex block_job_cancel | |
aeae883b PB |
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. | |
6e37fb81 PB |
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. | |
12bd451f | 156 | ETEXI |
6d4a2b3a | 157 | |
d7f9b689 LC |
158 | { |
159 | .name = "eject", | |
78d714e0 | 160 | .args_type = "force:-f,device:B", |
d7f9b689 LC |
161 | .params = "[-f] device", |
162 | .help = "eject a removable medium (use -f to force it)", | |
c245b6a3 | 163 | .mhandler.cmd = hmp_eject, |
d7f9b689 LC |
164 | }, |
165 | ||
2313086a BS |
166 | STEXI |
167 | @item eject [-f] @var{device} | |
70fcbbe7 | 168 | @findex eject |
2313086a | 169 | Eject a removable medium (use -f to force it). |
9063f814 RH |
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. | |
2313086a BS |
188 | ETEXI |
189 | ||
d7f9b689 LC |
190 | { |
191 | .name = "change", | |
192 | .args_type = "device:B,target:F,arg:s?", | |
d7f9b689 LC |
193 | .params = "device filename [format]", |
194 | .help = "change a removable medium, optional format", | |
333a96ec | 195 | .mhandler.cmd = hmp_change, |
d7f9b689 LC |
196 | }, |
197 | ||
2313086a BS |
198 | STEXI |
199 | @item change @var{device} @var{setting} | |
70fcbbe7 | 200 | @findex change |
2313086a BS |
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 | ||
d7f9b689 LC |
236 | { |
237 | .name = "screendump", | |
238 | .args_type = "filename:F", | |
d7f9b689 LC |
239 | .params = "filename", |
240 | .help = "save screen into PPM image 'filename'", | |
ad39cf6d | 241 | .mhandler.cmd = hmp_screen_dump, |
d7f9b689 LC |
242 | }, |
243 | ||
2313086a BS |
244 | STEXI |
245 | @item screendump @var{filename} | |
70fcbbe7 | 246 | @findex screendump |
2313086a BS |
247 | Save screen into PPM image @var{filename}. |
248 | ETEXI | |
249 | ||
d7f9b689 LC |
250 | { |
251 | .name = "logfile", | |
252 | .args_type = "filename:F", | |
d7f9b689 LC |
253 | .params = "filename", |
254 | .help = "output logs to 'filename'", | |
af4ce882 | 255 | .mhandler.cmd = do_logfile, |
d7f9b689 LC |
256 | }, |
257 | ||
2313086a BS |
258 | STEXI |
259 | @item logfile @var{filename} | |
70fcbbe7 | 260 | @findex logfile |
2313086a BS |
261 | Output logs to @var{filename}. |
262 | ETEXI | |
263 | ||
22890ab5 PS |
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", | |
fc764105 | 269 | .mhandler.cmd = do_trace_event_set_state, |
22890ab5 PS |
270 | }, |
271 | ||
272 | STEXI | |
273 | @item trace-event | |
274 | @findex trace-event | |
275 | changes status of a trace event | |
c5ceb523 SH |
276 | ETEXI |
277 | ||
c45a8168 | 278 | #if defined(CONFIG_TRACE_SIMPLE) |
c5ceb523 SH |
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. | |
22890ab5 PS |
291 | ETEXI |
292 | #endif | |
293 | ||
d7f9b689 LC |
294 | { |
295 | .name = "log", | |
296 | .args_type = "items:s", | |
d7f9b689 | 297 | .params = "item1[,...]", |
989b697d | 298 | .help = "activate logging of the specified items", |
af4ce882 | 299 | .mhandler.cmd = do_log, |
d7f9b689 LC |
300 | }, |
301 | ||
2313086a BS |
302 | STEXI |
303 | @item log @var{item1}[,...] | |
70fcbbe7 | 304 | @findex log |
989b697d | 305 | Activate logging of the specified items. |
2313086a BS |
306 | ETEXI |
307 | ||
d7f9b689 LC |
308 | { |
309 | .name = "savevm", | |
310 | .args_type = "name:s?", | |
d7f9b689 LC |
311 | .params = "[tag|id]", |
312 | .help = "save a VM snapshot. If no tag or id are provided, a new snapshot is created", | |
af4ce882 | 313 | .mhandler.cmd = do_savevm, |
d7f9b689 LC |
314 | }, |
315 | ||
2313086a BS |
316 | STEXI |
317 | @item savevm [@var{tag}|@var{id}] | |
70fcbbe7 | 318 | @findex savevm |
2313086a BS |
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 | ||
d7f9b689 LC |
325 | { |
326 | .name = "loadvm", | |
327 | .args_type = "name:s", | |
d7f9b689 LC |
328 | .params = "tag|id", |
329 | .help = "restore a VM snapshot from its tag or id", | |
af4ce882 | 330 | .mhandler.cmd = do_loadvm, |
d7f9b689 LC |
331 | }, |
332 | ||
2313086a BS |
333 | STEXI |
334 | @item loadvm @var{tag}|@var{id} | |
70fcbbe7 | 335 | @findex loadvm |
2313086a BS |
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 | ||
d7f9b689 LC |
340 | { |
341 | .name = "delvm", | |
342 | .args_type = "name:s", | |
d7f9b689 LC |
343 | .params = "tag|id", |
344 | .help = "delete a VM snapshot from its tag or id", | |
af4ce882 | 345 | .mhandler.cmd = do_delvm, |
d7f9b689 LC |
346 | }, |
347 | ||
2313086a BS |
348 | STEXI |
349 | @item delvm @var{tag}|@var{id} | |
70fcbbe7 | 350 | @findex delvm |
2313086a BS |
351 | Delete the snapshot identified by @var{tag} or @var{id}. |
352 | ETEXI | |
353 | ||
d7f9b689 LC |
354 | { |
355 | .name = "singlestep", | |
356 | .args_type = "option:s?", | |
d7f9b689 LC |
357 | .params = "[on|off]", |
358 | .help = "run emulation in singlestep mode or switch to normal mode", | |
af4ce882 | 359 | .mhandler.cmd = do_singlestep, |
d7f9b689 LC |
360 | }, |
361 | ||
2313086a BS |
362 | STEXI |
363 | @item singlestep [off] | |
70fcbbe7 | 364 | @findex singlestep |
2313086a BS |
365 | Run the emulation in single step mode. |
366 | If called with option off, the emulation returns to normal mode. | |
367 | ETEXI | |
368 | ||
d7f9b689 LC |
369 | { |
370 | .name = "stop", | |
371 | .args_type = "", | |
d7f9b689 LC |
372 | .params = "", |
373 | .help = "stop emulation", | |
5f158f21 | 374 | .mhandler.cmd = hmp_stop, |
d7f9b689 LC |
375 | }, |
376 | ||
2313086a BS |
377 | STEXI |
378 | @item stop | |
70fcbbe7 | 379 | @findex stop |
2313086a BS |
380 | Stop emulation. |
381 | ETEXI | |
382 | ||
d7f9b689 LC |
383 | { |
384 | .name = "c|cont", | |
385 | .args_type = "", | |
d7f9b689 LC |
386 | .params = "", |
387 | .help = "resume emulation", | |
e42e818b | 388 | .mhandler.cmd = hmp_cont, |
d7f9b689 LC |
389 | }, |
390 | ||
2313086a BS |
391 | STEXI |
392 | @item c or cont | |
70fcbbe7 | 393 | @findex cont |
2313086a | 394 | Resume emulation. |
9b9df25a GH |
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. | |
2313086a BS |
409 | ETEXI |
410 | ||
d7f9b689 LC |
411 | { |
412 | .name = "gdbserver", | |
413 | .args_type = "device:s?", | |
d7f9b689 LC |
414 | .params = "[device]", |
415 | .help = "start gdbserver on given device (default 'tcp::1234'), stop with 'none'", | |
af4ce882 | 416 | .mhandler.cmd = do_gdbserver, |
d7f9b689 LC |
417 | }, |
418 | ||
2313086a BS |
419 | STEXI |
420 | @item gdbserver [@var{port}] | |
70fcbbe7 | 421 | @findex gdbserver |
2313086a BS |
422 | Start gdbserver session (default @var{port}=1234) |
423 | ETEXI | |
424 | ||
d7f9b689 LC |
425 | { |
426 | .name = "x", | |
427 | .args_type = "fmt:/,addr:l", | |
d7f9b689 LC |
428 | .params = "/fmt addr", |
429 | .help = "virtual memory dump starting at 'addr'", | |
af4ce882 | 430 | .mhandler.cmd = do_memory_dump, |
d7f9b689 LC |
431 | }, |
432 | ||
2313086a BS |
433 | STEXI |
434 | @item x/fmt @var{addr} | |
70fcbbe7 | 435 | @findex x |
2313086a BS |
436 | Virtual memory dump starting at @var{addr}. |
437 | ETEXI | |
438 | ||
d7f9b689 LC |
439 | { |
440 | .name = "xp", | |
441 | .args_type = "fmt:/,addr:l", | |
d7f9b689 LC |
442 | .params = "/fmt addr", |
443 | .help = "physical memory dump starting at 'addr'", | |
af4ce882 | 444 | .mhandler.cmd = do_physical_memory_dump, |
d7f9b689 LC |
445 | }, |
446 | ||
2313086a BS |
447 | STEXI |
448 | @item xp /@var{fmt} @var{addr} | |
70fcbbe7 | 449 | @findex xp |
2313086a BS |
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 | ||
d7f9b689 LC |
506 | { |
507 | .name = "p|print", | |
508 | .args_type = "fmt:/,val:l", | |
d7f9b689 LC |
509 | .params = "/fmt expr", |
510 | .help = "print expression value (use $reg for CPU register access)", | |
af4ce882 | 511 | .mhandler.cmd = do_print, |
d7f9b689 LC |
512 | }, |
513 | ||
2313086a BS |
514 | STEXI |
515 | @item p or print/@var{fmt} @var{expr} | |
70fcbbe7 | 516 | @findex print |
2313086a BS |
517 | |
518 | Print expression value. Only the @var{format} part of @var{fmt} is | |
519 | used. | |
520 | ETEXI | |
521 | ||
d7f9b689 LC |
522 | { |
523 | .name = "i", | |
524 | .args_type = "fmt:/,addr:i,index:i.", | |
d7f9b689 LC |
525 | .params = "/fmt addr", |
526 | .help = "I/O port read", | |
af4ce882 | 527 | .mhandler.cmd = do_ioport_read, |
d7f9b689 LC |
528 | }, |
529 | ||
2313086a BS |
530 | STEXI |
531 | Read I/O port. | |
532 | ETEXI | |
533 | ||
d7f9b689 LC |
534 | { |
535 | .name = "o", | |
536 | .args_type = "fmt:/,addr:i,val:i", | |
d7f9b689 LC |
537 | .params = "/fmt addr value", |
538 | .help = "I/O port write", | |
af4ce882 | 539 | .mhandler.cmd = do_ioport_write, |
d7f9b689 LC |
540 | }, |
541 | ||
f114784f JK |
542 | STEXI |
543 | Write to I/O port. | |
544 | ETEXI | |
2313086a | 545 | |
d7f9b689 LC |
546 | { |
547 | .name = "sendkey", | |
2ef20c15 | 548 | .args_type = "keys:s,hold-time:i?", |
d7f9b689 LC |
549 | .params = "keys [hold_ms]", |
550 | .help = "send keys to the VM (e.g. 'sendkey ctrl-alt-f1', default hold time=100 ms)", | |
e4c8f004 | 551 | .mhandler.cmd = hmp_send_key, |
d7f9b689 LC |
552 | }, |
553 | ||
2313086a BS |
554 | STEXI |
555 | @item sendkey @var{keys} | |
70fcbbe7 | 556 | @findex sendkey |
2313086a | 557 | |
886cc706 AK |
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: | |
2313086a BS |
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 | ||
d7f9b689 LC |
569 | { |
570 | .name = "system_reset", | |
571 | .args_type = "", | |
d7f9b689 LC |
572 | .params = "", |
573 | .help = "reset the system", | |
38d22653 | 574 | .mhandler.cmd = hmp_system_reset, |
d7f9b689 LC |
575 | }, |
576 | ||
2313086a BS |
577 | STEXI |
578 | @item system_reset | |
70fcbbe7 | 579 | @findex system_reset |
2313086a BS |
580 | |
581 | Reset the system. | |
582 | ETEXI | |
583 | ||
d7f9b689 LC |
584 | { |
585 | .name = "system_powerdown", | |
586 | .args_type = "", | |
d7f9b689 LC |
587 | .params = "", |
588 | .help = "send system power down event", | |
5bc465e4 | 589 | .mhandler.cmd = hmp_system_powerdown, |
d7f9b689 LC |
590 | }, |
591 | ||
2313086a BS |
592 | STEXI |
593 | @item system_powerdown | |
70fcbbe7 | 594 | @findex system_powerdown |
2313086a BS |
595 | |
596 | Power down the system (if supported). | |
597 | ETEXI | |
598 | ||
d7f9b689 LC |
599 | { |
600 | .name = "sum", | |
601 | .args_type = "start:i,size:i", | |
d7f9b689 LC |
602 | .params = "addr size", |
603 | .help = "compute the checksum of a memory region", | |
af4ce882 | 604 | .mhandler.cmd = do_sum, |
d7f9b689 LC |
605 | }, |
606 | ||
2313086a BS |
607 | STEXI |
608 | @item sum @var{addr} @var{size} | |
70fcbbe7 | 609 | @findex sum |
2313086a BS |
610 | |
611 | Compute the checksum of a memory region. | |
612 | ETEXI | |
613 | ||
d7f9b689 LC |
614 | { |
615 | .name = "usb_add", | |
616 | .args_type = "devname:s", | |
d7f9b689 LC |
617 | .params = "device", |
618 | .help = "add USB device (e.g. 'host:bus.addr' or 'host:vendor_id:product_id')", | |
af4ce882 | 619 | .mhandler.cmd = do_usb_add, |
d7f9b689 LC |
620 | }, |
621 | ||
2313086a BS |
622 | STEXI |
623 | @item usb_add @var{devname} | |
70fcbbe7 | 624 | @findex usb_add |
2313086a BS |
625 | |
626 | Add the USB device @var{devname}. For details of available devices see | |
627 | @ref{usb_devices} | |
628 | ETEXI | |
629 | ||
d7f9b689 LC |
630 | { |
631 | .name = "usb_del", | |
632 | .args_type = "devname:s", | |
d7f9b689 LC |
633 | .params = "device", |
634 | .help = "remove USB device 'bus.addr'", | |
af4ce882 | 635 | .mhandler.cmd = do_usb_del, |
d7f9b689 LC |
636 | }, |
637 | ||
2313086a BS |
638 | STEXI |
639 | @item usb_del @var{devname} | |
70fcbbe7 | 640 | @findex usb_del |
2313086a BS |
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 | ||
d7f9b689 LC |
647 | { |
648 | .name = "device_add", | |
c7e4e8ce MA |
649 | .args_type = "device:O", |
650 | .params = "driver[,prop=value][,...]", | |
d7f9b689 | 651 | .help = "add device, like -device on the command line", |
8bc27249 MA |
652 | .user_print = monitor_user_noop, |
653 | .mhandler.cmd_new = do_device_add, | |
d7f9b689 LC |
654 | }, |
655 | ||
3418bd25 GH |
656 | STEXI |
657 | @item device_add @var{config} | |
70fcbbe7 | 658 | @findex device_add |
3418bd25 GH |
659 | |
660 | Add device. | |
661 | ETEXI | |
662 | ||
d7f9b689 LC |
663 | { |
664 | .name = "device_del", | |
665 | .args_type = "id:s", | |
d7f9b689 LC |
666 | .params = "device", |
667 | .help = "remove device", | |
a15fef21 | 668 | .mhandler.cmd = hmp_device_del, |
d7f9b689 LC |
669 | }, |
670 | ||
3418bd25 GH |
671 | STEXI |
672 | @item device_del @var{id} | |
70fcbbe7 | 673 | @findex device_del |
3418bd25 GH |
674 | |
675 | Remove device @var{id}. | |
676 | ETEXI | |
677 | ||
d7f9b689 LC |
678 | { |
679 | .name = "cpu", | |
680 | .args_type = "index:i", | |
d7f9b689 LC |
681 | .params = "index", |
682 | .help = "set the default CPU", | |
755f1968 | 683 | .mhandler.cmd = hmp_cpu, |
d7f9b689 | 684 | }, |
3418bd25 | 685 | |
2313086a | 686 | STEXI |
c427ea9c MA |
687 | @item cpu @var{index} |
688 | @findex cpu | |
2313086a BS |
689 | Set the default CPU. |
690 | ETEXI | |
691 | ||
d7f9b689 LC |
692 | { |
693 | .name = "mouse_move", | |
694 | .args_type = "dx_str:s,dy_str:s,dz_str:s?", | |
d7f9b689 LC |
695 | .params = "dx dy [dz]", |
696 | .help = "send mouse move events", | |
af4ce882 | 697 | .mhandler.cmd = do_mouse_move, |
d7f9b689 LC |
698 | }, |
699 | ||
2313086a BS |
700 | STEXI |
701 | @item mouse_move @var{dx} @var{dy} [@var{dz}] | |
70fcbbe7 | 702 | @findex mouse_move |
2313086a BS |
703 | Move the active mouse to the specified coordinates @var{dx} @var{dy} |
704 | with optional scroll axis @var{dz}. | |
705 | ETEXI | |
706 | ||
d7f9b689 LC |
707 | { |
708 | .name = "mouse_button", | |
709 | .args_type = "button_state:i", | |
d7f9b689 LC |
710 | .params = "state", |
711 | .help = "change mouse button state (1=L, 2=M, 4=R)", | |
af4ce882 | 712 | .mhandler.cmd = do_mouse_button, |
d7f9b689 LC |
713 | }, |
714 | ||
2313086a BS |
715 | STEXI |
716 | @item mouse_button @var{val} | |
70fcbbe7 | 717 | @findex mouse_button |
2313086a BS |
718 | Change the active mouse button state @var{val} (1=L, 2=M, 4=R). |
719 | ETEXI | |
720 | ||
d7f9b689 LC |
721 | { |
722 | .name = "mouse_set", | |
723 | .args_type = "index:i", | |
d7f9b689 LC |
724 | .params = "index", |
725 | .help = "set which mouse device receives events", | |
af4ce882 | 726 | .mhandler.cmd = do_mouse_set, |
d7f9b689 LC |
727 | }, |
728 | ||
2313086a BS |
729 | STEXI |
730 | @item mouse_set @var{index} | |
70fcbbe7 | 731 | @findex mouse_set |
2313086a BS |
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 | |
d7f9b689 LC |
740 | { |
741 | .name = "wavcapture", | |
742 | .args_type = "path:F,freq:i?,bits:i?,nchannels:i?", | |
d7f9b689 LC |
743 | .params = "path [frequency [bits [channels]]]", |
744 | .help = "capture audio to a wave file (default frequency=44100 bits=16 channels=2)", | |
af4ce882 | 745 | .mhandler.cmd = do_wav_capture, |
d7f9b689 | 746 | }, |
2313086a BS |
747 | #endif |
748 | STEXI | |
749 | @item wavcapture @var{filename} [@var{frequency} [@var{bits} [@var{channels}]]] | |
70fcbbe7 | 750 | @findex wavcapture |
2313086a BS |
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 | |
d7f9b689 LC |
763 | { |
764 | .name = "stopcapture", | |
765 | .args_type = "n:i", | |
d7f9b689 LC |
766 | .params = "capture index", |
767 | .help = "stop capture", | |
af4ce882 | 768 | .mhandler.cmd = do_stop_capture, |
d7f9b689 | 769 | }, |
2313086a BS |
770 | #endif |
771 | STEXI | |
772 | @item stopcapture @var{index} | |
70fcbbe7 | 773 | @findex stopcapture |
2313086a BS |
774 | Stop capture with a given @var{index}, index can be obtained with |
775 | @example | |
776 | info capture | |
777 | @end example | |
778 | ETEXI | |
779 | ||
d7f9b689 LC |
780 | { |
781 | .name = "memsave", | |
782 | .args_type = "val:l,size:i,filename:s", | |
d7f9b689 LC |
783 | .params = "addr size file", |
784 | .help = "save to disk virtual memory dump starting at 'addr' of size 'size'", | |
0cfd6a9a | 785 | .mhandler.cmd = hmp_memsave, |
d7f9b689 LC |
786 | }, |
787 | ||
2313086a BS |
788 | STEXI |
789 | @item memsave @var{addr} @var{size} @var{file} | |
70fcbbe7 | 790 | @findex memsave |
2313086a BS |
791 | save to disk virtual memory dump starting at @var{addr} of size @var{size}. |
792 | ETEXI | |
793 | ||
d7f9b689 LC |
794 | { |
795 | .name = "pmemsave", | |
796 | .args_type = "val:l,size:i,filename:s", | |
d7f9b689 LC |
797 | .params = "addr size file", |
798 | .help = "save to disk physical memory dump starting at 'addr' of size 'size'", | |
6d3962bf | 799 | .mhandler.cmd = hmp_pmemsave, |
d7f9b689 LC |
800 | }, |
801 | ||
2313086a BS |
802 | STEXI |
803 | @item pmemsave @var{addr} @var{size} @var{file} | |
70fcbbe7 | 804 | @findex pmemsave |
2313086a BS |
805 | save to disk physical memory dump starting at @var{addr} of size @var{size}. |
806 | ETEXI | |
807 | ||
d7f9b689 LC |
808 | { |
809 | .name = "boot_set", | |
810 | .args_type = "bootdevice:s", | |
d7f9b689 LC |
811 | .params = "bootdevice", |
812 | .help = "define new values for the boot device list", | |
af4ce882 | 813 | .mhandler.cmd = do_boot_set, |
d7f9b689 LC |
814 | }, |
815 | ||
2313086a BS |
816 | STEXI |
817 | @item boot_set @var{bootdevicelist} | |
70fcbbe7 | 818 | @findex boot_set |
2313086a BS |
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) | |
d7f9b689 LC |
828 | { |
829 | .name = "nmi", | |
e9b4b432 LC |
830 | .args_type = "", |
831 | .params = "", | |
832 | .help = "inject an NMI on all guest's CPUs", | |
ab49ab5c | 833 | .mhandler.cmd = hmp_inject_nmi, |
d7f9b689 | 834 | }, |
2313086a BS |
835 | #endif |
836 | STEXI | |
837 | @item nmi @var{cpu} | |
70fcbbe7 | 838 | @findex nmi |
2313086a | 839 | Inject an NMI on the given CPU (x86 only). |
1f590cf9 LL |
840 | |
841 | ETEXI | |
842 | ||
843 | { | |
3949e594 | 844 | .name = "ringbuf_write", |
1f590cf9 LL |
845 | .args_type = "device:s,data:s", |
846 | .params = "device data", | |
3949e594 MA |
847 | .help = "Write to a ring buffer character device", |
848 | .mhandler.cmd = hmp_ringbuf_write, | |
1f590cf9 LL |
849 | }, |
850 | ||
851 | STEXI | |
3949e594 MA |
852 | @item ringbuf_write @var{device} @var{data} |
853 | @findex ringbuf_write | |
854 | Write @var{data} to ring buffer character device @var{device}. | |
855 | @var{data} must be a UTF-8 string. | |
1f590cf9 | 856 | |
49b6d722 LL |
857 | ETEXI |
858 | ||
859 | { | |
3949e594 | 860 | .name = "ringbuf_read", |
49b6d722 LL |
861 | .args_type = "device:s,size:i", |
862 | .params = "device size", | |
3949e594 MA |
863 | .help = "Read from a ring buffer character device", |
864 | .mhandler.cmd = hmp_ringbuf_read, | |
49b6d722 LL |
865 | }, |
866 | ||
867 | STEXI | |
3949e594 MA |
868 | @item ringbuf_read @var{device} |
869 | @findex ringbuf_read | |
870 | Read and print up to @var{size} bytes from ring buffer character | |
871 | device @var{device}. | |
543f3412 MA |
872 | Certain non-printable characters are printed \uXXXX, where XXXX is the |
873 | character code in hexadecimal. Character \ is printed \\. | |
3949e594 MA |
874 | Bug: can screw up when the buffer contains invalid UTF-8 sequences, |
875 | NUL characters, after the ring buffer lost data, and when reading | |
876 | stops because the size limit is reached. | |
49b6d722 | 877 | |
2313086a BS |
878 | ETEXI |
879 | ||
d7f9b689 LC |
880 | { |
881 | .name = "migrate", | |
fbc3d96c LS |
882 | .args_type = "detach:-d,blk:-b,inc:-i,uri:s", |
883 | .params = "[-d] [-b] [-i] uri", | |
884 | .help = "migrate to URI (using -d to not wait for completion)" | |
885 | "\n\t\t\t -b for migration without shared storage with" | |
886 | " full copy of disk\n\t\t\t -i for migration without " | |
887 | "shared storage with incremental copy of disk " | |
888 | "(base image shared between src and destination)", | |
e1c37d0e | 889 | .mhandler.cmd = hmp_migrate, |
d7f9b689 LC |
890 | }, |
891 | ||
fbc3d96c | 892 | |
2313086a | 893 | STEXI |
fbc3d96c | 894 | @item migrate [-d] [-b] [-i] @var{uri} |
70fcbbe7 | 895 | @findex migrate |
2313086a | 896 | Migrate to @var{uri} (using -d to not wait for completion). |
fbc3d96c LS |
897 | -b for migration with full copy of disk |
898 | -i for migration with incremental copy of disk (base image is shared) | |
2313086a BS |
899 | ETEXI |
900 | ||
d7f9b689 LC |
901 | { |
902 | .name = "migrate_cancel", | |
903 | .args_type = "", | |
d7f9b689 LC |
904 | .params = "", |
905 | .help = "cancel the current VM migration", | |
6cdedb07 | 906 | .mhandler.cmd = hmp_migrate_cancel, |
d7f9b689 LC |
907 | }, |
908 | ||
2313086a BS |
909 | STEXI |
910 | @item migrate_cancel | |
70fcbbe7 | 911 | @findex migrate_cancel |
2313086a | 912 | Cancel the current VM migration. |
9e1ba4cc OW |
913 | |
914 | ETEXI | |
915 | ||
916 | { | |
917 | .name = "migrate_set_cache_size", | |
918 | .args_type = "value:o", | |
919 | .params = "value", | |
920 | .help = "set cache size (in bytes) for XBZRLE migrations," | |
921 | "the cache size will be rounded down to the nearest " | |
922 | "power of 2.\n" | |
923 | "The cache size affects the number of cache misses." | |
924 | "In case of a high cache miss ratio you need to increase" | |
925 | " the cache size", | |
926 | .mhandler.cmd = hmp_migrate_set_cache_size, | |
927 | }, | |
928 | ||
929 | STEXI | |
930 | @item migrate_set_cache_size @var{value} | |
931 | @findex migrate_set_cache_size | |
932 | Set cache size to @var{value} (in bytes) for xbzrle migrations. | |
2313086a BS |
933 | ETEXI |
934 | ||
d7f9b689 LC |
935 | { |
936 | .name = "migrate_set_speed", | |
ed3d4a80 | 937 | .args_type = "value:o", |
d7f9b689 | 938 | .params = "value", |
ed3d4a80 JS |
939 | .help = "set maximum speed (in bytes) for migrations. " |
940 | "Defaults to MB if no size suffix is specified, ie. B/K/M/G/T", | |
3dc85383 | 941 | .mhandler.cmd = hmp_migrate_set_speed, |
d7f9b689 LC |
942 | }, |
943 | ||
2313086a BS |
944 | STEXI |
945 | @item migrate_set_speed @var{value} | |
70fcbbe7 | 946 | @findex migrate_set_speed |
2313086a | 947 | Set maximum speed to @var{value} (in bytes) for migrations. |
2ea42952 GC |
948 | ETEXI |
949 | ||
d7f9b689 LC |
950 | { |
951 | .name = "migrate_set_downtime", | |
b0fbf7d3 | 952 | .args_type = "value:T", |
d7f9b689 LC |
953 | .params = "value", |
954 | .help = "set maximum tolerated downtime (in seconds) for migrations", | |
4f0a993b | 955 | .mhandler.cmd = hmp_migrate_set_downtime, |
d7f9b689 | 956 | }, |
2ea42952 GC |
957 | |
958 | STEXI | |
959 | @item migrate_set_downtime @var{second} | |
70fcbbe7 | 960 | @findex migrate_set_downtime |
2ea42952 | 961 | Set maximum tolerated downtime (in seconds) for migration. |
00458433 OW |
962 | ETEXI |
963 | ||
964 | { | |
965 | .name = "migrate_set_capability", | |
966 | .args_type = "capability:s,state:b", | |
967 | .params = "capability state", | |
968 | .help = "Enable/Disable the usage of a capability for migration", | |
969 | .mhandler.cmd = hmp_migrate_set_capability, | |
970 | }, | |
971 | ||
972 | STEXI | |
973 | @item migrate_set_capability @var{capability} @var{state} | |
974 | @findex migrate_set_capability | |
975 | Enable/Disable the usage of a capability @var{capability} for migration. | |
f8882568 JS |
976 | ETEXI |
977 | ||
978 | { | |
2ea720db JS |
979 | .name = "client_migrate_info", |
980 | .args_type = "protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?", | |
981 | .params = "protocol hostname port tls-port cert-subject", | |
982 | .help = "send migration info to spice/vnc client", | |
983 | .user_print = monitor_user_noop, | |
edc5cb1a YH |
984 | .mhandler.cmd_async = client_migrate_info, |
985 | .flags = MONITOR_CMD_ASYNC, | |
f8882568 JS |
986 | }, |
987 | ||
e866e239 GH |
988 | STEXI |
989 | @item client_migrate_info @var{protocol} @var{hostname} @var{port} @var{tls-port} @var{cert-subject} | |
990 | @findex client_migrate_info | |
991 | Set the spice/vnc connection info for the migration target. The spice/vnc | |
992 | server will ask the spice/vnc client to automatically reconnect using the | |
993 | new parameters (if specified) once the vm migration finished successfully. | |
994 | ETEXI | |
995 | ||
783e9b48 WC |
996 | #if defined(CONFIG_HAVE_CORE_DUMP) |
997 | { | |
998 | .name = "dump-guest-memory", | |
75363769 LC |
999 | .args_type = "paging:-p,filename:F,begin:i?,length:i?", |
1000 | .params = "[-p] filename [begin] [length]", | |
783e9b48 WC |
1001 | .help = "dump guest memory to file" |
1002 | "\n\t\t\t begin(optional): the starting physical address" | |
1003 | "\n\t\t\t length(optional): the memory size, in bytes", | |
783e9b48 WC |
1004 | .mhandler.cmd = hmp_dump_guest_memory, |
1005 | }, | |
1006 | ||
1007 | ||
1008 | STEXI | |
1009 | @item dump-guest-memory [-p] @var{protocol} @var{begin} @var{length} | |
1010 | @findex dump-guest-memory | |
1011 | Dump guest memory to @var{protocol}. The file can be processed with crash or | |
1012 | gdb. | |
75363769 | 1013 | filename: dump file name |
783e9b48 WC |
1014 | paging: do paging to get guest's memory mapping |
1015 | begin: the starting physical address. It's optional, and should be | |
1016 | specified with length together. | |
1017 | length: the memory size, in bytes. It's optional, and should be specified | |
1018 | with begin together. | |
1019 | ETEXI | |
1020 | #endif | |
1021 | ||
e866e239 | 1022 | { |
2ea720db | 1023 | .name = "snapshot_blkdev", |
6cc2a415 PB |
1024 | .args_type = "reuse:-n,device:B,snapshot-file:s?,format:s?", |
1025 | .params = "[-n] device [new-image-file] [format]", | |
2ea720db JS |
1026 | .help = "initiates a live snapshot\n\t\t\t" |
1027 | "of device. If a new image file is specified, the\n\t\t\t" | |
1028 | "new image file will become the new root image.\n\t\t\t" | |
1029 | "If format is specified, the snapshot file will\n\t\t\t" | |
1030 | "be created in that format. Otherwise the\n\t\t\t" | |
6cc2a415 PB |
1031 | "snapshot will be internal! (currently unsupported).\n\t\t\t" |
1032 | "The default format is qcow2. The -n flag requests QEMU\n\t\t\t" | |
1033 | "to reuse the image found in new-image-file, instead of\n\t\t\t" | |
1034 | "recreating it from scratch.", | |
6106e249 | 1035 | .mhandler.cmd = hmp_snapshot_blkdev, |
e866e239 GH |
1036 | }, |
1037 | ||
f8882568 JS |
1038 | STEXI |
1039 | @item snapshot_blkdev | |
1040 | @findex snapshot_blkdev | |
1041 | Snapshot device, using snapshot file as target if provided | |
d9b902db PB |
1042 | ETEXI |
1043 | ||
1044 | { | |
1045 | .name = "drive_mirror", | |
1046 | .args_type = "reuse:-n,full:-f,device:B,target:s,format:s?", | |
1047 | .params = "[-n] [-f] device target [format]", | |
1048 | .help = "initiates live storage\n\t\t\t" | |
1049 | "migration for a device. The device's contents are\n\t\t\t" | |
1050 | "copied to the new image file, including data that\n\t\t\t" | |
1051 | "is written after the command is started.\n\t\t\t" | |
1052 | "The -n flag requests QEMU to reuse the image found\n\t\t\t" | |
1053 | "in new-image-file, instead of recreating it from scratch.\n\t\t\t" | |
1054 | "The -f flag requests QEMU to copy the whole disk,\n\t\t\t" | |
1055 | "so that the result does not need a backing file.\n\t\t\t", | |
1056 | .mhandler.cmd = hmp_drive_mirror, | |
1057 | }, | |
1058 | STEXI | |
1059 | @item drive_mirror | |
1060 | @findex drive_mirror | |
1061 | Start mirroring a block device's writes to a new destination, | |
1062 | using the specified target. | |
2313086a BS |
1063 | ETEXI |
1064 | ||
d7f9b689 LC |
1065 | { |
1066 | .name = "drive_add", | |
1067 | .args_type = "pci_addr:s,opts:s", | |
d7f9b689 LC |
1068 | .params = "[[<domain>:]<bus>:]<slot>\n" |
1069 | "[file=file][,if=type][,bus=n]\n" | |
fb0490f6 | 1070 | "[,unit=m][,media=d][,index=i]\n" |
d7f9b689 | 1071 | "[,cyls=c,heads=h,secs=s[,trans=t]]\n" |
fb0490f6 SH |
1072 | "[,snapshot=on|off][,cache=on|off]\n" |
1073 | "[,readonly=on|off][,copy-on-read=on|off]", | |
d7f9b689 | 1074 | .help = "add drive to PCI storage controller", |
af4ce882 | 1075 | .mhandler.cmd = drive_hot_add, |
d7f9b689 | 1076 | }, |
d7f9b689 | 1077 | |
2313086a BS |
1078 | STEXI |
1079 | @item drive_add | |
70fcbbe7 | 1080 | @findex drive_add |
2313086a BS |
1081 | Add drive to PCI storage controller. |
1082 | ETEXI | |
1083 | ||
1084 | #if defined(TARGET_I386) | |
d7f9b689 LC |
1085 | { |
1086 | .name = "pci_add", | |
1087 | .args_type = "pci_addr:s,type:s,opts:s?", | |
d7f9b689 LC |
1088 | .params = "auto|[[<domain>:]<bus>:]<slot> nic|storage [[vlan=n][,macaddr=addr][,model=type]] [file=file][,if=type][,bus=nr]...", |
1089 | .help = "hot-add PCI device", | |
6c6a58ae | 1090 | .mhandler.cmd = pci_device_hot_add, |
d7f9b689 | 1091 | }, |
2313086a | 1092 | #endif |
d7f9b689 | 1093 | |
2313086a BS |
1094 | STEXI |
1095 | @item pci_add | |
70fcbbe7 | 1096 | @findex pci_add |
2313086a BS |
1097 | Hot-add PCI device. |
1098 | ETEXI | |
1099 | ||
1100 | #if defined(TARGET_I386) | |
d7f9b689 LC |
1101 | { |
1102 | .name = "pci_del", | |
1103 | .args_type = "pci_addr:s", | |
d7f9b689 LC |
1104 | .params = "[[<domain>:]<bus>:]<slot>", |
1105 | .help = "hot remove PCI device", | |
b752daf0 | 1106 | .mhandler.cmd = do_pci_device_hot_remove, |
d7f9b689 | 1107 | }, |
2313086a | 1108 | #endif |
d7f9b689 | 1109 | |
2313086a BS |
1110 | STEXI |
1111 | @item pci_del | |
70fcbbe7 | 1112 | @findex pci_del |
2313086a | 1113 | Hot remove PCI device. |
2ae63bda IY |
1114 | ETEXI |
1115 | ||
1116 | { | |
1117 | .name = "pcie_aer_inject_error", | |
1118 | .args_type = "advisory_non_fatal:-a,correctable:-c," | |
1119 | "id:s,error_status:s," | |
1120 | "header0:i?,header1:i?,header2:i?,header3:i?," | |
1121 | "prefix0:i?,prefix1:i?,prefix2:i?,prefix3:i?", | |
1122 | .params = "[-a] [-c] id " | |
1123 | "<error_status> [<tlp header> [<tlp header prefix>]]", | |
1124 | .help = "inject pcie aer error\n\t\t\t" | |
1125 | " -a for advisory non fatal error\n\t\t\t" | |
1126 | " -c for correctable error\n\t\t\t" | |
1127 | "<id> = qdev device id\n\t\t\t" | |
1128 | "<error_status> = error string or 32bit\n\t\t\t" | |
1129 | "<tlb header> = 32bit x 4\n\t\t\t" | |
1130 | "<tlb header prefix> = 32bit x 4", | |
1131 | .user_print = pcie_aer_inject_error_print, | |
1f3392b7 | 1132 | .mhandler.cmd_new = do_pcie_aer_inject_error, |
2ae63bda IY |
1133 | }, |
1134 | ||
1135 | STEXI | |
1136 | @item pcie_aer_inject_error | |
1137 | @findex pcie_aer_inject_error | |
1138 | Inject PCIe AER error | |
2313086a BS |
1139 | ETEXI |
1140 | ||
d7f9b689 LC |
1141 | { |
1142 | .name = "host_net_add", | |
1143 | .args_type = "device:s,opts:s?", | |
d7f9b689 LC |
1144 | .params = "tap|user|socket|vde|dump [options]", |
1145 | .help = "add host VLAN client", | |
af4ce882 | 1146 | .mhandler.cmd = net_host_device_add, |
d7f9b689 LC |
1147 | }, |
1148 | ||
2313086a BS |
1149 | STEXI |
1150 | @item host_net_add | |
70fcbbe7 | 1151 | @findex host_net_add |
2313086a BS |
1152 | Add host VLAN client. |
1153 | ETEXI | |
1154 | ||
d7f9b689 LC |
1155 | { |
1156 | .name = "host_net_remove", | |
1157 | .args_type = "vlan_id:i,device:s", | |
d7f9b689 LC |
1158 | .params = "vlan_id name", |
1159 | .help = "remove host VLAN client", | |
af4ce882 | 1160 | .mhandler.cmd = net_host_device_remove, |
d7f9b689 LC |
1161 | }, |
1162 | ||
2313086a BS |
1163 | STEXI |
1164 | @item host_net_remove | |
70fcbbe7 | 1165 | @findex host_net_remove |
2313086a | 1166 | Remove host VLAN client. |
ae82d324 MA |
1167 | ETEXI |
1168 | ||
1169 | { | |
1170 | .name = "netdev_add", | |
1171 | .args_type = "netdev:O", | |
40e8c26d | 1172 | .params = "[user|tap|socket|hubport],id=str[,prop=value][,...]", |
ae82d324 | 1173 | .help = "add host network device", |
928059a3 | 1174 | .mhandler.cmd = hmp_netdev_add, |
ae82d324 MA |
1175 | }, |
1176 | ||
1177 | STEXI | |
1178 | @item netdev_add | |
1179 | @findex netdev_add | |
1180 | Add host network device. | |
1181 | ETEXI | |
1182 | ||
1183 | { | |
1184 | .name = "netdev_del", | |
1185 | .args_type = "id:s", | |
1186 | .params = "id", | |
1187 | .help = "remove host network device", | |
5f964155 | 1188 | .mhandler.cmd = hmp_netdev_del, |
ae82d324 MA |
1189 | }, |
1190 | ||
1191 | STEXI | |
1192 | @item netdev_del | |
1193 | @findex netdev_del | |
1194 | Remove host network device. | |
2313086a BS |
1195 | ETEXI |
1196 | ||
1197 | #ifdef CONFIG_SLIRP | |
d7f9b689 LC |
1198 | { |
1199 | .name = "hostfwd_add", | |
1200 | .args_type = "arg1:s,arg2:s?,arg3:s?", | |
d7f9b689 LC |
1201 | .params = "[vlan_id name] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport", |
1202 | .help = "redirect TCP or UDP connections from host to guest (requires -net user)", | |
af4ce882 | 1203 | .mhandler.cmd = net_slirp_hostfwd_add, |
d7f9b689 | 1204 | }, |
21413d68 MA |
1205 | #endif |
1206 | STEXI | |
1207 | @item hostfwd_add | |
1208 | @findex hostfwd_add | |
1209 | Redirect TCP or UDP connections from host to guest (requires -net user). | |
1210 | ETEXI | |
d7f9b689 | 1211 | |
21413d68 | 1212 | #ifdef CONFIG_SLIRP |
d7f9b689 LC |
1213 | { |
1214 | .name = "hostfwd_remove", | |
1215 | .args_type = "arg1:s,arg2:s?,arg3:s?", | |
d7f9b689 LC |
1216 | .params = "[vlan_id name] [tcp|udp]:[hostaddr]:hostport", |
1217 | .help = "remove host-to-guest TCP or UDP redirection", | |
af4ce882 | 1218 | .mhandler.cmd = net_slirp_hostfwd_remove, |
d7f9b689 LC |
1219 | }, |
1220 | ||
2313086a BS |
1221 | #endif |
1222 | STEXI | |
21413d68 MA |
1223 | @item hostfwd_remove |
1224 | @findex hostfwd_remove | |
1225 | Remove host-to-guest TCP or UDP redirection. | |
2313086a BS |
1226 | ETEXI |
1227 | ||
d7f9b689 LC |
1228 | { |
1229 | .name = "balloon", | |
3b0bd6ec | 1230 | .args_type = "value:M", |
d7f9b689 | 1231 | .params = "target", |
3c05613a | 1232 | .help = "request VM to change its memory allocation (in MB)", |
d72f3264 | 1233 | .mhandler.cmd = hmp_balloon, |
d7f9b689 LC |
1234 | }, |
1235 | ||
2313086a BS |
1236 | STEXI |
1237 | @item balloon @var{value} | |
70fcbbe7 | 1238 | @findex balloon |
2313086a BS |
1239 | Request VM to change its memory allocation to @var{value} (in MB). |
1240 | ETEXI | |
1241 | ||
d7f9b689 LC |
1242 | { |
1243 | .name = "set_link", | |
c9b26a4c MA |
1244 | .args_type = "name:s,up:b", |
1245 | .params = "name on|off", | |
d7f9b689 | 1246 | .help = "change the link status of a network adapter", |
4b37156c | 1247 | .mhandler.cmd = hmp_set_link, |
d7f9b689 LC |
1248 | }, |
1249 | ||
2313086a | 1250 | STEXI |
c9b26a4c | 1251 | @item set_link @var{name} [on|off] |
70fcbbe7 | 1252 | @findex set_link |
c9b26a4c | 1253 | Switch link @var{name} on (i.e. up) or off (i.e. down). |
2313086a BS |
1254 | ETEXI |
1255 | ||
d7f9b689 LC |
1256 | { |
1257 | .name = "watchdog_action", | |
1258 | .args_type = "action:s", | |
d7f9b689 LC |
1259 | .params = "[reset|shutdown|poweroff|pause|debug|none]", |
1260 | .help = "change watchdog action", | |
af4ce882 | 1261 | .mhandler.cmd = do_watchdog_action, |
d7f9b689 LC |
1262 | }, |
1263 | ||
2313086a BS |
1264 | STEXI |
1265 | @item watchdog_action | |
70fcbbe7 | 1266 | @findex watchdog_action |
2313086a BS |
1267 | Change watchdog action. |
1268 | ETEXI | |
1269 | ||
d7f9b689 LC |
1270 | { |
1271 | .name = "acl_show", | |
1272 | .args_type = "aclname:s", | |
d7f9b689 LC |
1273 | .params = "aclname", |
1274 | .help = "list rules in the access control list", | |
af4ce882 | 1275 | .mhandler.cmd = do_acl_show, |
d7f9b689 LC |
1276 | }, |
1277 | ||
2313086a | 1278 | STEXI |
15dfcd45 | 1279 | @item acl_show @var{aclname} |
70fcbbe7 | 1280 | @findex acl_show |
15dfcd45 JK |
1281 | List all the matching rules in the access control list, and the default |
1282 | policy. There are currently two named access control lists, | |
1283 | @var{vnc.x509dname} and @var{vnc.username} matching on the x509 client | |
1284 | certificate distinguished name, and SASL username respectively. | |
1285 | ETEXI | |
2313086a | 1286 | |
d7f9b689 LC |
1287 | { |
1288 | .name = "acl_policy", | |
1289 | .args_type = "aclname:s,policy:s", | |
d7f9b689 LC |
1290 | .params = "aclname allow|deny", |
1291 | .help = "set default access control list policy", | |
af4ce882 | 1292 | .mhandler.cmd = do_acl_policy, |
d7f9b689 LC |
1293 | }, |
1294 | ||
15dfcd45 | 1295 | STEXI |
cbbfacc6 | 1296 | @item acl_policy @var{aclname} @code{allow|deny} |
70fcbbe7 | 1297 | @findex acl_policy |
15dfcd45 | 1298 | Set the default access control list policy, used in the event that |
2313086a | 1299 | none of the explicit rules match. The default policy at startup is |
15dfcd45 JK |
1300 | always @code{deny}. |
1301 | ETEXI | |
1302 | ||
d7f9b689 LC |
1303 | { |
1304 | .name = "acl_add", | |
1305 | .args_type = "aclname:s,match:s,policy:s,index:i?", | |
d7f9b689 LC |
1306 | .params = "aclname match allow|deny [index]", |
1307 | .help = "add a match rule to the access control list", | |
af4ce882 | 1308 | .mhandler.cmd = do_acl_add, |
d7f9b689 LC |
1309 | }, |
1310 | ||
15dfcd45 | 1311 | STEXI |
0e4aec98 MA |
1312 | @item acl_add @var{aclname} @var{match} @code{allow|deny} [@var{index}] |
1313 | @findex acl_add | |
15dfcd45 JK |
1314 | Add a match rule to the access control list, allowing or denying access. |
1315 | The match will normally be an exact username or x509 distinguished name, | |
1316 | but can optionally include wildcard globs. eg @code{*@@EXAMPLE.COM} to | |
1317 | allow all users in the @code{EXAMPLE.COM} kerberos realm. The match will | |
2313086a | 1318 | normally be appended to the end of the ACL, but can be inserted |
15dfcd45 JK |
1319 | earlier in the list if the optional @var{index} parameter is supplied. |
1320 | ETEXI | |
1321 | ||
d7f9b689 LC |
1322 | { |
1323 | .name = "acl_remove", | |
1324 | .args_type = "aclname:s,match:s", | |
d7f9b689 LC |
1325 | .params = "aclname match", |
1326 | .help = "remove a match rule from the access control list", | |
af4ce882 | 1327 | .mhandler.cmd = do_acl_remove, |
d7f9b689 LC |
1328 | }, |
1329 | ||
15dfcd45 JK |
1330 | STEXI |
1331 | @item acl_remove @var{aclname} @var{match} | |
70fcbbe7 | 1332 | @findex acl_remove |
15dfcd45 JK |
1333 | Remove the specified match rule from the access control list. |
1334 | ETEXI | |
1335 | ||
d7f9b689 LC |
1336 | { |
1337 | .name = "acl_reset", | |
1338 | .args_type = "aclname:s", | |
d7f9b689 LC |
1339 | .params = "aclname", |
1340 | .help = "reset the access control list", | |
af4ce882 | 1341 | .mhandler.cmd = do_acl_reset, |
d7f9b689 LC |
1342 | }, |
1343 | ||
15dfcd45 | 1344 | STEXI |
0e4aec98 MA |
1345 | @item acl_reset @var{aclname} |
1346 | @findex acl_reset | |
15dfcd45 | 1347 | Remove all matches from the access control list, and set the default |
2313086a | 1348 | policy back to @code{deny}. |
2313086a BS |
1349 | ETEXI |
1350 | ||
4057725f PB |
1351 | { |
1352 | .name = "nbd_server_start", | |
1353 | .args_type = "all:-a,writable:-w,uri:s", | |
1354 | .params = "nbd_server_start [-a] [-w] host:port", | |
1355 | .help = "serve block devices on the given host and port", | |
1356 | .mhandler.cmd = hmp_nbd_server_start, | |
1357 | }, | |
1358 | STEXI | |
1359 | @item nbd_server_start @var{host}:@var{port} | |
1360 | @findex nbd_server_start | |
1361 | Start an NBD server on the given host and/or port. If the @option{-a} | |
1362 | option is included, all of the virtual machine's block devices that | |
1363 | have an inserted media on them are automatically exported; in this case, | |
1364 | the @option{-w} option makes the devices writable too. | |
1365 | ETEXI | |
1366 | ||
1367 | { | |
1368 | .name = "nbd_server_add", | |
1369 | .args_type = "writable:-w,device:B", | |
1370 | .params = "nbd_server_add [-w] device", | |
1371 | .help = "export a block device via NBD", | |
1372 | .mhandler.cmd = hmp_nbd_server_add, | |
1373 | }, | |
1374 | STEXI | |
1375 | @item nbd_server_add @var{device} | |
1376 | @findex nbd_server_add | |
1377 | Export a block device through QEMU's NBD server, which must be started | |
1378 | beforehand with @command{nbd_server_start}. The @option{-w} option makes the | |
1379 | exported device writable too. | |
1380 | ETEXI | |
1381 | ||
1382 | { | |
1383 | .name = "nbd_server_stop", | |
1384 | .args_type = "", | |
1385 | .params = "nbd_server_stop", | |
1386 | .help = "stop serving block devices using the NBD protocol", | |
1387 | .mhandler.cmd = hmp_nbd_server_stop, | |
1388 | }, | |
1389 | STEXI | |
1390 | @item nbd_server_stop | |
1391 | @findex nbd_server_stop | |
1392 | Stop the QEMU embedded NBD server. | |
1393 | ETEXI | |
1394 | ||
1395 | ||
79c4f6b0 | 1396 | #if defined(TARGET_I386) |
d7f9b689 LC |
1397 | |
1398 | { | |
1399 | .name = "mce", | |
31ce5e0c JD |
1400 | .args_type = "broadcast:-b,cpu_index:i,bank:i,status:l,mcg_status:l,addr:l,misc:l", |
1401 | .params = "[-b] cpu bank status mcgstatus addr misc", | |
1402 | .help = "inject a MCE on the given CPU [and broadcast to other CPUs with -b option]", | |
af4ce882 | 1403 | .mhandler.cmd = do_inject_mce, |
d7f9b689 LC |
1404 | }, |
1405 | ||
79c4f6b0 HY |
1406 | #endif |
1407 | STEXI | |
1408 | @item mce @var{cpu} @var{bank} @var{status} @var{mcgstatus} @var{addr} @var{misc} | |
70fcbbe7 | 1409 | @findex mce (x86) |
79c4f6b0 | 1410 | Inject an MCE on the given CPU (x86 only). |
f07918fd MM |
1411 | ETEXI |
1412 | ||
d7f9b689 LC |
1413 | { |
1414 | .name = "getfd", | |
1415 | .args_type = "fdname:s", | |
d7f9b689 LC |
1416 | .params = "getfd name", |
1417 | .help = "receive a file descriptor via SCM rights and assign it a name", | |
208c9d1b | 1418 | .mhandler.cmd = hmp_getfd, |
d7f9b689 LC |
1419 | }, |
1420 | ||
f07918fd MM |
1421 | STEXI |
1422 | @item getfd @var{fdname} | |
70fcbbe7 | 1423 | @findex getfd |
f07918fd MM |
1424 | If a file descriptor is passed alongside this command using the SCM_RIGHTS |
1425 | mechanism on unix sockets, it is stored using the name @var{fdname} for | |
1426 | later use by other monitor commands. | |
1427 | ETEXI | |
1428 | ||
d7f9b689 LC |
1429 | { |
1430 | .name = "closefd", | |
1431 | .args_type = "fdname:s", | |
d7f9b689 LC |
1432 | .params = "closefd name", |
1433 | .help = "close a file descriptor previously passed via SCM rights", | |
208c9d1b | 1434 | .mhandler.cmd = hmp_closefd, |
d7f9b689 LC |
1435 | }, |
1436 | ||
f07918fd MM |
1437 | STEXI |
1438 | @item closefd @var{fdname} | |
70fcbbe7 | 1439 | @findex closefd |
f07918fd MM |
1440 | Close the file descriptor previously assigned to @var{fdname} using the |
1441 | @code{getfd} command. This is only needed if the file descriptor was never | |
1442 | used by another monitor command. | |
a3a55a2e LC |
1443 | ETEXI |
1444 | ||
1445 | { | |
1446 | .name = "block_passwd", | |
1447 | .args_type = "device:B,password:s", | |
1448 | .params = "block_passwd device password", | |
1449 | .help = "set the password of encrypted block devices", | |
a4dea8a9 | 1450 | .mhandler.cmd = hmp_block_passwd, |
a3a55a2e LC |
1451 | }, |
1452 | ||
727f005e ZYW |
1453 | STEXI |
1454 | @item block_set_io_throttle @var{device} @var{bps} @var{bps_rd} @var{bps_wr} @var{iops} @var{iops_rd} @var{iops_wr} | |
1455 | @findex block_set_io_throttle | |
1456 | 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} | |
1457 | ETEXI | |
1458 | ||
1459 | { | |
1460 | .name = "block_set_io_throttle", | |
1461 | .args_type = "device:B,bps:l,bps_rd:l,bps_wr:l,iops:l,iops_rd:l,iops_wr:l", | |
1462 | .params = "device bps bps_rd bps_wr iops iops_rd iops_wr", | |
1463 | .help = "change I/O throttle limits for a block drive", | |
80047da5 | 1464 | .mhandler.cmd = hmp_block_set_io_throttle, |
727f005e ZYW |
1465 | }, |
1466 | ||
a3a55a2e LC |
1467 | STEXI |
1468 | @item block_passwd @var{device} @var{password} | |
70fcbbe7 | 1469 | @findex block_passwd |
a3a55a2e | 1470 | Set the encrypted device @var{device} password to @var{password} |
7572150c GH |
1471 | ETEXI |
1472 | ||
1473 | { | |
1474 | .name = "set_password", | |
1475 | .args_type = "protocol:s,password:s,connected:s?", | |
1476 | .params = "protocol password action-if-connected", | |
1477 | .help = "set spice/vnc password", | |
fbf796fd | 1478 | .mhandler.cmd = hmp_set_password, |
7572150c GH |
1479 | }, |
1480 | ||
1481 | STEXI | |
1482 | @item set_password [ vnc | spice ] password [ action-if-connected ] | |
1483 | @findex set_password | |
1484 | ||
1485 | Change spice/vnc password. Use zero to make the password stay valid | |
1486 | forever. @var{action-if-connected} specifies what should happen in | |
1487 | case a connection is established: @var{fail} makes the password change | |
1488 | fail. @var{disconnect} changes the password and disconnects the | |
1489 | client. @var{keep} changes the password and keeps the connection up. | |
1490 | @var{keep} is the default. | |
1491 | ETEXI | |
1492 | ||
1493 | { | |
1494 | .name = "expire_password", | |
1495 | .args_type = "protocol:s,time:s", | |
1496 | .params = "protocol time", | |
1497 | .help = "set spice/vnc password expire-time", | |
9ad5372d | 1498 | .mhandler.cmd = hmp_expire_password, |
7572150c GH |
1499 | }, |
1500 | ||
1501 | STEXI | |
1502 | @item expire_password [ vnc | spice ] expire-time | |
1503 | @findex expire_password | |
1504 | ||
1505 | Specify when a password for spice/vnc becomes | |
1506 | invalid. @var{expire-time} accepts: | |
1507 | ||
1508 | @table @var | |
1509 | @item now | |
1510 | Invalidate password instantly. | |
1511 | ||
1512 | @item never | |
1513 | Password stays valid forever. | |
1514 | ||
1515 | @item +nsec | |
1516 | Password stays valid for @var{nsec} seconds starting now. | |
1517 | ||
1518 | @item nsec | |
1519 | Password is invalidated at the given time. @var{nsec} are the seconds | |
1520 | passed since 1970, i.e. unix epoch. | |
1521 | ||
1522 | @end table | |
f1088908 GH |
1523 | ETEXI |
1524 | ||
46920825 GH |
1525 | { |
1526 | .name = "chardev-add", | |
1527 | .args_type = "args:s", | |
1528 | .params = "args", | |
1529 | .help = "add chardev", | |
1530 | .mhandler.cmd = hmp_chardev_add, | |
1531 | }, | |
1532 | ||
1533 | STEXI | |
1534 | @item chardev_add args | |
1535 | @findex chardev_add | |
1536 | ||
1537 | chardev_add accepts the same parameters as the -chardev command line switch. | |
1538 | ||
1539 | ETEXI | |
1540 | ||
1541 | { | |
1542 | .name = "chardev-remove", | |
1543 | .args_type = "id:s", | |
1544 | .params = "id", | |
1545 | .help = "remove chardev", | |
1546 | .mhandler.cmd = hmp_chardev_remove, | |
1547 | }, | |
1548 | ||
1549 | STEXI | |
1550 | @item chardev_remove id | |
1551 | @findex chardev_remove | |
1552 | ||
1553 | Removes the chardev @var{id}. | |
1554 | ||
1555 | ETEXI | |
b40292e7 | 1556 | |
33572ece JK |
1557 | { |
1558 | .name = "info", | |
1559 | .args_type = "item:s?", | |
1560 | .params = "[subcommand]", | |
1561 | .help = "show various information about the system state", | |
84c44613 WX |
1562 | .mhandler.cmd = do_info_help, |
1563 | .sub_table = info_cmds, | |
33572ece JK |
1564 | }, |
1565 | ||
1566 | STEXI | |
1567 | @item info @var{subcommand} | |
1568 | @findex info | |
1569 | Show various information about the system state. | |
1570 | ||
1571 | @table @option | |
1572 | @item info version | |
1573 | show the version of QEMU | |
33572ece JK |
1574 | @item info network |
1575 | show the various VLANs and the associated devices | |
1576 | @item info chardev | |
1577 | show the character devices | |
1578 | @item info block | |
1579 | show the block devices | |
1580 | @item info blockstats | |
1581 | show block device statistics | |
1582 | @item info registers | |
1583 | show the cpu registers | |
1584 | @item info cpus | |
1585 | show infos for each CPU | |
1586 | @item info history | |
1587 | show the command line history | |
1588 | @item info irq | |
1589 | show the interrupts statistics (if available) | |
1590 | @item info pic | |
1591 | show i8259 (PIC) state | |
1592 | @item info pci | |
1593 | show emulated PCI device info | |
1594 | @item info tlb | |
692f737c | 1595 | show virtual to physical memory mappings (i386, SH4, SPARC, PPC, and Xtensa only) |
33572ece JK |
1596 | @item info mem |
1597 | show the active virtual memory mappings (i386 only) | |
33572ece JK |
1598 | @item info jit |
1599 | show dynamic compiler info | |
33572ece JK |
1600 | @item info numa |
1601 | show NUMA information | |
b40292e7 JK |
1602 | @item info kvm |
1603 | show KVM information | |
33572ece JK |
1604 | @item info usb |
1605 | show USB devices plugged on the virtual USB hub | |
1606 | @item info usbhost | |
1607 | show all USB host devices | |
1608 | @item info profile | |
1609 | show profiling information | |
1610 | @item info capture | |
1611 | show information about active capturing | |
1612 | @item info snapshots | |
1613 | show list of VM snapshots | |
1614 | @item info status | |
1615 | show the current VM status (running|paused) | |
1616 | @item info pcmcia | |
1617 | show guest PCMCIA status | |
1618 | @item info mice | |
1619 | show which guest mouse is receiving events | |
1620 | @item info vnc | |
1621 | show the vnc server status | |
1622 | @item info name | |
1623 | show the current VM name | |
1624 | @item info uuid | |
1625 | show the current VM UUID | |
1626 | @item info cpustats | |
1627 | show CPU statistics | |
1628 | @item info usernet | |
1629 | show user network stack connection states | |
1630 | @item info migrate | |
1631 | show migration status | |
bbf6da32 OW |
1632 | @item info migrate_capabilities |
1633 | show current migration capabilities | |
9e1ba4cc OW |
1634 | @item info migrate_cache_size |
1635 | show current migration XBZRLE cache size | |
33572ece JK |
1636 | @item info balloon |
1637 | show balloon information | |
1638 | @item info qtree | |
1639 | show device tree | |
1640 | @item info qdm | |
1641 | show qdev device model list | |
1642 | @item info roms | |
1643 | show roms | |
d1a0cf73 SB |
1644 | @item info tpm |
1645 | show the TPM device | |
4d700430 MN |
1646 | @item info cpu_max |
1647 | show the number of CPUs supported by the machine being emulated. | |
33572ece JK |
1648 | @end table |
1649 | ETEXI | |
1650 | ||
31965ae2 | 1651 | STEXI |
22890ab5 PS |
1652 | @item info trace-events |
1653 | show available trace events and their state | |
1654 | ETEXI | |
22890ab5 | 1655 | |
2313086a BS |
1656 | STEXI |
1657 | @end table | |
1658 | ETEXI |