Windows VM sleep options


CraziFuzzy

Recommended Posts

Yes - I know the recommendation is to disable sleep on the VM, and I do understand the reasoning for this.  I'm curious about what can be done to enable it for one reason - Windows (and other) background processes that do work when the computer is awake, but do nothing when the computer is asleep.

Here's an observation I've made with the one windows 10 vm I've got set up.  It's passing through a gpu and a usb controller.  I can put windows to sleep, and windows does it's thing and goes to sleep.  the emulator then recognizes this and halts the vm.  I believe this halt is unnecessary.  I can resume the VM from the unraid GUI, and it appears that windows is still asleep - monitor is still off, and judging by cpu load on pinned cpu's, background processes are stoppe, until I actually wake it with the mouse.  It then wakes up and is sitting at the login screen - normal windows behavior.

I wonder if it would be possible to have the VM ignore the sleep command from windows, keep the emulator running, so that it can wake up properly on local (mouse of keyboard) stimulus.

 

Has anyone played around with the various sleep states?  Does s1 maybe not halt the vm for instance?

Edited by CraziFuzzy
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.