]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0a5b8c6c1caa47523aa782f0e039cb2f5fd9447
treed36059e4f2db727e978a55eaa8e2009063f944ae
parent755b54c2d7664b903bfb45b7d15cb67261530d08
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 3795633bf017d6a5e4683453686e100aff690b22.
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