diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 991466bf8dee..92511d4b7236 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -1708,8 +1708,6 @@ static int kvm_guest_time_update(struct kvm_vcpu *v) | |||
1708 | vcpu->pvclock_set_guest_stopped_request = false; | 1708 | vcpu->pvclock_set_guest_stopped_request = false; |
1709 | } | 1709 | } |
1710 | 1710 | ||
1711 | pvclock_flags |= PVCLOCK_COUNTS_FROM_ZERO; | ||
1712 | |||
1713 | /* If the host uses TSC clocksource, then it is stable */ | 1711 | /* If the host uses TSC clocksource, then it is stable */ |
1714 | if (use_master_clock) | 1712 | if (use_master_clock) |
1715 | pvclock_flags |= PVCLOCK_TSC_STABLE_BIT; | 1713 | pvclock_flags |= PVCLOCK_TSC_STABLE_BIT; |
@@ -2007,8 +2005,6 @@ int kvm_set_msr_common(struct kvm_vcpu *vcpu, struct msr_data *msr_info) | |||
2007 | &vcpu->requests); | 2005 | &vcpu->requests); |
2008 | 2006 | ||
2009 | ka->boot_vcpu_runs_old_kvmclock = tmp; | 2007 | ka->boot_vcpu_runs_old_kvmclock = tmp; |
2010 | |||
2011 | ka->kvmclock_offset = -get_kernel_ns(); | ||
2012 | } | 2008 | } |
2013 | 2009 | ||
2014 | vcpu->arch.time = data; | 2010 | vcpu->arch.time = data; |