how to handle time synch in kvm guest

James Dinkel jdinkel at gmail.com
Mon Sep 8 00:22:50 UTC 2008


I have a kvm virtual machine server set up hosting some guest virtual
machines for testing and development and it is working great.  However the
system clock in the guest virtual machines are losing a couple seconds every
day.  Ideally, I would like to use ntp to synch with the guest's "hardware"
clock which I would imagine would actually be the host's system clock which
is already being kept synchronized with ntp.  At the very least, I could set
a cron job to run "hwclock --hctosys" but that seems a little hackish.  Does
anybody know if it is even possible to tell ntp to synch with the hardware
clock?  Or what is the recommended way to keep guest virtual machines time
in sync?

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20080907/66971699/attachment.html>


More information about the ubuntu-server mailing list