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