Guest XP does not have standby or hibernate option enable

Discussions about using Windows guests in VirtualBox.
Post Reply
javabugz
Posts: 6
Joined: 11. Jun 2007, 23:31

Guest XP does not have standby or hibernate option enable

Post by javabugz »

Hi,

I am not sure why but it seems that running Windows XP under virtualbox disables the standby/hibernate option in XP. Could it be the vbox ACPI limitation? Is there a fix for it?

I have ACPI enabled in vbox for the guest.

--Tri
kitrule
Posts: 3
Joined: 6. Dec 2007, 22:54

Post by kitrule »

Same issue. Does hibernation work for anyone in XP guest? Is anyone working on fixing the source so this feature works?
Ingo
Volunteer
Posts: 731
Joined: 22. Aug 2007, 10:13
Location: Germany

Post by Ingo »

kitrule wrote:Does hibernation work for anyone in XP guest? Is anyone working on fixing the source so this feature works?
Why?
It doesn't save power. The host is still running.
You can Pause the VM or Save the machine state at any time.
cdmarcus
Posts: 3
Joined: 9. Dec 2007, 09:05

There's no need for standby/hibernate in a virtual machine

Post by cdmarcus »

In a virtual machine, pausing is like using standby, and saving the machine state is almost exactly like hibernating. In the former case, you're just stopping the processing but leaving the RAM as-is, and in the latter, you're writing the contents of the (virtual) RAM to disk and restoring them upon resume.
over_clox
Volunteer
Posts: 167
Joined: 5. Apr 2008, 22:43
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Ubuntu 10.04, Legacy Testing

Post by over_clox »

VBox works fine for me when I leave the guest running and put the _host_ in hibernate mode, except the audio crackles quite a bit after I restore it. Everything else seems to be as I left it and working fine.

I'm using an HP ZE5620US laptop with 768MB RAM, 384MB to guest XP Pro, 64MB VRAM, and the rest to the host XP Pro.
MrX1980
Posts: 26
Joined: 3. Sep 2008, 20:44

Re:

Post by MrX1980 »

Ingo wrote:Why?
Because to try/see the right settings for education like the 70-270 (WinXP) exam.
galtsev
Posts: 3
Joined: 16. Jun 2009, 05:53
Primary OS: Linux other
VBox Version: OSE Fedora
Guest OSses: Centos, Solaris 10, Fedora 9, Fedora 10, Ububtu, Windows XP, Windows vista

Re: Guest XP does not have standby or hibernate option enable

Post by galtsev »

Hello,

There was one question not answered by anyone on this thread: why one would want to have hibernation working in VirtualBox? Indeed, as a way to conserve the battery this is useless. However, many sysadmins use VirtualBox to resolve/test issues with systems they support, and they love VirtualBox as this allows to have everything in one place readily accessible.

I hope this justifies the necessity of everything to function under virtual machine the way it does on real one (well, _almost_, of course).

Thanks.
Valeri
Last edited by galtsev on 20. Jul 2009, 03:45, edited 1 time in total.
galtsev
Posts: 3
Joined: 16. Jun 2009, 05:53
Primary OS: Linux other
VBox Version: OSE Fedora
Guest OSses: Centos, Solaris 10, Fedora 9, Fedora 10, Ububtu, Windows XP, Windows vista

Re: Guest XP does not have standby or hibernate option enable

Post by galtsev »

Thanks, vbox4me2 for your hints.

They don't help, however. If I trust microsoft's note:

http://www.microsoft.com/windowsxp/usin ... rnate.mspx

my machine (this is VirtualBox one) does not support hibernate feature. Indeed, when I open "Power Options" I do not have Hibernate tab, and according to MS note above "If the Hibernate tab is unavailable, your computer does not support this feature." I'm sure, this is not a problem of my installation of VirtualBox on MacBook pro (or the one of MacBook pro itself). To verify that I just installed latest (Ver. 3.0.2) VirtualBox on the machine with host system Windows XP Pro (32 bit), and installed _the_same_ system under VirtualBox as guest system. Under host system I do have "hibernate" tab; under guest system I do not have hibernate tab. Correct me if I'm wrong, but (taking into account MS statement above), the VirtualBox machine from the point of view of guest system does not support hibernation. So this must be what the guest system gets from ACPI implementation of VirtualBox.

I guess, we have to ask developers to add this feature. From their point of view, as I can conclude from other posts in this thread, it doesn't make sense (as a feature to conserve the battery of host machine). For me as a sysadmin it makes sense, as having all systems handy under virtual machines is helpful if all of them behave exactly as the systems on real machines do (otherwise I take a chance to give something misleading instead of a solution of the problem that somebody has). The same behavior of virtual machine as the one of real machine is vital for developers as well: otherwise they just can not verify their products on virtual machines. I guess, the last one is one of the main points in advertisements of the competitor (existing since long ago): vmware.

Please, let me know if you ARE able to enable hibernation of the guest Windows XP system under VirtualBox, this will help me to know for sure that I'm missing something.

Thanks again,
Valeri
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Guest XP does not have standby or hibernate option enable

Post by vbox4me2 »

You can try loading the proper acpi kernal into the VM and see what happens, or import all the registry stuff for it.
Post Reply