Virtual machine 删除已保存的&;使用vboxmanage锁定僵尸虚拟机

Virtual machine 删除已保存的&;使用vboxmanage锁定僵尸虚拟机,virtual-machine,virtualbox,homestead,Virtual Machine,Virtualbox,Homestead,使用Laravel Homestead,我第一次遇到了一个我无法摧毁的野生僵尸虚拟机 $Vagrant global-status ...Nothing $vboxmanage list vms ..."homestead-7" {a00faea2-9b77-466d-beac-ab892dc0f0c9} $vboxmanage unregistervm homestead-7 --delete ...VBoxManage: error: Cannot unregister the mach

使用Laravel Homestead,我第一次遇到了一个我无法摧毁的野生僵尸虚拟机

$Vagrant global-status
...Nothing

$vboxmanage list vms
..."homestead-7" {a00faea2-9b77-466d-beac-ab892dc0f0c9}

$vboxmanage unregistervm homestead-7 --delete
...VBoxManage: error: Cannot unregister the machine 'homestead-7' while it is locked

$vboxmanage startvm homestead-7
...VBoxManage: error: The machine 'homestead-7' is already locked by a session (or being locked or unlocked)
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports
VBoxManage: error: Context: "LaunchVMProcess(a->session, sessionType.raw(), env.raw(), progress.asOutParam())" at line 589 of file VBoxManageMisc.cpp

杀死VBoxHeadless进程并运行“vboxmanage unregistervm homestead-7--删除”