Synchronized time with kvm_clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

from the various sources google comes up with, it seems kvm_clock is now the 
preferred clock source for kvm guests. I was hoping it would keep the time 
synced with the host, but apparentely it doesn't. I'm seeing a pretty steady 1 
sec diff between host and guest. The host is synced with external time sources 
by means of ntp.

Am I supposed to run ntp inside the guest when using kvm_clock as a 
clocksource? Othwerwise, what clocksource should be used in the guest
1) to automatically get synced time with the host? or
2) which can be used alongside ntpd in the guest?


host:
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
tsc

guest:
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
kvm-clock


Pleas cc me, I'm not on the list.
-- 
Greetings,

Alex Hermann

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux