This patch restructures the test code for nSVM in order to match its counterpart nVMX. This restructuring effort separates the test infrastructure from the test code and puts them in different files. This will make it easier to add future tests, both SVM and nSVM, as well as maintain them. [PATCH] kvm-unit-test: nSVM: Restructure nSVM test code x86/Makefile.x86_64 | 1 + x86/svm.c | 1718 +++++++-------------------------------------------- x86/svm.h | 52 +- x86/svm_tests.c | 1279 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 1551 insertions(+), 1499 deletions(-) Krish Sadhukhan (1): nSVM: Restructure nSVM test code