Skip to content

pvclock fixes - v3

Glauber Costa kvm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 2 repliesIn review
  2. v27 patches 4 repliesSuperseded
  3. v16 patches 18 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Enable pvclock flags in vcpu_time_info structurearch/x86/include/asm/pvclock-abi.h arch/x86/include/asm/pvclock.h arch/x86/kernel/pvclock.c+12 -10 replies
2/8Add a global synchronization point for pvclockarch/x86/kernel/pvclock.c+24 -00 replies
3/8change msr numbers for kvmclockarch/x86/include/asm/kvm_para.h arch/x86/kvm/x86.c+10 -10 replies
4/8add new KVMCLOCK cpuid featurearch/x86/include/asm/kvm_para.h+4 -00 replies
5/8export paravirtual cpuid flags in KVM_GET_SUPPORTED_CPUIDarch/x86/kvm/x86.c+30 -01 reply
6/8Try using new kvm clock msrsarch/x86/kernel/kvmclock.c+32 -210 replies
7/8don't compute pvclock adjustments if we trust the tscarch/x86/include/asm/kvm_para.h arch/x86/include/asm/pvclock-abi.h arch/x86/kernel/kvmclock.c +1 more+13 -00 replies
8/8Tell the guest we'll warn it about tsc stabilityarch/x86/kvm/x86.c+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/8] pvclock fixes - v3

Hello,

Avi, this version fixes the issues you raised in the last review. Hopte it is better now.

A cpuid.txt wil follow as soon as we're set on everything, so I am not including it yet.

Glauber Costa (8):
Enable pvclock flags in vcpu_time_info structure Add a global synchronization point for pvclock change msr numbers for kvmclock
add new KVMCLOCK cpuid feature
export paravirtual cpuid flags in KVM_GET_SUPPORTED_CPUID Try using new kvm clock msrs
don't compute pvclock adjustments if we trust the tsc Tell the guest we'll warn it about tsc stability

 arch/x86/include/asm/kvm_para.h    |   13 ++++++++
 arch/x86/include/asm/pvclock-abi.h |    4 ++-
 arch/x86/include/asm/pvclock.h     |    1 +
 arch/x86/kernel/kvmclock.c         |   56 ++++++++++++++++++++++-------------
 arch/x86/kernel/pvclock.c          |   37 +++++++++++++++++++++++
 arch/x86/kvm/x86.c                 |   40 +++++++++++++++++++++++++-
 6 files changed, 128 insertions(+), 23 deletions(-)