Skip to content

Commit 044c33c

Browse files
yosrym93sean-jc
authored andcommitted
x86/svm: Print SVM test names before running tests
When SVM tests are run, the log is a see of PASS/FAIL/SKIPs that are not clearly separated by test. Sometimes it's hard to attribute a failure to a specific test (e.g. if the same helper is reused by multiple tests). Print the test name before running each test. Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev> Link: https://patch.msgid.link/20251110232642.633672-9-yosry.ahmed@linux.dev Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent 9af8f8e commit 044c33c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x86/svm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ int run_svm_tests(int ac, char **av, struct svm_test *svm_tests)
407407
report_skip("%s (not supported)", svm_tests[i].name);
408408
continue;
409409
}
410+
printf("SVM test: %s\n", svm_tests[i].name);
410411
if (svm_tests[i].v2 == NULL) {
411412
if (svm_tests[i].on_vcpu) {
412413
if (cpu_count() <= svm_tests[i].on_vcpu)

0 commit comments

Comments
 (0)