Revert "KVM: x86: zero kvmclock_offset when vcpu0 initializes kvmclock system MSR"
authorRadim Krčmář <rkrcmar@redhat.com>
Fri, 18 Sep 2015 15:54:30 +0000 (17:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2015 11:06:37 +0000 (13:06 +0200)
commit9bac175d8ed0b1dd3d3611c0713666b724eeace3
treed36059e4f2db727e978a55eaa8e2009063f944ae
parent9ffecb10283508260936b96022d4ee43a7798b4c
Revert "KVM: x86: zero kvmclock_offset when vcpu0 initializes kvmclock system MSR"

Shifting pvclock_vcpu_time_info.system_time on write to KVM system time
MSR is a change of ABI.  Probably only 2.6.16 based SLES 10 breaks due
to its custom enhancements to kvmclock, but KVM never declared the MSR
only for one-shot initialization.  (Doc says that only one write is
needed.)

This reverts commit b7e60c5aedd2b63f16ef06fde4f81ca032211bc5.
And adds a note to the definition of PVCLOCK_COUNTS_FROM_ZERO.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/pvclock-abi.h
arch/x86/kvm/x86.c