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