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