mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-02 01:55:15 +00:00
Some hypervisors (e.g. hyperkit / xhyve) don't provide a good way to keep the VM's clock in sync with the Host's clock. NTP will usually keep the clocks together, but after a the host or VM is suspended and resumed the clocks can be suddenly too far apart for NTP to work properly. This simple daemon listens on an AF_VSOCK port and resynchronises the VM clock from the virtualised hardware clock. This is a Go conversion of original C code written by Magnus Skjegstad <magnus@skjegstad.com> Signed-off-by: David Scott <dave.scott@docker.com>
6 lines
82 B
Makefile
6 lines
82 B
Makefile
IMAGE=host-timesync-daemon
|
|
DEPS=$(wildcard *.go)
|
|
NETWORK=1
|
|
|
|
include ../package.mk
|