9 vboxmanage controlvm, Vboxmanage controlvm, Vboxmanage con – Sun Microsystems VIRTUALBOX VERSION 3.1.0_BETA2 User Manual
Page 121: Trolvm
8 VBoxManage reference
headless
Starts a VM without a window for remote RDP display only.
8.9 VBoxManage controlvm
The controlvm subcommand allows you to change the state of a virtual machine that
is currently running. The following can be specified:
• VBoxManage controlvm
on hold, without changing its state for good. The VM window will be painted in
gray to indicate that the VM is currently paused. (This is equivalent to selecting
the “Pause” item in the “Machine” menu of the GUI.)
• Use VBoxManage controlvm
mand. (This is equivalent to selecting the “Resume” item in the “Machine” menu
of the GUI.)
• VBoxManage controlvm
chine as pressing the “Reset” button on a real computer: a cold reboot of the
virtual machine, which will restart and boot the guest operating system again
immediately. The state of the VM is not saved beforehand, and data may be lost.
(This is equivalent to selecting the “Reset” item in the “Machine” menu of the
GUI.)
• VBoxManage controlvm
machine as pulling the power cable on a real computer. Again, the state of the
VM is not saved beforehand, and data may be lost. (This is equivalent to selecting
the “Close” item in the “Machine” menu of the GUI or pressing the window’s close
button, and then selecting “Power off the machine” in the dialog.)
After this, the VM’s state will be “Powered off”. From there, it can be started
again; see chapter
, page
• VBoxManage controlvm
the VM to disk and then stop the VM. (This is equivalent to selecting the “Close”
item in the “Machine” menu of the GUI or pressing the window’s close button,
and then selecting “Save the machine state” in the dialog.)
After this, the VM’s state will be “Saved”. From there, it can be started again; see
chapter
, page
A few extra options are available with controlvm that do not directly affect the
VM’s running state:
• The setlinkstate<1-N> operation connects or disconnects virtual network
cables from their network interfaces.
121