[sles-beta] A Problem with KVM Guest ?

Günther J. Niederwimmer gjn at gjn.priv.at
Thu Sep 4 04:36:08 MDT 2014


Am Donnerstag, 4. September 2014, 12:24:02 schrieb Antoine Ginies:
> Günther J. Niederwimmer:
> > Hello,
> > I found a Problem with KVM_clock?
> > on my Installation I have a KVM Server and KVM Clients all SLES 12 Server
> > The KVM Host have a NTP Server configured and have a correct time
> > 
> > date
> > Don Sep  4 12:00:19 CEST 2014
> > all clients have this Time
> > date
> > Don Sep  4 02:15:24 CEST 2014
> > 
> > the timezone is correct but the time is wrong ?
> 
> Hello,
> Can you check that your VM is currently using kvm_clock?

akerb:~ # dmesg | grep kvm-clock
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 1:3ff18001, boot clock
[    0.000000] kvm-clock: cpu 0, msr 1:3ff18001, primary cpu clock
[    0.004000] kvm-clock: cpu 1, msr 1:3ff18041, secondary cpu clock
[    0.004000] kvm-clock: cpu 2, msr 1:3ff18081, secondary cpu clock
[    0.004000] kvm-clock: cpu 3, msr 1:3ff180c1, secondary cpu clock
[    0.134685] Switched to clocksource kvm-clock

This is the client

root# cat /sys/devices/system/clocksource/clocksource0/current_clocksource

I have on the Server

tsc

This is a original YaSt Installation

can I change this manual ?

> ---------
> ------------
> 
> > OK,I know I can install NTP on the client.
> 
> No, it is not recommened to install an NTP client on the VM guest while
> using kvm-clock.
> 
> regards.

-- 
mit freundlichen Grüßen / best Regards,

  Günther J. Niederwimmer


More information about the sles-beta mailing list