1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | manpage, user manual, usage: VBoxManage debugvm
|
---|
4 |
|
---|
5 | Copyright (C) 2006-2020 Oracle Corporation
|
---|
6 |
|
---|
7 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | available from http://www.virtualbox.org. This file is free software;
|
---|
9 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | General Public License (GPL) as published by the Free Software
|
---|
11 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | -->
|
---|
15 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
---|
16 | <refentry id="vboxmanage-debugvm" lang="en">
|
---|
17 |
|
---|
18 | <refentryinfo>
|
---|
19 | <pubdate>$Date: 2021-06-25 18:35:48 +0000 (Fri, 25 Jun 2021) $</pubdate>
|
---|
20 | <title>VBoxManage debugvm</title>
|
---|
21 | </refentryinfo>
|
---|
22 |
|
---|
23 | <refmeta>
|
---|
24 | <refentrytitle>VBoxManage-debugvm</refentrytitle>
|
---|
25 | <manvolnum>1</manvolnum>
|
---|
26 | </refmeta>
|
---|
27 |
|
---|
28 | <refnamediv>
|
---|
29 | <refname>VBoxManage-debugvm</refname>
|
---|
30 | <refpurpose>introspection and guest debugging</refpurpose>
|
---|
31 | <refclass>Oracle VM VirtualBox</refclass>
|
---|
32 | </refnamediv>
|
---|
33 |
|
---|
34 | <refsynopsisdiv>
|
---|
35 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-dumpvmcore">
|
---|
36 | <command>VBoxManage debugvm</command>
|
---|
37 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
38 | <arg choice="plain">dumpvmcore</arg>
|
---|
39 | <arg>--filename=<replaceable>name</replaceable></arg>
|
---|
40 | </cmdsynopsis>
|
---|
41 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-info">
|
---|
42 | <command>VBoxManage debugvm</command>
|
---|
43 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
44 | <arg choice="plain">info</arg>
|
---|
45 | <arg choice="req"><replaceable>item</replaceable></arg>
|
---|
46 | <arg rep="repeat"><replaceable>args</replaceable></arg>
|
---|
47 | </cmdsynopsis>
|
---|
48 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-injectnmi">
|
---|
49 | <command>VBoxManage debugvm</command>
|
---|
50 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
51 | <arg choice="plain">injectnmi</arg>
|
---|
52 | </cmdsynopsis>
|
---|
53 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-log">
|
---|
54 | <command>VBoxManage debugvm</command>
|
---|
55 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
56 | <arg choice="plain">log</arg>
|
---|
57 | <group><arg>--release</arg><arg>--debug</arg></group>
|
---|
58 | <arg rep="repeat"><replaceable>group-settings</replaceable></arg>
|
---|
59 | </cmdsynopsis>
|
---|
60 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-logdest">
|
---|
61 | <command>VBoxManage debugvm</command>
|
---|
62 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
63 | <arg choice="plain">logdest</arg>
|
---|
64 | <group><arg>--release</arg><arg>--debug</arg></group>
|
---|
65 | <arg rep="repeat"><replaceable>destinations</replaceable></arg>
|
---|
66 | </cmdsynopsis>
|
---|
67 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-logflags">
|
---|
68 | <command>VBoxManage debugvm</command>
|
---|
69 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
70 | <arg choice="plain">logflags</arg>
|
---|
71 | <group><arg>--release</arg><arg>--debug</arg></group>
|
---|
72 | <arg rep="repeat"><replaceable>flags</replaceable></arg>
|
---|
73 | </cmdsynopsis>
|
---|
74 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-osdetect">
|
---|
75 | <command>VBoxManage debugvm</command>
|
---|
76 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
77 | <arg choice="plain">osdetect</arg>
|
---|
78 | </cmdsynopsis>
|
---|
79 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-osinfo">
|
---|
80 | <command>VBoxManage debugvm</command>
|
---|
81 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
82 | <arg choice="plain">osinfo</arg>
|
---|
83 | </cmdsynopsis>
|
---|
84 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-osdmesg">
|
---|
85 | <command>VBoxManage debugvm</command>
|
---|
86 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
87 | <arg choice="plain">osdmesg</arg>
|
---|
88 | <arg>--lines=<replaceable>lines</replaceable></arg>
|
---|
89 | </cmdsynopsis>
|
---|
90 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-getregisters">
|
---|
91 | <command>VBoxManage debugvm</command>
|
---|
92 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
93 | <arg choice="plain">getregisters</arg>
|
---|
94 | <arg>--cpu=<replaceable>id</replaceable></arg>
|
---|
95 | <arg rep="repeat"><replaceable>reg-set.reg-name</replaceable></arg>
|
---|
96 | </cmdsynopsis>
|
---|
97 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-setregisters">
|
---|
98 | <command>VBoxManage debugvm</command>
|
---|
99 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
100 | <arg choice="plain">setregisters</arg>
|
---|
101 | <arg>--cpu=<replaceable>id</replaceable></arg>
|
---|
102 | <arg rep="repeat"><replaceable>reg-set.reg-name</replaceable>=<replaceable>value</replaceable></arg>
|
---|
103 | </cmdsynopsis>
|
---|
104 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-show">
|
---|
105 | <command>VBoxManage debugvm</command>
|
---|
106 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
107 | <arg choice="plain">show</arg>
|
---|
108 | <group><arg>--human-readable</arg><arg>--sh-export</arg><arg>--sh-eval</arg><arg>--cmd-set</arg></group>
|
---|
109 | <arg rep="repeat"><replaceable>settings-item</replaceable></arg>
|
---|
110 | </cmdsynopsis>
|
---|
111 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-stack">
|
---|
112 | <command>VBoxManage debugvm</command>
|
---|
113 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
114 | <arg choice="plain">stack</arg>
|
---|
115 | <arg>--cpu=<replaceable>id</replaceable></arg>
|
---|
116 | </cmdsynopsis>
|
---|
117 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-statistics">
|
---|
118 | <command>VBoxManage debugvm</command>
|
---|
119 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
120 | <arg choice="plain">statistics</arg>
|
---|
121 | <arg>--reset</arg>
|
---|
122 | <arg>--descriptions</arg>
|
---|
123 | <arg>--pattern=<replaceable>pattern</replaceable></arg>
|
---|
124 | </cmdsynopsis>
|
---|
125 | <cmdsynopsis id="synopsis-vboxmanage-debugvm-guestsample">
|
---|
126 | <command>VBoxManage debugvm</command>
|
---|
127 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
128 | <arg choice="plain">guestsample</arg>
|
---|
129 | <arg>--filename=<replaceable>filename</replaceable></arg>
|
---|
130 | <arg>--sample-interval-us=<replaceable>interval</replaceable></arg>
|
---|
131 | <arg>--sample-time-us=<replaceable>time</replaceable></arg>
|
---|
132 | </cmdsynopsis>
|
---|
133 | </refsynopsisdiv>
|
---|
134 | <refsect1>
|
---|
135 | <title>Description</title>
|
---|
136 |
|
---|
137 | <para>The "debugvm" commands are for experts who want to tinker with the
|
---|
138 | exact details of virtual machine execution. Like the VM debugger
|
---|
139 | described in <xref linkend="ts_debugger" />, these commands are only useful if you are
|
---|
140 | very familiar with the details of the PC architecture and how to debug
|
---|
141 | software.</para>
|
---|
142 |
|
---|
143 | <refsect2 id="vboxmanage-debugvm-common-options">
|
---|
144 | <title>Common options</title>
|
---|
145 | <remark role="help-scope" condition="GLOBAL"/>
|
---|
146 | <para>The subcommands of <command>debugvm</command> all operate on a running virtual
|
---|
147 | machine:</para>
|
---|
148 | <variablelist>
|
---|
149 | <varlistentry>
|
---|
150 | <term><replaceable>uuid|vmname</replaceable></term>
|
---|
151 | <listitem><para>Either the UUID or the name (case sensitive) of a VM.</para></listitem>
|
---|
152 | </varlistentry>
|
---|
153 | </variablelist>
|
---|
154 | </refsect2>
|
---|
155 |
|
---|
156 | <refsect2 id="vboxmanage-debugvm-dumpvmcore">
|
---|
157 | <title>debugvm dumpvmcore</title>
|
---|
158 | <remark role="help-copy-synopsis"/>
|
---|
159 | <para>
|
---|
160 | Creates a system dump file of the specified VM. This file will have
|
---|
161 | the standard ELF core format (with custom sections); see
|
---|
162 | <xref linkend="ts_guest-core-format" />.
|
---|
163 | </para>
|
---|
164 | <para>
|
---|
165 | This corresponds to the <command>writecore</command> command in the debugger.
|
---|
166 | </para>
|
---|
167 | <variablelist>
|
---|
168 | <varlistentry>
|
---|
169 | <term><option>--filename=<replaceable>filename</replaceable></option></term>
|
---|
170 | <listitem><para>The name of the output file.</para></listitem>
|
---|
171 | </varlistentry>
|
---|
172 | </variablelist>
|
---|
173 | </refsect2>
|
---|
174 |
|
---|
175 | <refsect2 id="vboxmanage-debugvm-info">
|
---|
176 | <title>debugvm info</title>
|
---|
177 | <remark role="help-copy-synopsis"/>
|
---|
178 | <para>
|
---|
179 | Displays info items relating to the VMM, device emulations and
|
---|
180 | associated drivers.
|
---|
181 | </para>
|
---|
182 | <para>
|
---|
183 | This corresponds to the <command>info</command> command in the debugger.
|
---|
184 | </para>
|
---|
185 | <variablelist>
|
---|
186 | <varlistentry>
|
---|
187 | <term><replaceable>item</replaceable></term>
|
---|
188 | <listitem>
|
---|
189 | <para>Name of the info item to display. The special name
|
---|
190 | <option>help</option> will list all the available info items and
|
---|
191 | hints about optional arguments.</para>
|
---|
192 | </listitem>
|
---|
193 | </varlistentry>
|
---|
194 | <varlistentry>
|
---|
195 | <term><replaceable>args</replaceable></term>
|
---|
196 | <listitem>
|
---|
197 | <para>Optional argument string for the info item handler. Most info items
|
---|
198 | does not take any extra arguments. Arguments not recognized are generally
|
---|
199 | ignored.</para>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 | </variablelist>
|
---|
203 | </refsect2>
|
---|
204 |
|
---|
205 | <refsect2 id="vboxmanage-debugvm-injectnmi">
|
---|
206 | <title>debugvm injectnmi</title>
|
---|
207 | <remark role="help-copy-synopsis"/>
|
---|
208 | <para>
|
---|
209 | Causes a non-maskable interrupt (NMI) to be injected into the guest. This
|
---|
210 | might be useful for certain debugging scenarios. What happens exactly is
|
---|
211 | dependent on the guest operating system, but an NMI can crash the whole
|
---|
212 | guest operating system. Do not use unless you know what you're doing.
|
---|
213 | </para>
|
---|
214 | </refsect2>
|
---|
215 |
|
---|
216 | <refsect2 id="vboxmanage-debugvm-log">
|
---|
217 | <title>debugvm log</title>
|
---|
218 | <remark role="help-copy-synopsis"/>
|
---|
219 | <para>
|
---|
220 | Changes the group settings for either debug (<option>--debug</option>)
|
---|
221 | or release (<option>--release</option>) logger of the VM process.
|
---|
222 | </para>
|
---|
223 | <para>
|
---|
224 | The <replaceable>group-settings</replaceable> are typically strings on the form
|
---|
225 | <computeroutput>em.e.f.l</computeroutput>, <computeroutput>hm=~0</computeroutput>
|
---|
226 | and <computeroutput>-em.f</computeroutput>. Basic wildcards are supported for
|
---|
227 | group matching. The <computeroutput>all</computeroutput> group is an alias for
|
---|
228 | all the groups.
|
---|
229 | </para>
|
---|
230 | <para>
|
---|
231 | Please do keep in mind that the group settings are applied as modifications
|
---|
232 | to the current ones.
|
---|
233 | </para>
|
---|
234 | <para>
|
---|
235 | This corresponds to the <command>log</command> command in the debugger.
|
---|
236 | </para>
|
---|
237 | </refsect2>
|
---|
238 |
|
---|
239 | <refsect2 id="vboxmanage-debugvm-logdest">
|
---|
240 | <title>debugvm logdest</title>
|
---|
241 | <remark role="help-copy-synopsis"/>
|
---|
242 | <para>
|
---|
243 | Changes the destination settings for either debug (<option>--debug</option>)
|
---|
244 | or release (<option>--release</option>) logger of the VM process. For details
|
---|
245 | on the destination format, the best source is src/VBox/Runtime/common/log/log.cpp.
|
---|
246 | </para>
|
---|
247 | <para>
|
---|
248 | The <replaceable>destinations</replaceable> is one or more mnemonics, optionally
|
---|
249 | prefixed by "no" to disable them. Some of them take values after a ":" or "="
|
---|
250 | separator. Multiple mnemonics can be separated by space or given as separate
|
---|
251 | arguments on the command line.
|
---|
252 | </para>
|
---|
253 | <para>
|
---|
254 | List of available destination:
|
---|
255 | </para>
|
---|
256 | <variablelist>
|
---|
257 | <varlistentry>
|
---|
258 | <term><option>file[=<replaceable>file</replaceable>], nofile</option></term>
|
---|
259 | <listitem><para>Specifies a log file. It no filname is given, one will be
|
---|
260 | generated based on the current UTC time and VM process name and placed in
|
---|
261 | the current directory of the VM process. Note that this will currently not
|
---|
262 | have any effect if the log file has already been opened.
|
---|
263 | </para></listitem>
|
---|
264 | </varlistentry>
|
---|
265 | <varlistentry>
|
---|
266 | <term><option>dir=<replaceable>directory</replaceable>, nodir</option></term>
|
---|
267 | <listitem><para>Specifies the output directory for log files. Note that this
|
---|
268 | will currently not have any effect if the log file has already been opened.
|
---|
269 | </para></listitem>
|
---|
270 | </varlistentry>
|
---|
271 | <varlistentry>
|
---|
272 | <term><option>history=<replaceable>count</replaceable>, nohistory</option></term>
|
---|
273 | <listitem><para>A non-zero value enables log historization, with the value
|
---|
274 | specifying how many old log files to keep.
|
---|
275 | </para></listitem>
|
---|
276 | </varlistentry>
|
---|
277 | <varlistentry>
|
---|
278 | <term><option>histsize=<replaceable>bytes</replaceable></option></term>
|
---|
279 | <listitem><para>The max size of a log file before it is historized. Default is infinite.</para></listitem>
|
---|
280 | </varlistentry>
|
---|
281 | <varlistentry>
|
---|
282 | <term><option>histtime=<replaceable>seconds</replaceable></option></term>
|
---|
283 | <listitem><para>The max age (in seconds) of a log file before it is historized. Default is infinite.</para></listitem>
|
---|
284 | </varlistentry>
|
---|
285 | <varlistentry>
|
---|
286 | <term><option>ringbuffer, noringbuffer</option></term>
|
---|
287 | <listitem><para>Only log to the log buffer until an explicit flush (e.g. via an assertion)
|
---|
288 | occurs. This is fast and saves diskspace.</para></listitem>
|
---|
289 | </varlistentry>
|
---|
290 | <varlistentry>
|
---|
291 | <term><option>stdout, nostdout</option></term>
|
---|
292 | <listitem><para>Write the log content to standard output.</para></listitem>
|
---|
293 | </varlistentry>
|
---|
294 | <varlistentry>
|
---|
295 | <term><option>stdout, nostdout</option></term>
|
---|
296 | <listitem><para>Write the log content to standard error.</para></listitem>
|
---|
297 | </varlistentry>
|
---|
298 | <varlistentry>
|
---|
299 | <term><option>debugger, nodebugger</option></term>
|
---|
300 | <listitem><para>Write the log content to the debugger, if supported by the host OS.</para></listitem>
|
---|
301 | </varlistentry>
|
---|
302 | <varlistentry>
|
---|
303 | <term><option>com, nocom</option></term>
|
---|
304 | <listitem><para>Writes logging to the COM port. This is only applicable for raw-mode and ring-0 logging.</para></listitem>
|
---|
305 | </varlistentry>
|
---|
306 | <varlistentry>
|
---|
307 | <term><option>user, nouser</option></term>
|
---|
308 | <listitem><para>Custom destination which has no meaning to VM processes..</para></listitem>
|
---|
309 | </varlistentry>
|
---|
310 | </variablelist>
|
---|
311 | <para>
|
---|
312 | This corresponds to the <command>logdest</command> command in the debugger.
|
---|
313 | </para>
|
---|
314 | </refsect2>
|
---|
315 |
|
---|
316 | <refsect2 id="vboxmanage-debugvm-logflags">
|
---|
317 | <title>debugvm logflags</title>
|
---|
318 | <remark role="help-copy-synopsis"/>
|
---|
319 | <para>
|
---|
320 | Changes the flags on either debug (<option>--debug</option>) or release
|
---|
321 | (<option>--release</option>) logger of the VM process. Please note that the
|
---|
322 | modifications are applied onto the existing changes, they are not replacing them.
|
---|
323 | </para>
|
---|
324 | <para>
|
---|
325 | The <replaceable>flags</replaceable> are a list of flag mnemonics, optionally
|
---|
326 | prefixed by a "no", "!", "~" or "-" to negate their meaning. The "+" prefix
|
---|
327 | can be used to undo previous negation or use as a separator, though better use
|
---|
328 | whitespace or separate arguments for that.
|
---|
329 | </para>
|
---|
330 | <para>
|
---|
331 | List of log flag mnemonics, with their counter form where applicable
|
---|
332 | (asterisk indicates defaults):
|
---|
333 | </para>
|
---|
334 | <variablelist>
|
---|
335 | <varlistentry>
|
---|
336 | <term><option>enabled*, disabled</option></term>
|
---|
337 | <listitem><para>Enables or disables logging.</para></listitem>
|
---|
338 | </varlistentry>
|
---|
339 | <varlistentry>
|
---|
340 | <term><option>buffered, unbuffered*</option></term>
|
---|
341 | <listitem><para>Enabling buffering of log output before it hits the destinations.</para></listitem>
|
---|
342 | </varlistentry>
|
---|
343 | <varlistentry>
|
---|
344 | <term><option>writethrough(/writethru)</option></term>
|
---|
345 | <listitem><para>Whether to open the destination file with writethru buffering settings or not.</para></listitem>
|
---|
346 | </varlistentry>
|
---|
347 | <varlistentry>
|
---|
348 | <term><option>flush</option></term>
|
---|
349 | <listitem><para>Enables flushing of the output file (to disk) after each log statement.</para></listitem>
|
---|
350 | </varlistentry>
|
---|
351 | <!-- Prefixes -->
|
---|
352 | <varlistentry>
|
---|
353 | <term><option>lockcnts</option></term>
|
---|
354 | <listitem><para>Prefix each log line with lock counts for the current thread.</para></listitem>
|
---|
355 | </varlistentry>
|
---|
356 | <varlistentry>
|
---|
357 | <term><option>cpuid</option></term>
|
---|
358 | <listitem><para>Prefix each log line with the ID of the current CPU.</para></listitem>
|
---|
359 | </varlistentry>
|
---|
360 | <varlistentry>
|
---|
361 | <term><option>pid</option></term>
|
---|
362 | <listitem><para>Prefix each log line with the current process ID.</para></listitem>
|
---|
363 | </varlistentry>
|
---|
364 | <varlistentry>
|
---|
365 | <term><option>flagno</option></term>
|
---|
366 | <listitem><para>Prefix each log line with the numberic flags corresponding to the log statement.</para></listitem>
|
---|
367 | </varlistentry>
|
---|
368 | <varlistentry>
|
---|
369 | <term><option>flag</option></term>
|
---|
370 | <listitem><para>Prefix each log line with the flag mnemonics corresponding to the log statement.</para></listitem>
|
---|
371 | </varlistentry>
|
---|
372 | <varlistentry>
|
---|
373 | <term><option>groupno</option></term>
|
---|
374 | <listitem><para>Prefix each log line with the log group number for the log statement producing it.</para></listitem>
|
---|
375 | </varlistentry>
|
---|
376 | <varlistentry>
|
---|
377 | <term><option>group</option></term>
|
---|
378 | <listitem><para>Prefix each log line with the log group name for the log statement producing it.</para></listitem>
|
---|
379 | </varlistentry>
|
---|
380 | <varlistentry>
|
---|
381 | <term><option>tid</option></term>
|
---|
382 | <listitem><para>Prefix each log line with the current thread identifier.</para></listitem>
|
---|
383 | </varlistentry>
|
---|
384 | <varlistentry>
|
---|
385 | <term><option>thread</option></term>
|
---|
386 | <listitem><para>Prefix each log line with the current thread name.</para></listitem>
|
---|
387 | </varlistentry>
|
---|
388 | <varlistentry>
|
---|
389 | <term><option>time</option></term>
|
---|
390 | <listitem><para>Prefix each log line with the current UTC wall time.</para></listitem>
|
---|
391 | </varlistentry>
|
---|
392 | <varlistentry>
|
---|
393 | <term><option>timeprog</option></term>
|
---|
394 | <listitem><para>Prefix each log line with the current monotonic time since the start of the program.</para></listitem>
|
---|
395 | </varlistentry>
|
---|
396 | <varlistentry>
|
---|
397 | <term><option>msprog</option></term>
|
---|
398 | <listitem><para>Prefix each log line with the current monotonic timestamp value in milliseconds since the start of the program.</para></listitem>
|
---|
399 | </varlistentry>
|
---|
400 | <varlistentry>
|
---|
401 | <term><option>ts</option></term>
|
---|
402 | <listitem><para>Prefix each log line with the current monotonic timestamp value in nanoseconds.</para></listitem>
|
---|
403 | </varlistentry>
|
---|
404 | <varlistentry>
|
---|
405 | <term><option>tsc</option></term>
|
---|
406 | <listitem><para>Prefix each log line with the current CPU timestamp counter (TSC) value.</para></listitem>
|
---|
407 | </varlistentry>
|
---|
408 | <varlistentry>
|
---|
409 | <term><option>rel, abs*</option></term>
|
---|
410 | <listitem><para>Selects the whether <computeroutput>ts</computeroutput> and
|
---|
411 | <computeroutput>tsc</computeroutput> prefixes should be displayed as relative to the
|
---|
412 | previous log line or as absolute time.</para></listitem>
|
---|
413 | </varlistentry>
|
---|
414 | <varlistentry>
|
---|
415 | <term><option>hex*, dec</option></term>
|
---|
416 | <listitem><para>Selects the whether the <computeroutput>ts</computeroutput> and
|
---|
417 | <computeroutput>tsc</computeroutput> prefixes should be formatted as hexadecimal
|
---|
418 | or decimal.</para></listitem>
|
---|
419 | </varlistentry>
|
---|
420 |
|
---|
421 | <!-- Suffixes and weird stuff. -->
|
---|
422 | <varlistentry>
|
---|
423 | <term><option>custom</option></term>
|
---|
424 | <listitem><para>Custom log prefix, has by default no meaning for VM processes.</para></listitem>
|
---|
425 | </varlistentry>
|
---|
426 |
|
---|
427 | <varlistentry>
|
---|
428 | <term><option>usecrlf, uself*</option></term>
|
---|
429 | <listitem><para>Output with DOS style (CRLF) or just UNIX style (LF) line endings.</para></listitem>
|
---|
430 | </varlistentry>
|
---|
431 | <varlistentry>
|
---|
432 | <term><option>overwrite*, append</option></term>
|
---|
433 | <listitem><para>Overwrite the destination file or append to it.</para></listitem>
|
---|
434 | </varlistentry>
|
---|
435 | </variablelist>
|
---|
436 |
|
---|
437 | <para>
|
---|
438 | This corresponds to the <command>logflags</command> command in the debugger.
|
---|
439 | </para>
|
---|
440 | </refsect2>
|
---|
441 |
|
---|
442 | <refsect2 id="vboxmanage-debugvm-osdetect">
|
---|
443 | <title>debugvm osdetect</title>
|
---|
444 | <remark role="help-copy-synopsis"/>
|
---|
445 | <para>
|
---|
446 | Make the VMM's debugger facility (re)-detect the guest operating system (OS).
|
---|
447 | This will first load all debugger plug-ins.
|
---|
448 | </para>
|
---|
449 | <para>
|
---|
450 | This corresponds to the <command>detect</command> command in the debugger.
|
---|
451 | </para>
|
---|
452 | </refsect2>
|
---|
453 |
|
---|
454 | <refsect2 id="vboxmanage-debugvm-osinfo">
|
---|
455 | <title>debugvm osinfo</title>
|
---|
456 | <remark role="help-copy-synopsis"/>
|
---|
457 | <para>
|
---|
458 | Displays information about the guest operating system (OS) previously
|
---|
459 | detected by the VMM's debugger facility.
|
---|
460 | </para>
|
---|
461 | </refsect2>
|
---|
462 |
|
---|
463 | <refsect2 id="vboxmanage-debugvm-osdmesg">
|
---|
464 | <title>debugvm osdmesg</title>
|
---|
465 | <remark role="help-copy-synopsis"/>
|
---|
466 | <para>
|
---|
467 | Displays the guest OS kernel log, if detected and supported.
|
---|
468 | </para>
|
---|
469 | <variablelist>
|
---|
470 | <varlistentry>
|
---|
471 | <term><option>--lines=<replaceable>lines</replaceable></option></term>
|
---|
472 | <listitem><para>Number of lines of the log to display, counting from
|
---|
473 | the end. The default is infinite.</para></listitem>
|
---|
474 | </varlistentry>
|
---|
475 | </variablelist>
|
---|
476 | </refsect2>
|
---|
477 |
|
---|
478 | <refsect2 id="vboxmanage-debugvm-getregisters">
|
---|
479 | <title>debugvm getregisters</title>
|
---|
480 | <remark role="help-copy-synopsis"/>
|
---|
481 | <para>
|
---|
482 | Retrieves register values for guest CPUs and emulated devices.
|
---|
483 | </para>
|
---|
484 | <variablelist>
|
---|
485 | <varlistentry>
|
---|
486 | <term><replaceable>reg-set.reg-name</replaceable></term>
|
---|
487 | <listitem>
|
---|
488 | <para>One of more registers, each having one of the following forms:</para>
|
---|
489 | <orderedlist>
|
---|
490 | <listitem><para>register-set.register-name.sub-field</para></listitem>
|
---|
491 | <listitem><para>register-set.register-name</para></listitem>
|
---|
492 | <listitem><para>cpu-register-name.sub-field</para></listitem>
|
---|
493 | <listitem><para>cpu-register-name</para></listitem>
|
---|
494 | <listitem><para>all</para></listitem>
|
---|
495 | </orderedlist>
|
---|
496 | <para>The <replaceable>all</replaceable> form will cause all registers
|
---|
497 | to be shown (no sub-fields). The registers names are case-insensitive.
|
---|
498 | </para>
|
---|
499 | </listitem>
|
---|
500 | </varlistentry>
|
---|
501 | <varlistentry>
|
---|
502 | <term><option>--cpu=<replaceable>id</replaceable></option></term>
|
---|
503 | <listitem><para>Selects the CPU register set when specifying just a
|
---|
504 | CPU register (3rd and 4th form). The default is 0.</para>
|
---|
505 | </listitem>
|
---|
506 | </varlistentry>
|
---|
507 | </variablelist>
|
---|
508 | </refsect2>
|
---|
509 |
|
---|
510 | <refsect2 id="vboxmanage-debugvm-setregisters">
|
---|
511 | <title>debugvm setregisters</title>
|
---|
512 | <remark role="help-copy-synopsis"/>
|
---|
513 | <para>
|
---|
514 | Changes register values for guest CPUs and emulated devices.
|
---|
515 | </para>
|
---|
516 | <variablelist>
|
---|
517 | <varlistentry>
|
---|
518 | <term><replaceable>reg-set.reg-name=value</replaceable></term>
|
---|
519 | <listitem>
|
---|
520 | <para>One of more register assignment, each having one of the following forms:</para>
|
---|
521 | <orderedlist>
|
---|
522 | <listitem><para>register-set.register-name.sub-field=value</para></listitem>
|
---|
523 | <listitem><para>register-set.register-name=value</para></listitem>
|
---|
524 | <listitem><para>cpu-register-name.sub-field=value</para></listitem>
|
---|
525 | <listitem><para>cpu-register-name=value</para></listitem>
|
---|
526 | </orderedlist>
|
---|
527 | <para>The value format should be in the same style as what
|
---|
528 | <command>getregisters</command> displays, with the exception that
|
---|
529 | both octal and decimal can be used instead of hexadecimal.</para>
|
---|
530 | </listitem>
|
---|
531 | </varlistentry>
|
---|
532 | <varlistentry>
|
---|
533 | <term><option>--cpu=<replaceable>id</replaceable></option></term>
|
---|
534 | <listitem><para>Selects the CPU register set when specifying just a
|
---|
535 | CPU register (3rd and 4th form). The default is 0.</para>
|
---|
536 | </listitem>
|
---|
537 | </varlistentry>
|
---|
538 | </variablelist>
|
---|
539 | </refsect2>
|
---|
540 |
|
---|
541 | <refsect2 id="vboxmanage-debugvm-show">
|
---|
542 | <title>debugvm show</title>
|
---|
543 | <remark role="help-copy-synopsis"/>
|
---|
544 | <para>
|
---|
545 | Shows logging settings for the VM.
|
---|
546 | </para>
|
---|
547 | <variablelist>
|
---|
548 | <varlistentry>
|
---|
549 | <term><option>--human-readable</option></term>
|
---|
550 | <listitem><para>Selects human readable output.</para></listitem>
|
---|
551 | </varlistentry>
|
---|
552 | <varlistentry>
|
---|
553 | <term><option>--sh-export</option></term>
|
---|
554 | <listitem><para>Selects output format as bourne shell style <command>export</command> commands.</para></listitem>
|
---|
555 | </varlistentry>
|
---|
556 | <varlistentry>
|
---|
557 | <term><option>--sh-eval</option></term>
|
---|
558 | <listitem><para>Selects output format as bourne shell style <command>eval</command> command input.</para></listitem>
|
---|
559 | </varlistentry>
|
---|
560 | <varlistentry>
|
---|
561 | <term><option>--cmd-set</option></term>
|
---|
562 | <listitem><para>Selects output format as DOS style <command>SET</command> commands.</para></listitem>
|
---|
563 | </varlistentry>
|
---|
564 | <varlistentry>
|
---|
565 | <term><replaceable>settings-item</replaceable></term>
|
---|
566 | <listitem>
|
---|
567 | <para>What to display. One or more of the following:</para>
|
---|
568 | <itemizedlist>
|
---|
569 | <listitem><para>logdbg-settings - debug log settings.</para></listitem>
|
---|
570 | <listitem><para>logrel-settings - release log settings.</para></listitem>
|
---|
571 | <listitem><para>log-settings - alias for both debug and release log settings.</para></listitem>
|
---|
572 | </itemizedlist>
|
---|
573 | </listitem>
|
---|
574 | </varlistentry>
|
---|
575 | </variablelist>
|
---|
576 |
|
---|
577 | </refsect2>
|
---|
578 |
|
---|
579 | <refsect2 id="vboxmanage-debugvm-stack">
|
---|
580 | <title>debugvm stack</title>
|
---|
581 | <remark role="help-copy-synopsis"/>
|
---|
582 | <para>
|
---|
583 | Unwinds the guest CPU stacks to the best of our ability. It is
|
---|
584 | recommended to first run the <command>osdetect</command> command, as this
|
---|
585 | gives both symbols and perhaps unwind information.
|
---|
586 | </para>
|
---|
587 | <variablelist>
|
---|
588 | <varlistentry>
|
---|
589 | <term><option>--cpu=<replaceable>id</replaceable></option></term>
|
---|
590 | <listitem><para>Selects a single guest CPU to display the stack for. The default is all CPUs.</para> </listitem>
|
---|
591 | </varlistentry>
|
---|
592 | </variablelist>
|
---|
593 |
|
---|
594 | </refsect2>
|
---|
595 |
|
---|
596 | <refsect2 id="vboxmanage-debugvm-statistics">
|
---|
597 | <title>debugvm statistics</title>
|
---|
598 | <remark role="help-copy-synopsis"/>
|
---|
599 | <para>
|
---|
600 | Displays or resets VMM statistics.
|
---|
601 | </para>
|
---|
602 | <para>
|
---|
603 | Retrieves register values for guest CPUs and emulated devices.
|
---|
604 | </para>
|
---|
605 | <variablelist>
|
---|
606 | <varlistentry>
|
---|
607 | <term><option>--pattern=<replaceable>pattern</replaceable></option></term>
|
---|
608 | <listitem><para>DOS/NT-style wildcards patterns for selecting statistics. Multiple
|
---|
609 | patterns can be specified by using the '|' (pipe) character as separator.</para>
|
---|
610 | </listitem>
|
---|
611 | </varlistentry>
|
---|
612 | <varlistentry>
|
---|
613 | <term><option>--reset</option></term>
|
---|
614 | <listitem><para>Select reset instead of display mode.</para></listitem>
|
---|
615 | </varlistentry>
|
---|
616 | </variablelist>
|
---|
617 |
|
---|
618 | </refsect2>
|
---|
619 |
|
---|
620 | <refsect2 id="vboxmanage-debugvm-guestsample">
|
---|
621 | <title>debugvm guestsample</title>
|
---|
622 | <remark role="help-copy-synopsis"/>
|
---|
623 | <para>
|
---|
624 | Creates a sample report of the guest activity.
|
---|
625 | </para>
|
---|
626 | <para>
|
---|
627 | Retrieves the filename to dump the report to.
|
---|
628 | </para>
|
---|
629 | <variablelist>
|
---|
630 | <varlistentry>
|
---|
631 | <term><option>--filename=<replaceable>filename</replaceable></option></term>
|
---|
632 | <listitem><para>The filename to dump the sample report to.</para>
|
---|
633 | </listitem>
|
---|
634 | </varlistentry>
|
---|
635 | <varlistentry>
|
---|
636 | <term><option>--sample-interval-us=<replaceable>interval</replaceable></option></term>
|
---|
637 | <listitem><para>The interval in microseconds between guest samples.</para>
|
---|
638 | </listitem>
|
---|
639 | </varlistentry>
|
---|
640 | <varlistentry>
|
---|
641 | <term><option>--sample-time-us=<replaceable>time</replaceable></option></term>
|
---|
642 | <listitem><para>The amount of microseconds to take guest samples.</para>
|
---|
643 | </listitem>
|
---|
644 | </varlistentry>
|
---|
645 | </variablelist>
|
---|
646 |
|
---|
647 | </refsect2>
|
---|
648 |
|
---|
649 | </refsect1>
|
---|
650 |
|
---|
651 | </refentry>
|
---|
652 |
|
---|