Can guest machine in operation prevent host machine from entering dormancy state?

Here you can provide suggestions on how to improve the product, website, etc.

Can guest machine in operation prevent host machine from entering dormancy state?

Postby Dark.iaji » 1. Nov 2017, 13:07

Normally, when I'm working on guest machine, my host machine will go into hibernation for a while, and my work will stop.
I have to turn off the automatic sleep of host machine now, so it costs electricity :(
guest OS:kali linux 2017.2
host OS:Windows 10
Dark.iaji
 
Posts: 5
Joined: 1. Nov 2017, 12:51

Re: Can guest machine in operation prevent host machine from entering dormancy state?

Postby socratis » 1. Nov 2017, 13:38

1. You want the host to stay awake.
2. If your host stays awake, your electricity bill goes up.

So, what exactly do you want? To have the guest awake without the host?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12684
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Can guest machine in operation prevent host machine from entering dormancy state?

Postby Dark.iaji » 2. Nov 2017, 13:51

1. I want guest to work in time to stop Host Sleep
2. Guest is sleeping or hang and allows the host to sleep
The current version of VM seems to be even in the work will be accompanied by host sleep
So my compiler will stop :(
Last edited by socratis on 2. Nov 2017, 14:08, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Dark.iaji
 
Posts: 5
Joined: 1. Nov 2017, 12:51

Re: Can guest machine in operation prevent host machine from entering dormancy state?

Postby socratis » 2. Nov 2017, 14:10

I'm afraid I still don't understand what you want to do. It seems that English might not be your native language, so could you 1) Use DeepL (https://www.deepl.com/translator), or 2) use Google Translate (https://translate.google.com/), or 2) use your native language.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12684
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Can guest machine in operation prevent host machine from entering dormancy state?

Postby mpack » 2. Nov 2017, 14:20

I assume the OP wants the guest to keep the host awake. I'm not sure that VirtualBox has any control over what the host does in that area. Clearly the host OS believes that the system is idle. Detecting activity should be an automatic host feature.

There is mention of host power management in the user manual, but it seems to be exclusively about handling host OS behaviour, not overriding it.
mpack
Site Moderator
 
Posts: 25483
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Can guest machine in operation prevent host machine from entering dormancy state?

Postby Dark.iaji » 2. Nov 2017, 17:18

Yes
In order to allow compilation to continue
To this end I had to turn off the host's automatic hibernation

Win32 API
Enables an application to inform the system that it is in use, thereby preventing the system from entering sleep or turning off the display while the application is running.
Last edited by socratis on 2. Nov 2017, 17:27, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Dark.iaji
 
Posts: 5
Joined: 1. Nov 2017, 12:51

Re: Can guest machine in operation prevent host machine from entering dormancy state?

Postby socratis » 2. Nov 2017, 17:56

Dark.iaji
I still can't understand what you want. Do you want VirtualBox to prevent your host from hibernating when there is a VM running or when VirtualBox is running? As opposed to you setting the hibernation off yourself manually?

There are a lot of people that want the exact opposite; if the host goes to hibernation, the host *must* be able to hibernate no matter what's running. You see the dilemma, right?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12684
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Can guest machine in operation prevent host machine from entering dormancy state?

Postby Dark.iaji » 5. Nov 2017, 13:28

Yes, I want the VM runtime host not to sleep.
Perhaps VirtualBox should provide an option, which can be useful.
Last edited by socratis on 5. Nov 2017, 14:57, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Dark.iaji
 
Posts: 5
Joined: 1. Nov 2017, 12:51

Re: Can guest machine in operation prevent host machine from entering dormancy state?

Postby socratis » 5. Nov 2017, 15:00

I think I'm beginning to understand...
You want VirtualBox to change your host's settings, while VirtualBox is running to prevent sleep.
You want VirtualBox to change your host's settings, while VirtualBox is not running to allow sleep.

Is that correct?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12684
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Can guest machine in operation prevent host machine from entering dormancy state?

Postby Dark.iaji » 7. Nov 2017, 14:09

socratis wrote:I think I'm beginning to understand...
You want VirtualBox to change your host's settings, while VirtualBox is running to prevent sleep.
You want VirtualBox to change your host's settings, while VirtualBox is not running to allow sleep.

Is that correct?

yes
Dark.iaji
 
Posts: 5
Joined: 1. Nov 2017, 12:51


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests