kvm-unit-test: nSVM: Restructure nSVM test code
PATCH 1/1 kvm-unit-test: nSVM: Restructure nSVM test code
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
PATCH 1/1 kvm-unit-test: nSVM: Restructure nSVM test code
..so that it matches its counterpart nVMX. This restructuring effort separates the test framework from the tests and puts them in different files.
--- 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(-) create mode 100644 x86/svm_tests.c
x86/Makefile.x86_64 +1 -0
@@ -26,3 +26,4 @@ include $(SRCDIR)/$(TEST_DIR)/Makefile.common $(TEST_DIR)/hyperv_clock.elf: $(TEST_DIR)/hyperv_clock.o $(TEST_DIR)/vmx.elf: $(TEST_DIR)/vmx_tests.o +$(TEST_DIR)/svm.elf: $(TEST_DIR)/svm_tests.o
x86/svm.c +220 -1498
1,819 lines not on this page · raw message
x86/svm.h +51 -1
56 lines not on this page · raw message
x86/svm_tests.c new file +1279 -0
1,121 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.8.3.1
Part of the diff is not shown here. View the raw message.
Quoted 8 lines · Krish Sadhukhan
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
Quoted 9 lines
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
Ping ...
Quoted 8 lines · Krish Sadhukhan
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
Quoted 9 lines
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
Merged, thanks.
Paolo