Method: VirtualBox::VM#stop
- Defined in:
- lib/virtualbox/vm.rb
#stop ⇒ Boolean
Stops the VM by directly calling “poweroff.” Immediately halts the virtual machine without saving state. This could result in a loss of data. To prevent data loss, see #shutdown
516 517 518 |
# File 'lib/virtualbox/vm.rb', line 516 def stop control(:power_down) end |