1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | manpage, user manual, usage: VBoxManage debugvm
|
---|
4 |
|
---|
5 | Copyright (C) 2006-2015 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.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
---|
16 | <refentry id="vboxmanage-debugvm" lang="en">
|
---|
17 |
|
---|
18 | <refentryinfo>
|
---|
19 | <pubdate>$Date: 2015-06-18 18:15:51 +0000 (Thu, 18 Jun 2015) $</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=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-statistics">
|
---|
112 | <command>VBoxManage debugvm</command>
|
---|
113 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
114 | <arg choice="plain">statistics</arg>
|
---|
115 | <arg>--reset</arg>
|
---|
116 | <arg>--descriptions</arg>
|
---|
117 | <arg>--pattern <replaceable>pattern</replaceable></arg>
|
---|
118 | </cmdsynopsis>
|
---|
119 | </refsynopsisdiv>
|
---|
120 | <refsect1>
|
---|
121 | <title>Description</title>
|
---|
122 |
|
---|
123 | <para>The "debugvm" commands are for experts who want to tinker with the
|
---|
124 | exact details of virtual machine execution. Like the VM debugger<remark role="help-manual">
|
---|
125 | described in <xref linkend="ts_debugger" /></remark>, these commands are only useful if you are
|
---|
126 | very familiar with the details of the PC architecture and how to debug
|
---|
127 | software.</para>
|
---|
128 |
|
---|
129 | <refsect2 id="vboxmanage-debugvm-common-options">
|
---|
130 | <title>Common options</title>
|
---|
131 | <remark role="help-scope" condition="GLOBAL"/>
|
---|
132 | <para>The subcommands of <command>debugvm</command> all operate on a running virtual
|
---|
133 | machine:</para>
|
---|
134 | <variablelist>
|
---|
135 | <varlistentry>
|
---|
136 | <term><replaceable>uuid|vmname</replaceable></term>
|
---|
137 | <listitem><para>Either the UUID or the name (case sensitive) of a VM.</para></listitem>
|
---|
138 | </varlistentry>
|
---|
139 | </variablelist>
|
---|
140 | </refsect2>
|
---|
141 |
|
---|
142 | <refsect2 id="vboxmanage-debugvm-dumpvmcore">
|
---|
143 | <title>debugvm dumpvmcore</title>
|
---|
144 | <remark role="help-copy-synopsis"/>
|
---|
145 | <para>
|
---|
146 | Creates a system dump file of the specified VM. This file will have
|
---|
147 | the standard ELF core format (with custom sections)<remark role="help-manual">; see
|
---|
148 | <xref linkend="ts_guest-core-format" /></remark>.
|
---|
149 | </para>
|
---|
150 | <para>
|
---|
151 | This corresponds to the <command>writecore</command> command in the debugger.
|
---|
152 | </para>
|
---|
153 | <variablelist>
|
---|
154 | <varlistentry>
|
---|
155 | <term><option>--filename <replaceable>filename</replaceable></option></term>
|
---|
156 | <listitem><para>The name of the output file.</para></listitem>
|
---|
157 | </varlistentry>
|
---|
158 | </variablelist>
|
---|
159 | </refsect2>
|
---|
160 |
|
---|
161 | <refsect2 id="vboxmanage-debugvm-info">
|
---|
162 | <title>debugvm info</title>
|
---|
163 | <remark role="help-copy-synopsis"/>
|
---|
164 | <para>
|
---|
165 | Displays info items relating to the VMM, device emulations and
|
---|
166 | associated drivers.
|
---|
167 | </para>
|
---|
168 | <para>
|
---|
169 | This corresponds to the <command>info</command> command in the debugger.
|
---|
170 | </para>
|
---|
171 | <variablelist>
|
---|
172 | <varlistentry>
|
---|
173 | <term><replaceable>info</replaceable></term>
|
---|
174 | <listitem>
|
---|
175 | <para>Name of the info item to display. The special name
|
---|
176 | <option>help</option> will list all the available info items and
|
---|
177 | hints about optional arguments.</para>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 | <varlistentry>
|
---|
181 | <term><replaceable>args</replaceable></term>
|
---|
182 | <listitem>
|
---|
183 | <para>Optional argument string for the info item handler. Most info items
|
---|
184 | does not take any extra arguments. Arguments not recognized are generally
|
---|
185 | ignored.</para>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 | </variablelist>
|
---|
189 | </refsect2>
|
---|
190 |
|
---|
191 | <refsect2 id="vboxmanage-debugvm-injectnmi">
|
---|
192 | <title>debugvm injectnmi</title>
|
---|
193 | <remark role="help-copy-synopsis"/>
|
---|
194 | <para>
|
---|
195 | Causes a non-maskable interrupt (NMI) to be injected into the guest. This
|
---|
196 | might be useful for certain debugging scenarios. What happens exactly is
|
---|
197 | dependent on the guest operating system, but an NMI can crash the whole
|
---|
198 | guest operating system. Do not use unless you know what you're doing.
|
---|
199 | </para>
|
---|
200 | </refsect2>
|
---|
201 |
|
---|
202 | <refsect2 id="vboxmanage-debugvm-log">
|
---|
203 | <title>debugvm log</title>
|
---|
204 | <remark role="help-copy-synopsis"/>
|
---|
205 | <para>
|
---|
206 | TODO
|
---|
207 | </para>
|
---|
208 | </refsect2>
|
---|
209 |
|
---|
210 | <refsect2 id="vboxmanage-debugvm-logdest">
|
---|
211 | <title>debugvm logdest</title>
|
---|
212 | <remark role="help-copy-synopsis"/>
|
---|
213 | <para>
|
---|
214 | TODO
|
---|
215 | </para>
|
---|
216 | </refsect2>
|
---|
217 |
|
---|
218 | <refsect2 id="vboxmanage-debugvm-logflags">
|
---|
219 | <title>debugvm logflags</title>
|
---|
220 | <remark role="help-copy-synopsis"/>
|
---|
221 | <para>
|
---|
222 | TODO
|
---|
223 | </para>
|
---|
224 | </refsect2>
|
---|
225 |
|
---|
226 | <refsect2 id="vboxmanage-debugvm-osdetect">
|
---|
227 | <title>debugvm osdetect</title>
|
---|
228 | <remark role="help-copy-synopsis"/>
|
---|
229 | <para>
|
---|
230 | Make the VMM's debugger facility (re)-detect the guest operating system (OS).
|
---|
231 | This will first load all debugger plug-ins.
|
---|
232 | </para>
|
---|
233 | <para>
|
---|
234 | This corresponds to the <command>detect</command> command in the debugger.
|
---|
235 | </para>
|
---|
236 | </refsect2>
|
---|
237 |
|
---|
238 | <refsect2 id="vboxmanage-debugvm-osinfo">
|
---|
239 | <title>debugvm osinfo</title>
|
---|
240 | <remark role="help-copy-synopsis"/>
|
---|
241 | <para>
|
---|
242 | Displays information about the guest operating system (OS) previously
|
---|
243 | detected by the VMM's debugger facility.
|
---|
244 | </para>
|
---|
245 | </refsect2>
|
---|
246 |
|
---|
247 | <refsect2 id="vboxmanage-debugvm-osdmesg">
|
---|
248 | <title>debugvm osdmesg</title>
|
---|
249 | <remark role="help-copy-synopsis"/>
|
---|
250 | <para>
|
---|
251 | Displays the guest OS kernel log, if detected and supported.
|
---|
252 | </para>
|
---|
253 | <variablelist>
|
---|
254 | <varlistentry>
|
---|
255 | <term><option>--lines <replaceable>lines</replaceable></option></term>
|
---|
256 | <listitem><para>Number of lines of the log to display, counting from
|
---|
257 | the end. The default is infinite.</para></listitem>
|
---|
258 | </varlistentry>
|
---|
259 | </variablelist>
|
---|
260 | </refsect2>
|
---|
261 |
|
---|
262 | <refsect2 id="vboxmanage-debugvm-getregisters">
|
---|
263 | <title>debugvm getregisters</title>
|
---|
264 | <remark role="help-copy-synopsis"/>
|
---|
265 | <para>
|
---|
266 | Retrieves register values for guest CPUs and emulated devices.
|
---|
267 | </para>
|
---|
268 | <variablelist>
|
---|
269 | <varlistentry>
|
---|
270 | <term><replaceable>reg-set.reg-name</replaceable></term>
|
---|
271 | <listitem><para>One of more registers, each having one of the following forms:
|
---|
272 | <itemizedlist>
|
---|
273 | <listitem><para><computeroutput>register-set.register-name.sub-field</computeroutput></para></listitem>
|
---|
274 | <listitem><para><computeroutput>register-set.register-name</computeroutput></para></listitem>
|
---|
275 | <listitem><para><computeroutput>cpu-register-name.sub-field</computeroutput></para></listitem>
|
---|
276 | <listitem><para><computeroutput>cpu-register-name</computeroutput></para></listitem>
|
---|
277 | <listitem><para><computeroutput>all</computeroutput></para></listitem>
|
---|
278 | </itemizedlist>
|
---|
279 | The <replaceable>all</replaceable> form will cause all registers
|
---|
280 | to be shown (no sub-fields). The registers names are case-insensitive.
|
---|
281 | </para></listitem>
|
---|
282 | </varlistentry>
|
---|
283 | <varlistentry>
|
---|
284 | <term><option>--cpu <replaceable>id</replaceable></option></term>
|
---|
285 | <listitem><para>Selects the CPU register set when specifying just a
|
---|
286 | CPU register (3rd and 4th form). The default is 0.</para>
|
---|
287 | </listitem>
|
---|
288 | </varlistentry>
|
---|
289 | </variablelist>
|
---|
290 | </refsect2>
|
---|
291 |
|
---|
292 | <refsect2 id="vboxmanage-debugvm-setregisters">
|
---|
293 | <title>debugvm setregisters</title>
|
---|
294 | <remark role="help-copy-synopsis"/>
|
---|
295 | <para>
|
---|
296 | Changes register values for guest CPUs and emulated devices.
|
---|
297 | </para>
|
---|
298 | <variablelist>
|
---|
299 | <varlistentry>
|
---|
300 | <term><replaceable>reg-set.reg-name=value</replaceable></term>
|
---|
301 | <listitem><para>One of more register assignment, each having one of the following forms:
|
---|
302 | <itemizedlist>
|
---|
303 | <listitem><para><computeroutput>register-set.register-name.sub-field=value</computeroutput></para></listitem>
|
---|
304 | <listitem><para><computeroutput>register-set.register-name=value</computeroutput></para></listitem>
|
---|
305 | <listitem><para><computeroutput>cpu-register-name.sub-field=value</computeroutput></para></listitem>
|
---|
306 | <listitem><para><computeroutput>cpu-register-name=value</computeroutput></para></listitem>
|
---|
307 | </itemizedlist>
|
---|
308 | The value format should be in the same style as what <command>getregisters</command>
|
---|
309 | displays, with the exception that both octal and decimal can be used instead of
|
---|
310 | hexadecimal.
|
---|
311 | </para></listitem>
|
---|
312 | </varlistentry>
|
---|
313 | <varlistentry>
|
---|
314 | <term><option>--cpu <replaceable>id</replaceable></option></term>
|
---|
315 | <listitem><para>Selects the CPU register set when specifying just a
|
---|
316 | CPU register (3rd and 4th form). The default is 0.</para>
|
---|
317 | </listitem>
|
---|
318 | </varlistentry>
|
---|
319 | </variablelist>
|
---|
320 | </refsect2>
|
---|
321 |
|
---|
322 | <refsect2 id="vboxmanage-debugvm-show">
|
---|
323 | <title>debugvm show</title>
|
---|
324 | <remark role="help-copy-synopsis"/>
|
---|
325 | <para>
|
---|
326 | TODO
|
---|
327 | </para>
|
---|
328 | </refsect2>
|
---|
329 |
|
---|
330 | <refsect2 id="vboxmanage-debugvm-statistics">
|
---|
331 | <title>debugvm statistics</title>
|
---|
332 | <remark role="help-copy-synopsis"/>
|
---|
333 | <para>
|
---|
334 | Displays or resets VMM statistics.
|
---|
335 | </para>
|
---|
336 | <para>
|
---|
337 | Retrieves register values for guest CPUs and emulated devices.
|
---|
338 | </para>
|
---|
339 | <variablelist>
|
---|
340 | <varlistentry>
|
---|
341 | <term><option>--pattern <replaceable>pattern</replaceable></option></term>
|
---|
342 | <listitem><para>DOS/NT-style wildcards patterns for selecting statistics. Multiple
|
---|
343 | patterns can be specified by using the '|' (pipe) character as separator.</para>
|
---|
344 | </listitem>
|
---|
345 | </varlistentry>
|
---|
346 | <varlistentry>
|
---|
347 | <term><option>--reset</option></term>
|
---|
348 | <listitem><para>Select reset instead of display mode.</para></listitem>
|
---|
349 | </varlistentry>
|
---|
350 | </variablelist>
|
---|
351 |
|
---|
352 | </refsect2>
|
---|
353 |
|
---|
354 | </refsect1>
|
---|
355 |
|
---|
356 | </refentry>
|
---|
357 |
|
---|
358 |
|
---|