Skip to content

KVM: selftests: Introduce selftests for enlightened MSR-Bitmap feature

Vitaly Kuznetsov kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6KVM: selftests: Adapt hyperv_cpuid test to the newly introduced Enlightened MSR-Bitmaptools/testing/selftests/kvm/x86_64/hyperv_cpuid.c+17 -120 replies
2/6KVM: selftests: nVMX: Properly deal with 'hv_clean_fields'tools/testing/selftests/kvm/include/x86_64/evmcs.h tools/testing/selftests/kvm/x86_64/evmcs_test.c+152 -30 replies
3/6KVM: selftests: nVMX: Add enlightened MSR-Bitmap selftesttools/testing/selftests/kvm/x86_64/evmcs_test.c+59 -00 replies
4/6KVM: selftests: nSVM: Set up MSR-Bitmap for SVM gueststools/testing/selftests/kvm/include/x86_64/svm_util.h tools/testing/selftests/kvm/lib/x86_64/svm.c+11 -00 replies
5/6KVM: selftests: nSVM: Update 'struct vmcb_control_area' definitiontools/testing/selftests/kvm/include/x86_64/svm.h+8 -10 replies
6/6KVM: selftests: nSVM: Add enlightened MSR-Bitmap selftesttools/testing/selftests/kvm/Makefile tools/testing/selftests/kvm/include/x86_64/svm_util.h tools/testing/selftests/kvm/x86_64/hyperv_svm_test.c+177 -00 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/6] KVM: selftests: Introduce selftests for enlightened MSR-Bitmap feature

KVM gained support for enlightened MSR-Bitmap Hyper-V feature (Hyper-V on KVM) for both nVMX and nSVM, test it in selftests.

Vitaly Kuznetsov (6):
KVM: selftests: Adapt hyperv_cpuid test to the newly introduced
Enlightened MSR-Bitmap
KVM: selftests: nVMX: Properly deal with 'hv_clean_fields'
KVM: selftests: nVMX: Add enlightened MSR-Bitmap selftest
KVM: selftests: nSVM: Set up MSR-Bitmap for SVM guests
KVM: selftests: nSVM: Update 'struct vmcb_control_area' definition
KVM: selftests: nSVM: Add enlightened MSR-Bitmap selftest

 tools/testing/selftests/kvm/Makefile          |   1 +
 .../selftests/kvm/include/x86_64/evmcs.h      | 150 ++++++++++++++-
 .../selftests/kvm/include/x86_64/svm.h        |   9 +-
 .../selftests/kvm/include/x86_64/svm_util.h   |   6 +
 tools/testing/selftests/kvm/lib/x86_64/svm.c  |   6 +
 .../testing/selftests/kvm/x86_64/evmcs_test.c |  64 ++++++-
 .../selftests/kvm/x86_64/hyperv_cpuid.c       |  29 +--
 .../selftests/kvm/x86_64/hyperv_svm_test.c    | 175 ++++++++++++++++++
 8 files changed, 424 insertions(+), 16 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/x86_64/hyperv_svm_test.c
Signature · 1 line
2.34.1