Page 1 of 1

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

Posted: 1. Jul 2020, 13:57
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

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

Posted: 1. Jul 2020, 14:02
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.