Hi Christian,
On Monday, May 23, 2011 06:55:20 AM Christian Glomb wrote:
> Hi Dmitry,
>
> thanks for your reply! Any idea how to drive system time?
>
> An idea might be to redirect standard time sync for a certain VM to a
> custom kernel module (running on the ESXI base system) being steered
> from outside, i.e.:
>
> External control <-> Kernel module on ESXI <-> time sync (vmware tools)
> inside VM
>
> In XEN this can be done via the hypercall functions. Are there any
> related functions in VMware?
No, there is not, but if you take a look at the sources of timeSync plugin
you will see how you can slow down and speed up guest time using
adjtime()/adjtimex(). Or you could have guests sync up with a custom
version of NTP server that you deploy somewhere on your network.
Thanks,
Dmitry
|