aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/x86.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index a51635ee85ec..0b021e16f9dd 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1095,6 +1095,7 @@ static int kvm_write_guest_time(struct kvm_vcpu *v)
1095 vcpu->hv_clock.tsc_timestamp = tsc_timestamp; 1095 vcpu->hv_clock.tsc_timestamp = tsc_timestamp;
1096 vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset; 1096 vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset;
1097 vcpu->last_kernel_ns = kernel_ns; 1097 vcpu->last_kernel_ns = kernel_ns;
1098 vcpu->last_guest_tsc = tsc_timestamp;
1098 vcpu->hv_clock.flags = 0; 1099 vcpu->hv_clock.flags = 0;
1099 1100
1100 /* 1101 /*