Reasons why a VirtualBox guest would transition to a VBOX_E_INVALID_VM_STATE?
Posted: 21. Jan 2020, 20:51
Has anyone compiled a list of reasons why a VirtualBox guest would transition to a VBOX_E_INVALID_VM_STATE?
It seems that many encounter guests that from time to time enter VBOX_E_INVALID_VM_STATE, and all learn how to resolve this issue.* Alas, I couldn't find any discussion as to the possible root-causes for getting into this state.
Can we set a place on virtualbox.org where people would enter their guests' circumstances that led to VBOX_E_INVALID_VM_STATE so we could devise some possible root-causes?
--------
[*] How to get guest off VBOX_E_INVALID_VM_STATE
One executes VBoxManage list runningvms and then tries to poweroff one of the running guests:
$ VBoxManage controlvm drf-vb2 poweroff
only to get:
VBoxManage: error: The virtual machine is being powered down
VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component ConsoleWrap, interface IConsole, callee nsISupports
VBoxManage: error: Context: "PowerDown(progress.asOutParam())" at line 577 of file VBoxManageControlVM.cpp
And then the only way of stopping the guest is by executing VBoxManage startvm "drf-vb2" --type emergencystop
It seems that many encounter guests that from time to time enter VBOX_E_INVALID_VM_STATE, and all learn how to resolve this issue.* Alas, I couldn't find any discussion as to the possible root-causes for getting into this state.
Can we set a place on virtualbox.org where people would enter their guests' circumstances that led to VBOX_E_INVALID_VM_STATE so we could devise some possible root-causes?
--------
[*] How to get guest off VBOX_E_INVALID_VM_STATE
One executes VBoxManage list runningvms and then tries to poweroff one of the running guests:
$ VBoxManage controlvm drf-vb2 poweroff
only to get:
VBoxManage: error: The virtual machine is being powered down
VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component ConsoleWrap, interface IConsole, callee nsISupports
VBoxManage: error: Context: "PowerDown(progress.asOutParam())" at line 577 of file VBoxManageControlVM.cpp
And then the only way of stopping the guest is by executing VBoxManage startvm "drf-vb2" --type emergencystop