Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1486395

[PATCH v2 0/4] KVM: x86: kvmclock cleanups for Hyper-V TSC page

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/4] KVM: x86: kvmclock cleanups for Hyper-V TSC page
Date 2016-09-19 13:40 +0200
Message-ID <sj55v-4R9-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

v2->v3: use TSC page information to compute time reference counter value
	fixed case where TSC seq is 0xFFFFFFFE

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/kvm_host.h      |   2 +
 arch/x86/include/asm/pvclock.h       |   5 +-
 arch/x86/kernel/pvclock.c            |   2 +-
 arch/x86/kvm/hyperv.c                | 162 +++++++++++++++++++++++++++++++----
 arch/x86/kvm/hyperv.h                |   3 +
 arch/x86/kvm/x86.c                   | 158 ++++++++++++++++++++--------------
 arch/x86/kvm/x86.h                   |   6 +-
 8 files changed, 253 insertions(+), 87 deletions(-)

-- 
1.8.3.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/4] KVM: x86: kvmclock cleanups for Hyper-V TSC page Paolo Bonzini <pbonzini@redhat.com> - 2016-09-19 13:40 +0200
  [PATCH 2/4] KVM: x86: initialize kvmclock_offset Paolo Bonzini <pbonzini@redhat.com> - 2016-09-19 13:40 +0200
  [PATCH 4/4] KVM: x86: Hyper-V tsc page setup Paolo Bonzini <pbonzini@redhat.com> - 2016-09-19 13:50 +0200
  [PATCH 1/4] KVM: x86: always fill in vcpu->arch.hv_clock Paolo Bonzini <pbonzini@redhat.com> - 2016-09-19 13:50 +0200

csiph-web