Skip to content

pvclock misc fixes - v4.

Glauber Costa kvm lkml 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9Enable 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/9Add a global synchronization point for pvclockarch/x86/kernel/pvclock.c+24 -00 replies
3/9change msr numbers for kvmclockarch/x86/include/asm/kvm_para.h arch/x86/kvm/x86.c+10 -10 replies
4/9add new KVMCLOCK cpuid featurearch/x86/include/asm/kvm_para.h+4 -00 replies
5/9export paravirtual cpuid flags in KVM_GET_SUPPORTED_CPUIDarch/x86/kvm/x86.c+34 -00 replies
6/9Try using new kvm clock msrsarch/x86/kernel/kvmclock.c+32 -210 replies
7/9don'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/9Tell the guest we'll warn it about tsc stabilityarch/x86/kvm/x86.c+4 -10 replies
9/9Add cpuid.txt fileDocumentation/kvm/cpuid.txt+44 -00 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchZachary Amsden
SeriesA-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] pvclock misc fixes - v4.

This is the fourth version ov kvmclock fixes.

Just two minor changes in patch 5, per avi request, and the addition of cpuid.txt file, documenting all cpuid flags we use.

As a side effect, this patch removes the time-travel feature in kvm guests.

Glauber Costa (9):
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 Add cpuid.txt file

 Documentation/kvm/cpuid.txt        |   44 ++++++++++++++++++++++++++++
 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                 |   44 +++++++++++++++++++++++++++-
 7 files changed, 176 insertions(+), 23 deletions(-)
 create mode 100644 Documentation/kvm/cpuid.txt