Skip to content

SVM fixes + refactoring

Maxim Levitsky kvm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8KVM: x86: avoid loading a vCPU after .vm_destroy was calledarch/x86/kvm/x86.c+3 -73 replies
2/8KVM: x86: SVM: use vmcb01 in avic_init_vmcb and init_vmcbarch/x86/kvm/svm/avic.c arch/x86/kvm/svm/svm.c+6 -52 replies
3/8kvm: x86: SVM: use vmcb* instead of svm->vmcb where it makes sensearch/x86/kvm/svm/nested.c+94 -850 replies
4/8KVM: x86: SVM: fix avic spec based definitions againarch/x86/include/asm/svm.h arch/x86/kvm/svm/svm.h+5 -140 replies
5/8KVM: x86: SVM: move tsc ratio definitions to svm.harch/x86/include/asm/svm.h arch/x86/kvm/svm/svm.c+11 -100 replies
6/8kvm: x86: SVM: remove unused definesarch/x86/kvm/svm/svm.c+0 -80 replies
7/8KVM: x86: SVM: fix tsc scaling when the host doesn't support itarch/x86/kvm/svm/svm.c arch/x86/kvm/vmx/vmx.c arch/x86/kvm/x86.c+6 -90 replies
8/8KVM: x86: SVM: remove vgif_enabled()arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+10 -142 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] SVM fixes + refactoring

Those are few bug fixes which are in my patch queue, rebased against current kvm/queue.

Best regards,
Maxim Levitsky

Maxim Levitsky (8):
KVM: x86: avoid loading a vCPU after .vm_destroy was called
KVM: x86: SVM: use vmcb01 in avic_init_vmcb and init_vmcb
kvm: x86: SVM: use vmcb* instead of svm->vmcb where it makes sense
KVM: x86: SVM: fix avic spec based definitions again
KVM: x86: SVM: move tsc ratio definitions to svm.h
kvm: x86: SVM: remove unused defines
KVM: x86: SVM: fix tsc scaling when the host doesn't support it
KVM: x86: SVM: remove vgif_enabled()

 arch/x86/include/asm/svm.h |  14 ++-
 arch/x86/kvm/svm/avic.c    |   2 +-
 arch/x86/kvm/svm/nested.c  | 179 +++++++++++++++++++------------------
 arch/x86/kvm/svm/svm.c     |  46 ++++------
 arch/x86/kvm/svm/svm.h     |  23 +----
 arch/x86/kvm/vmx/vmx.c     |   7 +-
 arch/x86/kvm/x86.c         |  14 +--
 7 files changed, 134 insertions(+), 151 deletions(-)
Signature · 1 line
2.26.3