diff options
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 468fafaed1a..9396b3f2c59 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -1866,7 +1866,7 @@ void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu) | |||
1866 | } | 1866 | } |
1867 | 1867 | ||
1868 | kvm_x86_ops->vcpu_load(vcpu, cpu); | 1868 | kvm_x86_ops->vcpu_load(vcpu, cpu); |
1869 | if (unlikely(vcpu->cpu != cpu)) { | 1869 | if (unlikely(vcpu->cpu != cpu) || check_tsc_unstable()) { |
1870 | /* Make sure TSC doesn't go backwards */ | 1870 | /* Make sure TSC doesn't go backwards */ |
1871 | s64 tsc_delta = !vcpu->arch.last_host_tsc ? 0 : | 1871 | s64 tsc_delta = !vcpu->arch.last_host_tsc ? 0 : |
1872 | native_read_tsc() - vcpu->arch.last_host_tsc; | 1872 | native_read_tsc() - vcpu->arch.last_host_tsc; |