public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Alex Hermann <alex@speakup.nl>
To: kvm@vger.kernel.org
Subject: Synchronized time with kvm_clock
Date: Mon, 26 Apr 2010 11:33:06 +0200	[thread overview]
Message-ID: <201004261133.06491.alex@speakup.nl> (raw)

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


             reply	other threads:[~2010-04-26 10:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26  9:33 Alex Hermann [this message]
2010-04-26 10:01 ` Synchronized time with kvm_clock Alex Hermann
2010-04-26 14:32   ` John Buswell
2010-04-26 16:43     ` Athanasius
2010-04-26 17:07       ` John Buswell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201004261133.06491.alex@speakup.nl \
    --to=alex@speakup.nl \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox