Date-Time not persisting in CentOS vm while host hibernates
Date-Time not persisting in CentOS vm while host hibernates
I noticed that when my host goes to hibernation, my running guest VMs' system clocks get out of sync. So I have to reset it every time in individual boxes, which is annoying. Any permanent fix for this?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Date-Time not persisting in CentOS vm while host hiberna
Sure, the best fix is never to hibernate. Other than that, AFAICS, VBox can't control how often each guest OS reads the RTC.
Re: Date-Time not persisting in CentOS vm while host hiberna
Will using network time make a difference?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Date-Time not persisting in CentOS vm while host hiberna
Depends how often the guest checks network time.
Re: Date-Time not persisting in CentOS vm while host hiberna
Sometimes people use their personal boxes to try out different OSs with VirtualBox. So putting your machine on hibernation cannot be avoided. This sounds like a good feature for VirtualBox to implement - detect when host machine has woke up and then resync all running guest VMs' clocks.