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