Skip to content

SVM: vNMI (with my fixes)

Maxim Levitsky kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 54 repliesIn review
  2. v113 patches 19 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11KVM: nSVM: don't sync back tlb_ctl on nested VM exitarch/x86/kvm/svm/nested.c+0 -12 replies
2/11KVM: nSVM: clean up the copying of V_INTR bits from vmcb02 to vmcb12arch/x86/kvm/svm/nested.c+8 -154 replies
3/11KVM: nSVM: explicitly raise KVM_REQ_EVENT on nested VM exit if L1 doesn't intercept interruptsarch/x86/kvm/svm/nested.c+25 -02 replies
4/11KVM: SVM: drop the SVM specific H_FLAGSarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+35 -152 replies
5/11KVM: x86: emulator: stop using raw host flagsarch/x86/include/asm/kvm_host.h arch/x86/kvm/emulate.c arch/x86/kvm/kvm_emulate.h +2 more+19 -212 replies
6/11KVM: SVM: add wrappers to enable/disable IRET interceptionarch/x86/kvm/svm/svm.c+19 -96 replies
7/11KVM: x86: add a delayed hardware NMI injection interfacearch/x86/include/asm/kvm-x86-ops.h arch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+48 -515 replies
8/11x86/cpu: Add CPUID feature bit for VNMIarch/x86/include/asm/cpufeatures.h+1 -00 replies
9/11KVM: SVM: Add VNMI bit definitionarch/x86/include/asm/svm.h+7 -02 replies
10/11KVM: SVM: implement support for vNMIarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+140 -238 replies
11/11KVM: nSVM: implement support for nested VNMIarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+23 -14 replies

Reviews trailers per patch

2 of 11 patches have a Reviewed-by or Acked-by.

PatchMaxim LevitskySantosh Shukla
SeriesT-b
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11R-b
9/11R-b
10/11Developed-by
11/11

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

Read the v2 thread

Cover letter [PATCH v2 00/11] SVM: vNMI (with my fixes)

Hi!

This is the vNMI patch series based on Santosh Shukla's vNMI patch series.

In this version of this patch series I addressed most of the review feedback added some more refactoring and also I think fixed the issue with migration.

I only tested this on a machine which doesn't have vNMI, so this does need some testing to ensure that nothing is broken.

Best regards,
Maxim Levitsky

Maxim Levitsky (9):
KVM: nSVM: don't sync back tlb_ctl on nested VM exit
KVM: nSVM: clean up the copying of V_INTR bits from vmcb02 to vmcb12
KVM: nSVM: explicitly raise KVM_REQ_EVENT on nested VM exit if L1
doesn't intercept interrupts
KVM: SVM: drop the SVM specific H_FLAGS
KVM: x86: emulator: stop using raw host flags
KVM: SVM: add wrappers to enable/disable IRET interception
KVM: x86: add a delayed hardware NMI injection interface
KVM: SVM: implement support for vNMI
KVM: nSVM: implement support for nested VNMI

Santosh Shukla (2):
x86/cpu: Add CPUID feature bit for VNMI
KVM: SVM: Add VNMI bit definition

 arch/x86/include/asm/cpufeatures.h |   1 +
 arch/x86/include/asm/kvm-x86-ops.h |   2 +
 arch/x86/include/asm/kvm_host.h    |  24 +++--
 arch/x86/include/asm/svm.h         |   7 ++
 arch/x86/kvm/emulate.c             |  11 +--
 arch/x86/kvm/kvm_emulate.h         |   7 +-
 arch/x86/kvm/smm.c                 |   2 -
 arch/x86/kvm/svm/nested.c          | 102 ++++++++++++++++---
 arch/x86/kvm/svm/svm.c             | 154 ++++++++++++++++++++++-------
 arch/x86/kvm/svm/svm.h             |  41 +++++++-
 arch/x86/kvm/x86.c                 |  50 ++++++++--
 11 files changed, 318 insertions(+), 83 deletions(-)
Signature · 1 line
2.26.3