Page 2 of 2

Re: Errors when programmatically stopping Windows VMs on 6.1.28

Posted: 28. Oct 2021, 15:05
by challengeursli
Second part of log attached.

Re: Errors when programmatically stopping Windows VMs on 6.1.28

Posted: 28. Oct 2021, 20:54
by klaus
From your log file the guest OS requests the poweroff (through ACPI - the host can't trigger this case). I suspect the problem is that you're "racing" this with another external poweroff request. Which will randomly fail (if the VM is already powering off) or succeed. Or I think there is a 3rd option: it will hang because the 2 concurrent poweroff requests are causing confusion. Will be difficult to reproduce, because very likely this needs a very specific timing.

Once the VM is hung due to this poweroff confusion then you won't be able to kill it any more with -2 since VirtualBox 6.1.26.