From: Marcelo Tosatti Date: Thu, 28 May 2015 23:20:41 +0000 (-0300) Subject: KVM: x86: zero kvmclock_offset when vcpu0 initializes kvmclock system MSR X-Git-Tag: omap-for-v4.3/legacy-v2-signed~167^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7e60c5aedd2b63f16ef06fde4f81ca032211bc5;p=pandora-kernel.git KVM: x86: zero kvmclock_offset when vcpu0 initializes kvmclock system MSR Initialize kvmclock base, on kvmclock system MSR write time, so that the guest sees kvmclock counting from zero. This matches baremetal behaviour when kvmclock in guest sets sched clock stable. Signed-off-by: Marcelo Tosatti [Remove unnecessary comment. - Paolo] Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed