$Date: 2015-06-19 23:25:00 +0000 (Fri, 19 Jun 2015) $VBoxManage debugvmVBoxManage-debugvm1VBoxManage-debugvmintrospection and guest debuggingOracle VM VirtualBoxVBoxManage debugvmuuid|vmnamedumpvmcore--filename nameVBoxManage debugvmuuid|vmnameinfoitemargsVBoxManage debugvmuuid|vmnameinjectnmiVBoxManage debugvmuuid|vmnamelog--release--debuggroup-settingsVBoxManage debugvmuuid|vmnamelogdest--release--debugdestinationsVBoxManage debugvmuuid|vmnamelogflags--release--debugflagsVBoxManage debugvmuuid|vmnameosdetectVBoxManage debugvmuuid|vmnameosinfoVBoxManage debugvmuuid|vmnameosdmesg--lines linesVBoxManage debugvmuuid|vmnamegetregisters--cpu idreg-set.reg-nameVBoxManage debugvmuuid|vmnamesetregisters--cpu idreg-set.reg-name=valueVBoxManage debugvmuuid|vmnameshow--human-readable--sh-export--sh-eval--cmd-setsettings-itemVBoxManage debugvmuuid|vmnamestatistics--reset--descriptions--pattern patternDescriptionThe "debugvm" commands are for experts who want to tinker with the
exact details of virtual machine execution. Like the VM debugger
described in , these commands are only useful if you are
very familiar with the details of the PC architecture and how to debug
software.Common optionsThe subcommands of debugvm all operate on a running virtual
machine:uuid|vmnameEither the UUID or the name (case sensitive) of a VM.debugvm dumpvmcore
Creates a system dump file of the specified VM. This file will have
the standard ELF core format (with custom sections); see
.
This corresponds to the writecore command in the debugger.
The name of the output file.debugvm info
Displays info items relating to the VMM, device emulations and
associated drivers.
This corresponds to the info command in the debugger.
infoName of the info item to display. The special name
will list all the available info items and
hints about optional arguments.argsOptional argument string for the info item handler. Most info items
does not take any extra arguments. Arguments not recognized are generally
ignored.debugvm injectnmi
Causes a non-maskable interrupt (NMI) to be injected into the guest. This
might be useful for certain debugging scenarios. What happens exactly is
dependent on the guest operating system, but an NMI can crash the whole
guest operating system. Do not use unless you know what you're doing.
debugvm log
TODO
debugvm logdest
TODO
debugvm logflags
TODO
debugvm osdetect
Make the VMM's debugger facility (re)-detect the guest operating system (OS).
This will first load all debugger plug-ins.
This corresponds to the detect command in the debugger.
debugvm osinfo
Displays information about the guest operating system (OS) previously
detected by the VMM's debugger facility.
debugvm osdmesg
Displays the guest OS kernel log, if detected and supported.
Number of lines of the log to display, counting from
the end. The default is infinite.debugvm getregisters
Retrieves register values for guest CPUs and emulated devices.
reg-set.reg-nameOne of more registers, each having one of the following forms:register-set.register-name.sub-fieldregister-set.register-namecpu-register-name.sub-fieldcpu-register-nameallThe all form will cause all registers
to be shown (no sub-fields). The registers names are case-insensitive.
Selects the CPU register set when specifying just a
CPU register (3rd and 4th form). The default is 0.debugvm setregisters
Changes register values for guest CPUs and emulated devices.
reg-set.reg-name=valueOne of more register assignment, each having one of the following forms:register-set.register-name.sub-field=valueregister-set.register-name=valuecpu-register-name.sub-field=valuecpu-register-name=valueThe value format should be in the same style as what
getregisters displays, with the exception that
both octal and decimal can be used instead of hexadecimal.Selects the CPU register set when specifying just a
CPU register (3rd and 4th form). The default is 0.debugvm show
TODO
debugvm statistics
Displays or resets VMM statistics.
Retrieves register values for guest CPUs and emulated devices.
DOS/NT-style wildcards patterns for selecting statistics. Multiple
patterns can be specified by using the '|' (pipe) character as separator.Select reset instead of display mode.