x86, paravirt: don't compute pvclock adjustments if we trust the tsc
authorGlauber Costa <glommer@redhat.com>
Tue, 11 May 2010 16:17:45 +0000 (12:17 -0400)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:41:05 +0000 (11:41 +0300)
commit3a0d7256a6fb8c13f9fac6cd63250f97a8f0d8de
tree27a710b0f7e54c243382d47c290061699d0e755c
parent838815a78785022f6611e5c48386567aea7b818b
x86, paravirt: don't compute pvclock adjustments if we trust the tsc

If the HV told us we can fully trust the TSC, skip any
correction

Signed-off-by: Glauber Costa <glommer@redhat.com>
Acked-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_para.h
arch/x86/include/asm/pvclock-abi.h
arch/x86/kernel/kvmclock.c
arch/x86/kernel/pvclock.c