Skip to content

kvm-unit-test: nSVM: Add alternative (v2) test framework and add test for SVME.EFER vmcb field

Krish Sadhukhan kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kvm-unit-test: nSVM: Add alternative (v2) test format for nested guestsx86/svm.c x86/svm.h x86/svm_tests.c+63 -200 replies
2/3kvm-unit-test: nSVM: Add helper functions to write and read vmcb fieldsx86/svm.c x86/svm.h+18 -01 reply
3/3kvm-unit-test: nSVM: Test SVME.EFER on VMRUN of nested guestsx86/svm_tests.c+23 -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/3] kvm-unit-test: nSVM: Add alternative (v2) test framework and add test for SVME.EFER vmcb field

This patchset builds on top of my previous patch titled:

"[PATCH] kvm-unit-test: nSVM: Restructure nSVM test code"

The idea here is to create an alternative (v2) test framework that nVMX has so that tests that don't need the functions that the current framework requires, can be added.
Patch# 1: Adds the alternative (v2) framework.
Patch# 2: Adds helper functions for reading and writing vmcb fields by the
tests.
Patch# 3: Adds a test for SVME.EFER field.

[PATCH 1/3] kvm-unit-test: nSVM: Add alternative (v2) test format for nested guests [PATCH 2/3] kvm-unit-test: nSVM: Add helper functions to write and read vmcb fields [PATCH 3/3] kvm-unit-test: nSVM: Test SVME.EFER on VMRUN of nested guests

 x86/svm.c       | 91 ++++++++++++++++++++++++++++++++++++++++++++-------------
 x86/svm.h       |  8 +++++
 x86/svm_tests.c | 25 ++++++++++++++++
 3 files changed, 104 insertions(+), 20 deletions(-)

Krish Sadhukhan (3):
nSVM: Add alternative (v2) test format for nested guests
nSVM: Add helper functions to write and read vmcb fields
nSVM: Test SVME.EFER on VMRUN of nested guests