date & time stopped when machine is in saved state

This is for discussing general topics about how to use VirtualBox.
Post Reply
respektive
Posts: 3
Joined: 19. Nov 2010, 16:35
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: WinXP

date & time stopped when machine is in saved state

Post by respektive »

Hi, I'd like to ask You how can I set up my VirtualBox to synchronize VirtualOS Date/Time with HostOS date/time

When I save state of my virtual machine and lately restore it, the time does not changed. And then the virtual time is invalid.
When I use MS Virtual PC this problem does not happen. It allways synchronize both date/times.

Thank You in advance,
Tom
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: date & time stopped when machine is in saved state

Post by frank »

When you save the VM, the whole VM state is frozen. After restoring the VM, the previous VM state is reloaded and this includes the time at the point when the VM was saved. When you installed the guest additions and you are using VBox 3.2.10 (make sure to use the 3.2.10 additions as well), then the guest time should synchronize immediately with the host time after the VM is restored from a saved state. Without guest additions there is no time synchronization at all and the guest time can drift away. With guest additions older than 3.2.10 the synchronization after restoring the VM is done very slowly.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: date & time stopped when machine is in saved state

Post by BillG »

And MS VPC works the same way.
Bill
respektive
Posts: 3
Joined: 19. Nov 2010, 16:35
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: WinXP

Re: date & time stopped when machine is in saved state

Post by respektive »

Hi, and thank You,

it works.

I can say, the best time for question :-)

Tom
Post Reply