Disable Timesync (between Windows- and Linux vm's and the Linux Host OS)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Joe890
Posts: 26
Joined: 14. Jan 2020, 18:08

Disable Timesync (between Windows- and Linux vm's and the Linux Host OS)

Post by Joe890 »

Hello forum,

My final goal is to disable Timesync between Windows- and Linux vm's and the Linux Host OS (Mint)

For training purposes I tried to disable timesync on a Windows host and the Vbox-guests.
Unfortunately I am unable to configure this simple task properly according to the docu :-(


Question:
Is there somebody who successfully disabled timesync between a Linux host and it's Windows- and Linux vm's ?



Thank you very much!


Regards,

Joe


-------------------------------------------------------------------------------------------------------------------------
C:\Program Files\Oracle\VirtualBox\VirtualBox.html

9.14. Fine-tuning timers and time synchronization
*************************************************
9.14.4. Disabling the Guest Additions time synchronization

Once installed and started, the VirtualBox Guest Additions will try to synchronize
the guest time with the host time. This can be prevented by forbidding the guest
service from reading the host clock:

VBoxManage setextradata "VM name" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1
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: Disable Timesync (between Windows- and Linux vm's and the Linux Host OS)

Post by mpack »

I'm guessing that you don't understand what timesync is. It keeps the host and guest clocks from diverging in minor ways, as clocks in two PCs tend to do.

It does not, however, allow the VM to have a fake time. How would that work? The VM does not have an independant Real Time Clock, so the VM will always get the host date and time on startup. You can offset the time by a number of seconds, but you can't stop the clock unless you continually readjust that offset.
Post Reply