KVM: selftests: Convert the nSVM software interrupt test to printf guest asserts
authorSean Christopherson <seanjc@google.com>
Sat, 29 Jul 2023 00:36:36 +0000 (17:36 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 2 Aug 2023 21:43:13 +0000 (14:43 -0700)
commita925f799428168e1a849509c0f425673b62e53ad
treebaad698c71347b98333df335cf1cb08b66c8fc24
parent40b319d6b4e109d5e94ac1054d5147624e79088f
KVM: selftests: Convert the nSVM software interrupt test to printf guest asserts

Convert x86's nested SVM software interrupt injection test to use printf-
based guest asserts.  Opportunistically use GUEST_ASSERT() and
GUEST_FAIL() in a few locations to spit out more debug information.

Link: https://lore.kernel.org/r/20230729003643.1053367-28-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86_64/svm_nested_soft_inject_test.c