lkml.org 
[lkml]   [2016]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] KVM: x86: kvmclock cleanups for Hyper-V TSC page
Date
This implements the plan that we discussed at KVM Forum.  Patch 3
implements a new function that returns the current value of kvmclock as
read by the guest. The function is then used to provide the Hyper-V
time reference counter. Now that the reference counter is synchronized
with kvmclock, the TSC page can be supported nicely.

Paolo


Paolo Bonzini (4):
KVM: x86: always fill in vcpu->arch.hv_clock
KVM: x86: initialize kvmclock_offset
KVM: x86: introduce get_kvmclock_ns
KVM: x86: Hyper-V tsc page setup

arch/x86/entry/vdso/vclock_gettime.c | 2 +-
arch/x86/include/asm/pvclock.h | 5 +-
arch/x86/kernel/pvclock.c | 2 +-
arch/x86/kvm/hyperv.c | 143 +++++++++++++++++++++++++++----
arch/x86/kvm/hyperv.h | 3 +
arch/x86/kvm/x86.c | 158 +++++++++++++++++++++--------------
arch/x86/kvm/x86.h | 6 +-
7 files changed, 232 insertions(+), 87 deletions(-)

--
1.8.3.1

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.172 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site