public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Synchronized time with kvm_clock
@ 2010-04-26  9:33 Alex Hermann
  2010-04-26 10:01 ` Alex Hermann
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Hermann @ 2010-04-26  9:33 UTC (permalink / raw)
  To: kvm

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-26 17:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-26  9:33 Synchronized time with kvm_clock Alex Hermann
2010-04-26 10:01 ` Alex Hermann
2010-04-26 14:32   ` John Buswell
2010-04-26 16:43     ` Athanasius
2010-04-26 17:07       ` John Buswell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox