June 10, 20251 yr Hello,I'm running 7.12 with Windows 11 VMs with virtio-win-0.1.271-1 tools installed. I have the VM power management set to sleep after 15mins if no activity. When is try to resume the VM from the console, the CPU go to 100% and the machine locks up. The only way to fix this is to "Force Stop" the VM. I'd like to have the VMs pause and resume so looking for any advice to resolve this issue. Thanks.
June 11, 20251 yr Please post the diagnostics, also, if you click the VM and then hibernate, do you see the same?
June 11, 20251 yr Author Here's the diags. When I hibernate or pause from the console everything works as expected. When I select sleep inside Windows 11, and try to resume from the console, the VCPUs to to 100% and I can't remote (VNC or RDP) to the VM. The only fix is a Force Stop of the VM and reboot the VM.Thanks.testtower-diagnostics-20250610-1816.zip Edited June 11, 20251 yr by dxb
June 11, 20251 yr Author Yes, Windows is set to sleep in 15mins..hibernation is turned off. I can try to set to hibernate.
June 11, 20251 yr Author Setting to hibernate in Windows has the same result. The VM vCPUs goes to 100% and locks up.
June 11, 20251 yr @SimonF any suggestions, I cannot reproduce, I can hibernate on Windows and still wakes up fine.
June 11, 20251 yr Author @JorgeB - Can you also select sleep in Windows 11 and wake the VM up from the Unraid console?
June 12, 20251 yr Community Expert Will try some testing over the week, Normally only issues if passthru devices as some times cannot reset.But cannot see any in the XML. Maybe likely to be a Windows issue.
June 12, 20251 yr 13 hours ago, dxb said:Can you also select sleep in Windows 11 and wake the VM up from the Unraid console?My Win VM doesn't have a sleep option, and I think that's normal, how did you get it to show up?
June 12, 20251 yr 1 hour ago, Kilrah said:Mine does, haven't done anything special.Interesting, it doesn't for me, are you using all the default option to create the VM?
June 12, 20251 yr Yes but it was made quite a while ago probably on 6.11 or 6.12, maybe defaults changed...
June 12, 20251 yr I see the sleep option now, for some reason the guest tools were not automatically installing the QXL driver, with the driver installed, I can sleep the VM, but see the same issue reported, it won't resume, it still resumes from hibernation without issues, so possibly some KVM/driver issue.
June 12, 20251 yr P.S. It works fine with a Wn10 VM, so it's something with KVM/drivers and Windows 11.2 hours ago, SimonF said:Running Q35 or i440fx?It's the same for me, sleep doesn't resume with either on Windows 11
June 12, 20251 yr Win11, Q35-7.1 is what i have and it's working, old 7700K with no passthroughs (actually iGPU part through gvt-g, had forgotten about that).I tried updating the virtio drivers in case it was an issue with the newer ones since I haven't since install, but it's still working. Edited June 12, 20251 yr by Kilrah
June 12, 20251 yr 1 hour ago, JorgeB said:24H2?YupUnrelated but I just did an edit to the template (just remove the OS install iso) and it wouldn't start anymore with Had to set Hyper-V to No. Was OK with it on Yes before.
June 17, 20251 yr Author Hello all,Any updates on your testing? I've tried many combinations of VMs on 3 different Unraid servers with the same results (can't resume VM from sleep). I did not have this problem on versions of Unraid before 6.12.Thanks
June 19, 20251 yr Author Thanks. I've tried hibernate with Windows 11 and the machines tries to wake up and locks up again. Can you share the VM configuration settings you are using in Uraid? Also what's power options/settings are you using in Windows?Thanks.
June 19, 20251 yr 8 hours ago, dxb said:Can you share the VM configuration settings you are using in Uraid? Also what's power options/settings are you using in Windows?VM was created with all default settings, only changes made was selecting 4 cores and changing RAM to 8GB, then just install the guest tools, power options were also left as default, just enabled the hibernate option that is disabled on Windows by default, then hibernate from the VM:And can then resume from the Unraid GUI.
June 20, 20251 yr Author Thanks for sharing the instructions. Manually selecting that option worked on Windows 11. I'd hoped that setting would automatically hibernate (not sleep) after inactivity to bypass the sleep issue, but it's pausing the VM and locking up when I try to resume from the Unraid GUI.
June 27, 20251 yr I just created a Windows 11 VM with the 24H2 iso and I get this BUG. When the VM is resuming from sleep and the console locks up, no action, and I can only assume the VM is stalled because one CPU thread is maxed out. I deleted a previous Windows 11 install and made a fresh install, same issue. Unraid v7.1.2Windows 11 24H2virtio-win-0.1.271-2.iso (guest tool)Machine: Q35-7.1BIOS: OVMF TPM or OVMFHyper-V: YesUSB Controller: 2.0 EHCI Edited July 3, 20251 yr by vac59 update after reinstall
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.