blob: 4906d892cf8186e7a9accf6c28f63afb6fe5afd9 [file] [log] [blame]
Blue Swirl23130862009-06-06 08:22:04 +00001HXCOMM Use DEFHEADING() to define headings in both help text and texi
2HXCOMM Text between STEXI and ETEXI are copied to texi version and
3HXCOMM discarded from C version
4HXCOMM DEF(command, args, callback, arg_string, help) is used to construct
5HXCOMM monitor commands
6HXCOMM HXCOMM can be used for comments, discarded from both texi and C
7
8STEXI
9@table @option
10ETEXI
11
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030012 {
13 .name = "help|?",
14 .args_type = "name:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030015 .params = "[cmd]",
16 .help = "show the help",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -030017 .mhandler.cmd = do_help_cmd,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030018 },
19
Blue Swirl23130862009-06-06 08:22:04 +000020STEXI
21@item help or ? [@var{cmd}]
Stefan Weil70fcbbe2010-02-05 23:52:04 +010022@findex help
Blue Swirl23130862009-06-06 08:22:04 +000023Show the help for all commands or just for command @var{cmd}.
24ETEXI
25
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030026 {
27 .name = "commit",
28 .args_type = "device:B",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030029 .params = "device|all",
30 .help = "commit changes to the disk images (if -snapshot is used) or backing files",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -030031 .mhandler.cmd = do_commit,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030032 },
33
Blue Swirl23130862009-06-06 08:22:04 +000034STEXI
35@item commit
Stefan Weil70fcbbe2010-02-05 23:52:04 +010036@findex commit
Blue Swirl23130862009-06-06 08:22:04 +000037Commit changes to the disk images (if -snapshot is used) or backing files.
38ETEXI
39
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030040 {
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030041 .name = "q|quit",
42 .args_type = "",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030043 .params = "",
44 .help = "quit the emulator",
Luiz Capitulinob223f352009-10-07 13:41:56 -030045 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -020046 .mhandler.cmd_new = do_quit,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030047 },
48
Blue Swirl23130862009-06-06 08:22:04 +000049STEXI
50@item q or quit
Stefan Weil70fcbbe2010-02-05 23:52:04 +010051@findex quit
Blue Swirl23130862009-06-06 08:22:04 +000052Quit the emulator.
53ETEXI
54
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030055 {
56 .name = "eject",
Luiz Capitulino78d714e2009-12-14 18:53:21 -020057 .args_type = "force:-f,device:B",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030058 .params = "[-f] device",
59 .help = "eject a removable medium (use -f to force it)",
Luiz Capitulinoe1c923a2009-10-16 12:23:49 -030060 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -020061 .mhandler.cmd_new = do_eject,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030062 },
63
Blue Swirl23130862009-06-06 08:22:04 +000064STEXI
65@item eject [-f] @var{device}
Stefan Weil70fcbbe2010-02-05 23:52:04 +010066@findex eject
Blue Swirl23130862009-06-06 08:22:04 +000067Eject a removable medium (use -f to force it).
68ETEXI
69
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030070 {
Ryan Harper9063f812010-11-12 11:07:13 -060071 .name = "drive_del",
72 .args_type = "id:s",
73 .params = "device",
74 .help = "remove host block device",
75 .user_print = monitor_user_noop,
76 .mhandler.cmd_new = do_drive_del,
77 },
78
79STEXI
80@item drive_del @var{device}
81@findex drive_del
82Remove host block device. The result is that guest generated IO is no longer
83submitted against the host device underlying the disk. Once a drive has
84been deleted, the QEMU Block layer returns -EIO which results in IO
85errors in the guest for applications that are reading/writing to the device.
86ETEXI
87
88 {
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030089 .name = "change",
90 .args_type = "device:B,target:F,arg:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030091 .params = "device filename [format]",
92 .help = "change a removable medium, optional format",
Markus Armbrusterec3b82a2009-12-07 21:37:09 +010093 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -020094 .mhandler.cmd_new = do_change,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -030095 },
96
Blue Swirl23130862009-06-06 08:22:04 +000097STEXI
98@item change @var{device} @var{setting}
Stefan Weil70fcbbe2010-02-05 23:52:04 +010099@findex change
Blue Swirl23130862009-06-06 08:22:04 +0000100
101Change the configuration of a device.
102
103@table @option
104@item change @var{diskdevice} @var{filename} [@var{format}]
105Change the medium for a removable disk device to point to @var{filename}. eg
106
107@example
108(qemu) change ide1-cd0 /path/to/some.iso
109@end example
110
111@var{format} is optional.
112
113@item change vnc @var{display},@var{options}
114Change the configuration of the VNC server. The valid syntax for @var{display}
115and @var{options} are described at @ref{sec_invocation}. eg
116
117@example
118(qemu) change vnc localhost:1
119@end example
120
121@item change vnc password [@var{password}]
122
123Change the password associated with the VNC server. If the new password is not
124supplied, the monitor will prompt for it to be entered. VNC passwords are only
125significant up to 8 letters. eg
126
127@example
128(qemu) change vnc password
129Password: ********
130@end example
131
132@end table
133ETEXI
134
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300135 {
136 .name = "screendump",
137 .args_type = "filename:F",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300138 .params = "filename",
139 .help = "save screen into PPM image 'filename'",
Luiz Capitulinof1dc58e2010-03-31 15:21:49 -0300140 .user_print = monitor_user_noop,
141 .mhandler.cmd_new = do_screen_dump,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300142 },
143
Blue Swirl23130862009-06-06 08:22:04 +0000144STEXI
145@item screendump @var{filename}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100146@findex screendump
Blue Swirl23130862009-06-06 08:22:04 +0000147Save screen into PPM image @var{filename}.
148ETEXI
149
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300150 {
151 .name = "logfile",
152 .args_type = "filename:F",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300153 .params = "filename",
154 .help = "output logs to 'filename'",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300155 .mhandler.cmd = do_logfile,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300156 },
157
Blue Swirl23130862009-06-06 08:22:04 +0000158STEXI
159@item logfile @var{filename}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100160@findex logfile
Blue Swirl23130862009-06-06 08:22:04 +0000161Output logs to @var{filename}.
162ETEXI
163
Prerna Saxena22890ab2010-06-24 17:04:53 +0530164#ifdef CONFIG_SIMPLE_TRACE
165 {
166 .name = "trace-event",
167 .args_type = "name:s,option:b",
168 .params = "name on|off",
169 .help = "changes status of a specific trace event",
170 .mhandler.cmd = do_change_trace_event_state,
171 },
172
173STEXI
174@item trace-event
175@findex trace-event
176changes status of a trace event
177ETEXI
Stefan Hajnoczic5ceb522010-07-13 09:26:33 +0100178
179 {
180 .name = "trace-file",
181 .args_type = "op:s?,arg:F?",
182 .params = "on|off|flush|set [arg]",
183 .help = "open, close, or flush trace file, or set a new file name",
184 .mhandler.cmd = do_trace_file,
185 },
186
187STEXI
188@item trace-file on|off|flush
189@findex trace-file
190Open, close, or flush the trace file. If no argument is given, the status of the trace file is displayed.
191ETEXI
Prerna Saxena22890ab2010-06-24 17:04:53 +0530192#endif
193
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300194 {
195 .name = "log",
196 .args_type = "items:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300197 .params = "item1[,...]",
198 .help = "activate logging of the specified items to '/tmp/qemu.log'",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300199 .mhandler.cmd = do_log,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300200 },
201
Blue Swirl23130862009-06-06 08:22:04 +0000202STEXI
203@item log @var{item1}[,...]
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100204@findex log
Blue Swirl23130862009-06-06 08:22:04 +0000205Activate logging of the specified items to @file{/tmp/qemu.log}.
206ETEXI
207
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300208 {
209 .name = "savevm",
210 .args_type = "name:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300211 .params = "[tag|id]",
212 .help = "save a VM snapshot. If no tag or id are provided, a new snapshot is created",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300213 .mhandler.cmd = do_savevm,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300214 },
215
Blue Swirl23130862009-06-06 08:22:04 +0000216STEXI
217@item savevm [@var{tag}|@var{id}]
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100218@findex savevm
Blue Swirl23130862009-06-06 08:22:04 +0000219Create a snapshot of the whole virtual machine. If @var{tag} is
220provided, it is used as human readable identifier. If there is already
221a snapshot with the same tag or ID, it is replaced. More info at
222@ref{vm_snapshots}.
223ETEXI
224
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300225 {
226 .name = "loadvm",
227 .args_type = "name:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300228 .params = "tag|id",
229 .help = "restore a VM snapshot from its tag or id",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300230 .mhandler.cmd = do_loadvm,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300231 },
232
Blue Swirl23130862009-06-06 08:22:04 +0000233STEXI
234@item loadvm @var{tag}|@var{id}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100235@findex loadvm
Blue Swirl23130862009-06-06 08:22:04 +0000236Set the whole virtual machine to the snapshot identified by the tag
237@var{tag} or the unique snapshot ID @var{id}.
238ETEXI
239
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300240 {
241 .name = "delvm",
242 .args_type = "name:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300243 .params = "tag|id",
244 .help = "delete a VM snapshot from its tag or id",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300245 .mhandler.cmd = do_delvm,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300246 },
247
Blue Swirl23130862009-06-06 08:22:04 +0000248STEXI
249@item delvm @var{tag}|@var{id}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100250@findex delvm
Blue Swirl23130862009-06-06 08:22:04 +0000251Delete the snapshot identified by @var{tag} or @var{id}.
252ETEXI
253
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300254 {
255 .name = "singlestep",
256 .args_type = "option:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300257 .params = "[on|off]",
258 .help = "run emulation in singlestep mode or switch to normal mode",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300259 .mhandler.cmd = do_singlestep,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300260 },
261
Blue Swirl23130862009-06-06 08:22:04 +0000262STEXI
263@item singlestep [off]
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100264@findex singlestep
Blue Swirl23130862009-06-06 08:22:04 +0000265Run the emulation in single step mode.
266If called with option off, the emulation returns to normal mode.
267ETEXI
268
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300269 {
270 .name = "stop",
271 .args_type = "",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300272 .params = "",
273 .help = "stop emulation",
Luiz Capitulinoe0c97bd2009-10-07 13:41:57 -0300274 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200275 .mhandler.cmd_new = do_stop,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300276 },
277
Blue Swirl23130862009-06-06 08:22:04 +0000278STEXI
279@item stop
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100280@findex stop
Blue Swirl23130862009-06-06 08:22:04 +0000281Stop emulation.
282ETEXI
283
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300284 {
285 .name = "c|cont",
286 .args_type = "",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300287 .params = "",
288 .help = "resume emulation",
Luiz Capitulinoa1f896a2009-10-07 13:42:00 -0300289 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200290 .mhandler.cmd_new = do_cont,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300291 },
292
Blue Swirl23130862009-06-06 08:22:04 +0000293STEXI
294@item c or cont
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100295@findex cont
Blue Swirl23130862009-06-06 08:22:04 +0000296Resume emulation.
297ETEXI
298
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300299 {
300 .name = "gdbserver",
301 .args_type = "device:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300302 .params = "[device]",
303 .help = "start gdbserver on given device (default 'tcp::1234'), stop with 'none'",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300304 .mhandler.cmd = do_gdbserver,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300305 },
306
Blue Swirl23130862009-06-06 08:22:04 +0000307STEXI
308@item gdbserver [@var{port}]
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100309@findex gdbserver
Blue Swirl23130862009-06-06 08:22:04 +0000310Start gdbserver session (default @var{port}=1234)
311ETEXI
312
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300313 {
314 .name = "x",
315 .args_type = "fmt:/,addr:l",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300316 .params = "/fmt addr",
317 .help = "virtual memory dump starting at 'addr'",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300318 .mhandler.cmd = do_memory_dump,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300319 },
320
Blue Swirl23130862009-06-06 08:22:04 +0000321STEXI
322@item x/fmt @var{addr}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100323@findex x
Blue Swirl23130862009-06-06 08:22:04 +0000324Virtual memory dump starting at @var{addr}.
325ETEXI
326
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300327 {
328 .name = "xp",
329 .args_type = "fmt:/,addr:l",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300330 .params = "/fmt addr",
331 .help = "physical memory dump starting at 'addr'",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300332 .mhandler.cmd = do_physical_memory_dump,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300333 },
334
Blue Swirl23130862009-06-06 08:22:04 +0000335STEXI
336@item xp /@var{fmt} @var{addr}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100337@findex xp
Blue Swirl23130862009-06-06 08:22:04 +0000338Physical memory dump starting at @var{addr}.
339
340@var{fmt} is a format which tells the command how to format the
341data. Its syntax is: @option{/@{count@}@{format@}@{size@}}
342
343@table @var
344@item count
345is the number of items to be dumped.
346
347@item format
348can be x (hex), d (signed decimal), u (unsigned decimal), o (octal),
349c (char) or i (asm instruction).
350
351@item size
352can be b (8 bits), h (16 bits), w (32 bits) or g (64 bits). On x86,
353@code{h} or @code{w} can be specified with the @code{i} format to
354respectively select 16 or 32 bit code instruction size.
355
356@end table
357
358Examples:
359@itemize
360@item
361Dump 10 instructions at the current instruction pointer:
362@example
363(qemu) x/10i $eip
3640x90107063: ret
3650x90107064: sti
3660x90107065: lea 0x0(%esi,1),%esi
3670x90107069: lea 0x0(%edi,1),%edi
3680x90107070: ret
3690x90107071: jmp 0x90107080
3700x90107073: nop
3710x90107074: nop
3720x90107075: nop
3730x90107076: nop
374@end example
375
376@item
377Dump 80 16 bit values at the start of the video memory.
378@smallexample
379(qemu) xp/80hx 0xb8000
3800x000b8000: 0x0b50 0x0b6c 0x0b65 0x0b78 0x0b38 0x0b36 0x0b2f 0x0b42
3810x000b8010: 0x0b6f 0x0b63 0x0b68 0x0b73 0x0b20 0x0b56 0x0b47 0x0b41
3820x000b8020: 0x0b42 0x0b69 0x0b6f 0x0b73 0x0b20 0x0b63 0x0b75 0x0b72
3830x000b8030: 0x0b72 0x0b65 0x0b6e 0x0b74 0x0b2d 0x0b63 0x0b76 0x0b73
3840x000b8040: 0x0b20 0x0b30 0x0b35 0x0b20 0x0b4e 0x0b6f 0x0b76 0x0b20
3850x000b8050: 0x0b32 0x0b30 0x0b30 0x0b33 0x0720 0x0720 0x0720 0x0720
3860x000b8060: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
3870x000b8070: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
3880x000b8080: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
3890x000b8090: 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720 0x0720
390@end smallexample
391@end itemize
392ETEXI
393
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300394 {
395 .name = "p|print",
396 .args_type = "fmt:/,val:l",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300397 .params = "/fmt expr",
398 .help = "print expression value (use $reg for CPU register access)",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300399 .mhandler.cmd = do_print,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300400 },
401
Blue Swirl23130862009-06-06 08:22:04 +0000402STEXI
403@item p or print/@var{fmt} @var{expr}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100404@findex print
Blue Swirl23130862009-06-06 08:22:04 +0000405
406Print expression value. Only the @var{format} part of @var{fmt} is
407used.
408ETEXI
409
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300410 {
411 .name = "i",
412 .args_type = "fmt:/,addr:i,index:i.",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300413 .params = "/fmt addr",
414 .help = "I/O port read",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300415 .mhandler.cmd = do_ioport_read,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300416 },
417
Blue Swirl23130862009-06-06 08:22:04 +0000418STEXI
419Read I/O port.
420ETEXI
421
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300422 {
423 .name = "o",
424 .args_type = "fmt:/,addr:i,val:i",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300425 .params = "/fmt addr value",
426 .help = "I/O port write",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300427 .mhandler.cmd = do_ioport_write,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300428 },
429
Jan Kiszkaf1147842009-07-14 10:20:11 +0200430STEXI
431Write to I/O port.
432ETEXI
Blue Swirl23130862009-06-06 08:22:04 +0000433
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300434 {
435 .name = "sendkey",
436 .args_type = "string:s,hold_time:i?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300437 .params = "keys [hold_ms]",
438 .help = "send keys to the VM (e.g. 'sendkey ctrl-alt-f1', default hold time=100 ms)",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300439 .mhandler.cmd = do_sendkey,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300440 },
441
Blue Swirl23130862009-06-06 08:22:04 +0000442STEXI
443@item sendkey @var{keys}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100444@findex sendkey
Blue Swirl23130862009-06-06 08:22:04 +0000445
446Send @var{keys} to the emulator. @var{keys} could be the name of the
447key or @code{#} followed by the raw value in either decimal or hexadecimal
448format. Use @code{-} to press several keys simultaneously. Example:
449@example
450sendkey ctrl-alt-f1
451@end example
452
453This command is useful to send keys that your graphical user interface
454intercepts at low level, such as @code{ctrl-alt-f1} in X Window.
455ETEXI
456
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300457 {
458 .name = "system_reset",
459 .args_type = "",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300460 .params = "",
461 .help = "reset the system",
Luiz Capitulinoc80d2592009-10-07 13:41:58 -0300462 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200463 .mhandler.cmd_new = do_system_reset,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300464 },
465
Blue Swirl23130862009-06-06 08:22:04 +0000466STEXI
467@item system_reset
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100468@findex system_reset
Blue Swirl23130862009-06-06 08:22:04 +0000469
470Reset the system.
471ETEXI
472
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300473 {
474 .name = "system_powerdown",
475 .args_type = "",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300476 .params = "",
477 .help = "send system power down event",
Luiz Capitulino43076662009-10-07 13:41:59 -0300478 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200479 .mhandler.cmd_new = do_system_powerdown,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300480 },
481
Blue Swirl23130862009-06-06 08:22:04 +0000482STEXI
483@item system_powerdown
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100484@findex system_powerdown
Blue Swirl23130862009-06-06 08:22:04 +0000485
486Power down the system (if supported).
487ETEXI
488
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300489 {
490 .name = "sum",
491 .args_type = "start:i,size:i",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300492 .params = "addr size",
493 .help = "compute the checksum of a memory region",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300494 .mhandler.cmd = do_sum,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300495 },
496
Blue Swirl23130862009-06-06 08:22:04 +0000497STEXI
498@item sum @var{addr} @var{size}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100499@findex sum
Blue Swirl23130862009-06-06 08:22:04 +0000500
501Compute the checksum of a memory region.
502ETEXI
503
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300504 {
505 .name = "usb_add",
506 .args_type = "devname:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300507 .params = "device",
508 .help = "add USB device (e.g. 'host:bus.addr' or 'host:vendor_id:product_id')",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300509 .mhandler.cmd = do_usb_add,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300510 },
511
Blue Swirl23130862009-06-06 08:22:04 +0000512STEXI
513@item usb_add @var{devname}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100514@findex usb_add
Blue Swirl23130862009-06-06 08:22:04 +0000515
516Add the USB device @var{devname}. For details of available devices see
517@ref{usb_devices}
518ETEXI
519
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300520 {
521 .name = "usb_del",
522 .args_type = "devname:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300523 .params = "device",
524 .help = "remove USB device 'bus.addr'",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300525 .mhandler.cmd = do_usb_del,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300526 },
527
Blue Swirl23130862009-06-06 08:22:04 +0000528STEXI
529@item usb_del @var{devname}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100530@findex usb_del
Blue Swirl23130862009-06-06 08:22:04 +0000531
532Remove the USB device @var{devname} from the QEMU virtual USB
533hub. @var{devname} has the syntax @code{bus.addr}. Use the monitor
534command @code{info usb} to see the devices you can remove.
535ETEXI
536
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300537 {
538 .name = "device_add",
Markus Armbrusterc7e4e8c2010-02-10 20:47:28 +0100539 .args_type = "device:O",
540 .params = "driver[,prop=value][,...]",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300541 .help = "add device, like -device on the command line",
Markus Armbruster8bc27242010-02-10 20:52:01 +0100542 .user_print = monitor_user_noop,
543 .mhandler.cmd_new = do_device_add,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300544 },
545
Gerd Hoffmann3418bd22009-09-25 21:42:41 +0200546STEXI
547@item device_add @var{config}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100548@findex device_add
Gerd Hoffmann3418bd22009-09-25 21:42:41 +0200549
550Add device.
551ETEXI
552
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300553 {
554 .name = "device_del",
555 .args_type = "id:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300556 .params = "device",
557 .help = "remove device",
Markus Armbruster17a38ea2010-03-22 11:38:14 +0100558 .user_print = monitor_user_noop,
559 .mhandler.cmd_new = do_device_del,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300560 },
561
Gerd Hoffmann3418bd22009-09-25 21:42:41 +0200562STEXI
563@item device_del @var{id}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100564@findex device_del
Gerd Hoffmann3418bd22009-09-25 21:42:41 +0200565
566Remove device @var{id}.
567ETEXI
568
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300569 {
570 .name = "cpu",
571 .args_type = "index:i",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300572 .params = "index",
573 .help = "set the default CPU",
Markus Armbruster81a1b452010-01-20 13:07:35 +0100574 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200575 .mhandler.cmd_new = do_cpu_set,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300576 },
Gerd Hoffmann3418bd22009-09-25 21:42:41 +0200577
Blue Swirl23130862009-06-06 08:22:04 +0000578STEXI
Markus Armbrusterc427ea92010-05-04 13:20:32 +0200579@item cpu @var{index}
580@findex cpu
Blue Swirl23130862009-06-06 08:22:04 +0000581Set the default CPU.
582ETEXI
583
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300584 {
585 .name = "mouse_move",
586 .args_type = "dx_str:s,dy_str:s,dz_str:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300587 .params = "dx dy [dz]",
588 .help = "send mouse move events",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300589 .mhandler.cmd = do_mouse_move,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300590 },
591
Blue Swirl23130862009-06-06 08:22:04 +0000592STEXI
593@item mouse_move @var{dx} @var{dy} [@var{dz}]
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100594@findex mouse_move
Blue Swirl23130862009-06-06 08:22:04 +0000595Move the active mouse to the specified coordinates @var{dx} @var{dy}
596with optional scroll axis @var{dz}.
597ETEXI
598
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300599 {
600 .name = "mouse_button",
601 .args_type = "button_state:i",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300602 .params = "state",
603 .help = "change mouse button state (1=L, 2=M, 4=R)",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300604 .mhandler.cmd = do_mouse_button,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300605 },
606
Blue Swirl23130862009-06-06 08:22:04 +0000607STEXI
608@item mouse_button @var{val}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100609@findex mouse_button
Blue Swirl23130862009-06-06 08:22:04 +0000610Change the active mouse button state @var{val} (1=L, 2=M, 4=R).
611ETEXI
612
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300613 {
614 .name = "mouse_set",
615 .args_type = "index:i",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300616 .params = "index",
617 .help = "set which mouse device receives events",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300618 .mhandler.cmd = do_mouse_set,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300619 },
620
Blue Swirl23130862009-06-06 08:22:04 +0000621STEXI
622@item mouse_set @var{index}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100623@findex mouse_set
Blue Swirl23130862009-06-06 08:22:04 +0000624Set which mouse device receives events at given @var{index}, index
625can be obtained with
626@example
627info mice
628@end example
629ETEXI
630
631#ifdef HAS_AUDIO
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300632 {
633 .name = "wavcapture",
634 .args_type = "path:F,freq:i?,bits:i?,nchannels:i?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300635 .params = "path [frequency [bits [channels]]]",
636 .help = "capture audio to a wave file (default frequency=44100 bits=16 channels=2)",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300637 .mhandler.cmd = do_wav_capture,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300638 },
Blue Swirl23130862009-06-06 08:22:04 +0000639#endif
640STEXI
641@item wavcapture @var{filename} [@var{frequency} [@var{bits} [@var{channels}]]]
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100642@findex wavcapture
Blue Swirl23130862009-06-06 08:22:04 +0000643Capture audio into @var{filename}. Using sample rate @var{frequency}
644bits per sample @var{bits} and number of channels @var{channels}.
645
646Defaults:
647@itemize @minus
648@item Sample rate = 44100 Hz - CD quality
649@item Bits = 16
650@item Number of channels = 2 - Stereo
651@end itemize
652ETEXI
653
654#ifdef HAS_AUDIO
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300655 {
656 .name = "stopcapture",
657 .args_type = "n:i",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300658 .params = "capture index",
659 .help = "stop capture",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300660 .mhandler.cmd = do_stop_capture,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300661 },
Blue Swirl23130862009-06-06 08:22:04 +0000662#endif
663STEXI
664@item stopcapture @var{index}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100665@findex stopcapture
Blue Swirl23130862009-06-06 08:22:04 +0000666Stop capture with a given @var{index}, index can be obtained with
667@example
668info capture
669@end example
670ETEXI
671
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300672 {
673 .name = "memsave",
674 .args_type = "val:l,size:i,filename:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300675 .params = "addr size file",
676 .help = "save to disk virtual memory dump starting at 'addr' of size 'size'",
Luiz Capitulino57e09452009-10-16 12:23:43 -0300677 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200678 .mhandler.cmd_new = do_memory_save,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300679 },
680
Blue Swirl23130862009-06-06 08:22:04 +0000681STEXI
682@item memsave @var{addr} @var{size} @var{file}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100683@findex memsave
Blue Swirl23130862009-06-06 08:22:04 +0000684save to disk virtual memory dump starting at @var{addr} of size @var{size}.
685ETEXI
686
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300687 {
688 .name = "pmemsave",
689 .args_type = "val:l,size:i,filename:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300690 .params = "addr size file",
691 .help = "save to disk physical memory dump starting at 'addr' of size 'size'",
Luiz Capitulino18f5a8b2009-10-16 12:23:44 -0300692 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200693 .mhandler.cmd_new = do_physical_memory_save,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300694 },
695
Blue Swirl23130862009-06-06 08:22:04 +0000696STEXI
697@item pmemsave @var{addr} @var{size} @var{file}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100698@findex pmemsave
Blue Swirl23130862009-06-06 08:22:04 +0000699save to disk physical memory dump starting at @var{addr} of size @var{size}.
700ETEXI
701
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300702 {
703 .name = "boot_set",
704 .args_type = "bootdevice:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300705 .params = "bootdevice",
706 .help = "define new values for the boot device list",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300707 .mhandler.cmd = do_boot_set,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300708 },
709
Blue Swirl23130862009-06-06 08:22:04 +0000710STEXI
711@item boot_set @var{bootdevicelist}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100712@findex boot_set
Blue Swirl23130862009-06-06 08:22:04 +0000713
714Define new values for the boot device list. Those values will override
715the values specified on the command line through the @code{-boot} option.
716
717The values that can be specified here depend on the machine type, but are
718the same that can be specified in the @code{-boot} command line option.
719ETEXI
720
721#if defined(TARGET_I386)
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300722 {
723 .name = "nmi",
724 .args_type = "cpu_index:i",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300725 .params = "cpu",
726 .help = "inject an NMI on the given CPU",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300727 .mhandler.cmd = do_inject_nmi,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300728 },
Blue Swirl23130862009-06-06 08:22:04 +0000729#endif
730STEXI
731@item nmi @var{cpu}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100732@findex nmi
Blue Swirl23130862009-06-06 08:22:04 +0000733Inject an NMI on the given CPU (x86 only).
734ETEXI
735
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300736 {
737 .name = "migrate",
lirans@il.ibm.comfbc3d962009-11-02 15:41:13 +0200738 .args_type = "detach:-d,blk:-b,inc:-i,uri:s",
739 .params = "[-d] [-b] [-i] uri",
740 .help = "migrate to URI (using -d to not wait for completion)"
741 "\n\t\t\t -b for migration without shared storage with"
742 " full copy of disk\n\t\t\t -i for migration without "
743 "shared storage with incremental copy of disk "
744 "(base image shared between src and destination)",
745 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200746 .mhandler.cmd_new = do_migrate,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300747 },
748
lirans@il.ibm.comfbc3d962009-11-02 15:41:13 +0200749
Blue Swirl23130862009-06-06 08:22:04 +0000750STEXI
lirans@il.ibm.comfbc3d962009-11-02 15:41:13 +0200751@item migrate [-d] [-b] [-i] @var{uri}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100752@findex migrate
Blue Swirl23130862009-06-06 08:22:04 +0000753Migrate to @var{uri} (using -d to not wait for completion).
lirans@il.ibm.comfbc3d962009-11-02 15:41:13 +0200754 -b for migration with full copy of disk
755 -i for migration with incremental copy of disk (base image is shared)
Blue Swirl23130862009-06-06 08:22:04 +0000756ETEXI
757
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300758 {
759 .name = "migrate_cancel",
760 .args_type = "",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300761 .params = "",
762 .help = "cancel the current VM migration",
Luiz Capitulino911d2962009-10-16 12:23:47 -0300763 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200764 .mhandler.cmd_new = do_migrate_cancel,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300765 },
766
Blue Swirl23130862009-06-06 08:22:04 +0000767STEXI
768@item migrate_cancel
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100769@findex migrate_cancel
Blue Swirl23130862009-06-06 08:22:04 +0000770Cancel the current VM migration.
771ETEXI
772
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300773 {
774 .name = "migrate_set_speed",
Jes Sorensened3d4a82010-10-21 17:15:48 +0200775 .args_type = "value:o",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300776 .params = "value",
Jes Sorensened3d4a82010-10-21 17:15:48 +0200777 .help = "set maximum speed (in bytes) for migrations. "
778 "Defaults to MB if no size suffix is specified, ie. B/K/M/G/T",
Markus Armbruster5fd90832010-01-25 14:23:05 +0100779 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200780 .mhandler.cmd_new = do_migrate_set_speed,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300781 },
782
Blue Swirl23130862009-06-06 08:22:04 +0000783STEXI
784@item migrate_set_speed @var{value}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100785@findex migrate_set_speed
Blue Swirl23130862009-06-06 08:22:04 +0000786Set maximum speed to @var{value} (in bytes) for migrations.
787ETEXI
788
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300789 {
790 .name = "migrate_set_downtime",
Markus Armbrusterb0fbf7d2010-01-25 14:23:07 +0100791 .args_type = "value:T",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300792 .params = "value",
793 .help = "set maximum tolerated downtime (in seconds) for migrations",
Markus Armbrusterc6027f52010-01-25 14:23:08 +0100794 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -0200795 .mhandler.cmd_new = do_migrate_set_downtime,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300796 },
Glauber Costa2ea42952009-05-28 15:22:58 -0400797
798STEXI
799@item migrate_set_downtime @var{second}
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100800@findex migrate_set_downtime
Glauber Costa2ea42952009-05-28 15:22:58 -0400801Set maximum tolerated downtime (in seconds) for migration.
802ETEXI
803
Jes Sorensenf8882562010-12-16 13:52:16 +0100804 {
805 .name = "snapshot_blkdev",
806 .args_type = "device:s,snapshot_file:s?,format:s?",
807 .params = "device [new-image-file] [format]",
808 .help = "initiates a live snapshot\n\t\t\t"
809 "of device. If a new image file is specified, the\n\t\t\t"
810 "new image file will become the new root image.\n\t\t\t"
811 "If format is specified, the snapshot file will\n\t\t\t"
812 "be created in that format. Otherwise the\n\t\t\t"
813 "snapshot will be internal! (currently unsupported)",
814 .mhandler.cmd_new = do_snapshot_blkdev,
815 },
816
817STEXI
Gerd Hoffmanne866e232010-04-23 13:28:21 +0200818@item client_migrate_info @var{protocol} @var{hostname} @var{port} @var{tls-port} @var{cert-subject}
819@findex client_migrate_info
820Set the spice/vnc connection info for the migration target. The spice/vnc
821server will ask the spice/vnc client to automatically reconnect using the
822new parameters (if specified) once the vm migration finished successfully.
823ETEXI
824
825 {
826 .name = "client_migrate_info",
827 .args_type = "protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?",
828 .params = "protocol hostname port tls-port cert-subject",
829 .help = "send migration info to spice/vnc client",
830 .user_print = monitor_user_noop,
831 .mhandler.cmd_new = client_migrate_info,
832 },
833
834STEXI
Jes Sorensenf8882562010-12-16 13:52:16 +0100835@item snapshot_blkdev
836@findex snapshot_blkdev
837Snapshot device, using snapshot file as target if provided
838ETEXI
839
Blue Swirl23130862009-06-06 08:22:04 +0000840#if defined(TARGET_I386)
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300841 {
842 .name = "drive_add",
843 .args_type = "pci_addr:s,opts:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300844 .params = "[[<domain>:]<bus>:]<slot>\n"
845 "[file=file][,if=type][,bus=n]\n"
846 "[,unit=m][,media=d][index=i]\n"
847 "[,cyls=c,heads=h,secs=s[,trans=t]]\n"
848 "[snapshot=on|off][,cache=on|off]",
849 .help = "add drive to PCI storage controller",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300850 .mhandler.cmd = drive_hot_add,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300851 },
Blue Swirl23130862009-06-06 08:22:04 +0000852#endif
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300853
Blue Swirl23130862009-06-06 08:22:04 +0000854STEXI
855@item drive_add
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100856@findex drive_add
Blue Swirl23130862009-06-06 08:22:04 +0000857Add drive to PCI storage controller.
858ETEXI
859
860#if defined(TARGET_I386)
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300861 {
862 .name = "pci_add",
863 .args_type = "pci_addr:s,type:s,opts:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300864 .params = "auto|[[<domain>:]<bus>:]<slot> nic|storage [[vlan=n][,macaddr=addr][,model=type]] [file=file][,if=type][,bus=nr]...",
865 .help = "hot-add PCI device",
Markus Armbruster6c6a58a2010-05-12 10:53:00 +0200866 .mhandler.cmd = pci_device_hot_add,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300867 },
Blue Swirl23130862009-06-06 08:22:04 +0000868#endif
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300869
Blue Swirl23130862009-06-06 08:22:04 +0000870STEXI
871@item pci_add
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100872@findex pci_add
Blue Swirl23130862009-06-06 08:22:04 +0000873Hot-add PCI device.
874ETEXI
875
876#if defined(TARGET_I386)
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300877 {
878 .name = "pci_del",
879 .args_type = "pci_addr:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300880 .params = "[[<domain>:]<bus>:]<slot>",
881 .help = "hot remove PCI device",
Markus Armbrusterb752daf2010-05-12 10:53:01 +0200882 .mhandler.cmd = do_pci_device_hot_remove,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300883 },
Blue Swirl23130862009-06-06 08:22:04 +0000884#endif
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300885
Blue Swirl23130862009-06-06 08:22:04 +0000886STEXI
887@item pci_del
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100888@findex pci_del
Blue Swirl23130862009-06-06 08:22:04 +0000889Hot remove PCI device.
890ETEXI
891
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300892 {
Isaku Yamahata2ae63bd2010-12-24 12:14:14 +0900893 .name = "pcie_aer_inject_error",
894 .args_type = "advisory_non_fatal:-a,correctable:-c,"
895 "id:s,error_status:s,"
896 "header0:i?,header1:i?,header2:i?,header3:i?,"
897 "prefix0:i?,prefix1:i?,prefix2:i?,prefix3:i?",
898 .params = "[-a] [-c] id "
899 "<error_status> [<tlp header> [<tlp header prefix>]]",
900 .help = "inject pcie aer error\n\t\t\t"
901 " -a for advisory non fatal error\n\t\t\t"
902 " -c for correctable error\n\t\t\t"
903 "<id> = qdev device id\n\t\t\t"
904 "<error_status> = error string or 32bit\n\t\t\t"
905 "<tlb header> = 32bit x 4\n\t\t\t"
906 "<tlb header prefix> = 32bit x 4",
907 .user_print = pcie_aer_inject_error_print,
908 .mhandler.cmd_new = do_pcie_aer_inejct_error,
909 },
910
911STEXI
912@item pcie_aer_inject_error
913@findex pcie_aer_inject_error
914Inject PCIe AER error
915ETEXI
916
917 {
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300918 .name = "host_net_add",
919 .args_type = "device:s,opts:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300920 .params = "tap|user|socket|vde|dump [options]",
921 .help = "add host VLAN client",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300922 .mhandler.cmd = net_host_device_add,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300923 },
924
Blue Swirl23130862009-06-06 08:22:04 +0000925STEXI
926@item host_net_add
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100927@findex host_net_add
Blue Swirl23130862009-06-06 08:22:04 +0000928Add host VLAN client.
929ETEXI
930
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300931 {
932 .name = "host_net_remove",
933 .args_type = "vlan_id:i,device:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300934 .params = "vlan_id name",
935 .help = "remove host VLAN client",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300936 .mhandler.cmd = net_host_device_remove,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300937 },
938
Blue Swirl23130862009-06-06 08:22:04 +0000939STEXI
940@item host_net_remove
Stefan Weil70fcbbe2010-02-05 23:52:04 +0100941@findex host_net_remove
Blue Swirl23130862009-06-06 08:22:04 +0000942Remove host VLAN client.
943ETEXI
944
Markus Armbrusterae82d322010-03-25 17:22:40 +0100945 {
946 .name = "netdev_add",
947 .args_type = "netdev:O",
948 .params = "[user|tap|socket],id=str[,prop=value][,...]",
949 .help = "add host network device",
950 .user_print = monitor_user_noop,
951 .mhandler.cmd_new = do_netdev_add,
952 },
953
954STEXI
955@item netdev_add
956@findex netdev_add
957Add host network device.
958ETEXI
959
960 {
961 .name = "netdev_del",
962 .args_type = "id:s",
963 .params = "id",
964 .help = "remove host network device",
965 .user_print = monitor_user_noop,
966 .mhandler.cmd_new = do_netdev_del,
967 },
968
969STEXI
970@item netdev_del
971@findex netdev_del
972Remove host network device.
973ETEXI
974
Blue Swirl23130862009-06-06 08:22:04 +0000975#ifdef CONFIG_SLIRP
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300976 {
977 .name = "hostfwd_add",
978 .args_type = "arg1:s,arg2:s?,arg3:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300979 .params = "[vlan_id name] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport",
980 .help = "redirect TCP or UDP connections from host to guest (requires -net user)",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300981 .mhandler.cmd = net_slirp_hostfwd_add,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300982 },
Markus Armbruster21413d62010-05-04 13:20:30 +0200983#endif
984STEXI
985@item hostfwd_add
986@findex hostfwd_add
987Redirect TCP or UDP connections from host to guest (requires -net user).
988ETEXI
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300989
Markus Armbruster21413d62010-05-04 13:20:30 +0200990#ifdef CONFIG_SLIRP
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300991 {
992 .name = "hostfwd_remove",
993 .args_type = "arg1:s,arg2:s?,arg3:s?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300994 .params = "[vlan_id name] [tcp|udp]:[hostaddr]:hostport",
995 .help = "remove host-to-guest TCP or UDP redirection",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -0300996 .mhandler.cmd = net_slirp_hostfwd_remove,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -0300997 },
998
Blue Swirl23130862009-06-06 08:22:04 +0000999#endif
1000STEXI
Markus Armbruster21413d62010-05-04 13:20:30 +02001001@item hostfwd_remove
1002@findex hostfwd_remove
1003Remove host-to-guest TCP or UDP redirection.
Blue Swirl23130862009-06-06 08:22:04 +00001004ETEXI
1005
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001006 {
1007 .name = "balloon",
Luiz Capitulino3b0bd6e2009-12-18 13:25:05 -02001008 .args_type = "value:M",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001009 .params = "target",
Riccardo Magliocchetti3c056132010-05-19 18:49:28 +02001010 .help = "request VM to change its memory allocation (in MB)",
Luiz Capitulino83fb1de2009-10-07 13:42:01 -03001011 .user_print = monitor_user_noop,
Adam Litke625a5be2010-01-26 14:17:35 -06001012 .mhandler.cmd_async = do_balloon,
Jan Kiszka8ac470c2010-06-16 00:38:39 +02001013 .flags = MONITOR_CMD_ASYNC,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001014 },
1015
Blue Swirl23130862009-06-06 08:22:04 +00001016STEXI
1017@item balloon @var{value}
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001018@findex balloon
Blue Swirl23130862009-06-06 08:22:04 +00001019Request VM to change its memory allocation to @var{value} (in MB).
1020ETEXI
1021
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001022 {
1023 .name = "set_link",
Markus Armbrusterc9b26a42010-03-26 09:07:10 +01001024 .args_type = "name:s,up:b",
1025 .params = "name on|off",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001026 .help = "change the link status of a network adapter",
Markus Armbruster5369e3c2010-03-26 09:07:11 +01001027 .user_print = monitor_user_noop,
1028 .mhandler.cmd_new = do_set_link,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001029 },
1030
Blue Swirl23130862009-06-06 08:22:04 +00001031STEXI
Markus Armbrusterc9b26a42010-03-26 09:07:10 +01001032@item set_link @var{name} [on|off]
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001033@findex set_link
Markus Armbrusterc9b26a42010-03-26 09:07:10 +01001034Switch link @var{name} on (i.e. up) or off (i.e. down).
Blue Swirl23130862009-06-06 08:22:04 +00001035ETEXI
1036
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001037 {
1038 .name = "watchdog_action",
1039 .args_type = "action:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001040 .params = "[reset|shutdown|poweroff|pause|debug|none]",
1041 .help = "change watchdog action",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -03001042 .mhandler.cmd = do_watchdog_action,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001043 },
1044
Blue Swirl23130862009-06-06 08:22:04 +00001045STEXI
1046@item watchdog_action
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001047@findex watchdog_action
Blue Swirl23130862009-06-06 08:22:04 +00001048Change watchdog action.
1049ETEXI
1050
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001051 {
1052 .name = "acl_show",
1053 .args_type = "aclname:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001054 .params = "aclname",
1055 .help = "list rules in the access control list",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -03001056 .mhandler.cmd = do_acl_show,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001057 },
1058
Blue Swirl23130862009-06-06 08:22:04 +00001059STEXI
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001060@item acl_show @var{aclname}
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001061@findex acl_show
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001062List all the matching rules in the access control list, and the default
1063policy. There are currently two named access control lists,
1064@var{vnc.x509dname} and @var{vnc.username} matching on the x509 client
1065certificate distinguished name, and SASL username respectively.
1066ETEXI
Blue Swirl23130862009-06-06 08:22:04 +00001067
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001068 {
1069 .name = "acl_policy",
1070 .args_type = "aclname:s,policy:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001071 .params = "aclname allow|deny",
1072 .help = "set default access control list policy",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -03001073 .mhandler.cmd = do_acl_policy,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001074 },
1075
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001076STEXI
Jan Kiszkacbbfacc2009-07-03 08:46:05 +02001077@item acl_policy @var{aclname} @code{allow|deny}
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001078@findex acl_policy
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001079Set the default access control list policy, used in the event that
Blue Swirl23130862009-06-06 08:22:04 +00001080none of the explicit rules match. The default policy at startup is
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001081always @code{deny}.
1082ETEXI
1083
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001084 {
1085 .name = "acl_add",
1086 .args_type = "aclname:s,match:s,policy:s,index:i?",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001087 .params = "aclname match allow|deny [index]",
1088 .help = "add a match rule to the access control list",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -03001089 .mhandler.cmd = do_acl_add,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001090 },
1091
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001092STEXI
Markus Armbruster0e4aec92010-05-04 13:20:31 +02001093@item acl_add @var{aclname} @var{match} @code{allow|deny} [@var{index}]
1094@findex acl_add
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001095Add a match rule to the access control list, allowing or denying access.
1096The match will normally be an exact username or x509 distinguished name,
1097but can optionally include wildcard globs. eg @code{*@@EXAMPLE.COM} to
1098allow all users in the @code{EXAMPLE.COM} kerberos realm. The match will
Blue Swirl23130862009-06-06 08:22:04 +00001099normally be appended to the end of the ACL, but can be inserted
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001100earlier in the list if the optional @var{index} parameter is supplied.
1101ETEXI
1102
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001103 {
1104 .name = "acl_remove",
1105 .args_type = "aclname:s,match:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001106 .params = "aclname match",
1107 .help = "remove a match rule from the access control list",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -03001108 .mhandler.cmd = do_acl_remove,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001109 },
1110
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001111STEXI
1112@item acl_remove @var{aclname} @var{match}
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001113@findex acl_remove
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001114Remove the specified match rule from the access control list.
1115ETEXI
1116
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001117 {
1118 .name = "acl_reset",
1119 .args_type = "aclname:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001120 .params = "aclname",
1121 .help = "reset the access control list",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -03001122 .mhandler.cmd = do_acl_reset,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001123 },
1124
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001125STEXI
Markus Armbruster0e4aec92010-05-04 13:20:31 +02001126@item acl_reset @var{aclname}
1127@findex acl_reset
Jan Kiszka15dfcd42009-06-25 08:22:08 +02001128Remove all matches from the access control list, and set the default
Blue Swirl23130862009-06-06 08:22:04 +00001129policy back to @code{deny}.
Blue Swirl23130862009-06-06 08:22:04 +00001130ETEXI
1131
Huang Ying79c4f6b2009-06-23 10:05:14 +08001132#if defined(TARGET_I386)
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001133
1134 {
1135 .name = "mce",
1136 .args_type = "cpu_index:i,bank:i,status:l,mcg_status:l,addr:l,misc:l",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001137 .params = "cpu bank status mcgstatus addr misc",
1138 .help = "inject a MCE on the given CPU",
Luiz Capitulinoaf4ce882009-10-07 13:41:52 -03001139 .mhandler.cmd = do_inject_mce,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001140 },
1141
Huang Ying79c4f6b2009-06-23 10:05:14 +08001142#endif
1143STEXI
1144@item mce @var{cpu} @var{bank} @var{status} @var{mcgstatus} @var{addr} @var{misc}
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001145@findex mce (x86)
Huang Ying79c4f6b2009-06-23 10:05:14 +08001146Inject an MCE on the given CPU (x86 only).
1147ETEXI
1148
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001149 {
1150 .name = "getfd",
1151 .args_type = "fdname:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001152 .params = "getfd name",
1153 .help = "receive a file descriptor via SCM rights and assign it a name",
Luiz Capitulinof0d60002009-10-16 12:23:50 -03001154 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -02001155 .mhandler.cmd_new = do_getfd,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001156 },
1157
Mark McLoughlinf07918f2009-07-22 09:11:40 +01001158STEXI
1159@item getfd @var{fdname}
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001160@findex getfd
Mark McLoughlinf07918f2009-07-22 09:11:40 +01001161If a file descriptor is passed alongside this command using the SCM_RIGHTS
1162mechanism on unix sockets, it is stored using the name @var{fdname} for
1163later use by other monitor commands.
1164ETEXI
1165
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001166 {
1167 .name = "closefd",
1168 .args_type = "fdname:s",
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001169 .params = "closefd name",
1170 .help = "close a file descriptor previously passed via SCM rights",
Luiz Capitulino18f3a512009-10-16 12:23:51 -03001171 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -02001172 .mhandler.cmd_new = do_closefd,
Luiz Capitulinod7f9b682009-10-07 13:41:50 -03001173 },
1174
Mark McLoughlinf07918f2009-07-22 09:11:40 +01001175STEXI
1176@item closefd @var{fdname}
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001177@findex closefd
Mark McLoughlinf07918f2009-07-22 09:11:40 +01001178Close the file descriptor previously assigned to @var{fdname} using the
1179@code{getfd} command. This is only needed if the file descriptor was never
1180used by another monitor command.
1181ETEXI
1182
Luiz Capitulinoa3a55a22009-12-04 15:24:09 -02001183 {
1184 .name = "block_passwd",
1185 .args_type = "device:B,password:s",
1186 .params = "block_passwd device password",
1187 .help = "set the password of encrypted block devices",
1188 .user_print = monitor_user_noop,
Luiz Capitulino261394d2010-02-10 23:50:02 -02001189 .mhandler.cmd_new = do_block_set_passwd,
Luiz Capitulinoa3a55a22009-12-04 15:24:09 -02001190 },
1191
1192STEXI
1193@item block_passwd @var{device} @var{password}
Stefan Weil70fcbbe2010-02-05 23:52:04 +01001194@findex block_passwd
Luiz Capitulinoa3a55a22009-12-04 15:24:09 -02001195Set the encrypted device @var{device} password to @var{password}
1196ETEXI
Jan Kiszkab40292e2010-05-31 14:43:31 -03001197
Jan Kiszka33572ec2010-05-31 14:43:30 -03001198 {
Gerd Hoffmann75721502010-10-07 12:22:54 +02001199 .name = "set_password",
1200 .args_type = "protocol:s,password:s,connected:s?",
1201 .params = "protocol password action-if-connected",
1202 .help = "set spice/vnc password",
1203 .user_print = monitor_user_noop,
1204 .mhandler.cmd_new = set_password,
1205 },
1206
1207STEXI
1208@item set_password [ vnc | spice ] password [ action-if-connected ]
1209@findex set_password
1210
1211Change spice/vnc password. Use zero to make the password stay valid
1212forever. @var{action-if-connected} specifies what should happen in
1213case a connection is established: @var{fail} makes the password change
1214fail. @var{disconnect} changes the password and disconnects the
1215client. @var{keep} changes the password and keeps the connection up.
1216@var{keep} is the default.
1217ETEXI
1218
1219 {
1220 .name = "expire_password",
1221 .args_type = "protocol:s,time:s",
1222 .params = "protocol time",
1223 .help = "set spice/vnc password expire-time",
1224 .user_print = monitor_user_noop,
1225 .mhandler.cmd_new = expire_password,
1226 },
1227
1228STEXI
1229@item expire_password [ vnc | spice ] expire-time
1230@findex expire_password
1231
1232Specify when a password for spice/vnc becomes
1233invalid. @var{expire-time} accepts:
1234
1235@table @var
1236@item now
1237Invalidate password instantly.
1238
1239@item never
1240Password stays valid forever.
1241
1242@item +nsec
1243Password stays valid for @var{nsec} seconds starting now.
1244
1245@item nsec
1246Password is invalidated at the given time. @var{nsec} are the seconds
1247passed since 1970, i.e. unix epoch.
1248
1249@end table
1250ETEXI
1251
1252 {
Jan Kiszka33572ec2010-05-31 14:43:30 -03001253 .name = "info",
1254 .args_type = "item:s?",
1255 .params = "[subcommand]",
1256 .help = "show various information about the system state",
Luiz Capitulino1162daa2010-09-13 12:15:26 -03001257 .mhandler.cmd = do_info,
Jan Kiszka33572ec2010-05-31 14:43:30 -03001258 },
1259
1260STEXI
1261@item info @var{subcommand}
1262@findex info
1263Show various information about the system state.
1264
1265@table @option
1266@item info version
1267show the version of QEMU
Jan Kiszka33572ec2010-05-31 14:43:30 -03001268@item info network
1269show the various VLANs and the associated devices
1270@item info chardev
1271show the character devices
1272@item info block
1273show the block devices
1274@item info blockstats
1275show block device statistics
1276@item info registers
1277show the cpu registers
1278@item info cpus
1279show infos for each CPU
1280@item info history
1281show the command line history
1282@item info irq
1283show the interrupts statistics (if available)
1284@item info pic
1285show i8259 (PIC) state
1286@item info pci
1287show emulated PCI device info
1288@item info tlb
Blue Swirld41160a2010-12-19 13:42:56 +00001289show virtual to physical memory mappings (i386, SH4 and SPARC only)
Jan Kiszka33572ec2010-05-31 14:43:30 -03001290@item info mem
1291show the active virtual memory mappings (i386 only)
Jan Kiszka33572ec2010-05-31 14:43:30 -03001292@item info jit
1293show dynamic compiler info
1294@item info kvm
1295show KVM information
1296@item info numa
1297show NUMA information
Jan Kiszkab40292e2010-05-31 14:43:31 -03001298@item info kvm
1299show KVM information
Jan Kiszka33572ec2010-05-31 14:43:30 -03001300@item info usb
1301show USB devices plugged on the virtual USB hub
1302@item info usbhost
1303show all USB host devices
1304@item info profile
1305show profiling information
1306@item info capture
1307show information about active capturing
1308@item info snapshots
1309show list of VM snapshots
1310@item info status
1311show the current VM status (running|paused)
1312@item info pcmcia
1313show guest PCMCIA status
1314@item info mice
1315show which guest mouse is receiving events
1316@item info vnc
1317show the vnc server status
1318@item info name
1319show the current VM name
1320@item info uuid
1321show the current VM UUID
1322@item info cpustats
1323show CPU statistics
1324@item info usernet
1325show user network stack connection states
1326@item info migrate
1327show migration status
1328@item info balloon
1329show balloon information
1330@item info qtree
1331show device tree
1332@item info qdm
1333show qdev device model list
1334@item info roms
1335show roms
1336@end table
1337ETEXI
1338
Prerna Saxena22890ab2010-06-24 17:04:53 +05301339#ifdef CONFIG_SIMPLE_TRACE
1340STEXI
1341@item info trace
1342show contents of trace buffer
1343@item info trace-events
1344show available trace events and their state
1345ETEXI
1346#endif
1347
Blue Swirl23130862009-06-06 08:22:04 +00001348STEXI
1349@end table
1350ETEXI