OSDN Git Service

KVM: selftests: Convert x86's nested exceptions test to printf guest asserts
authorSean Christopherson <seanjc@google.com>
Sat, 29 Jul 2023 00:36:34 +0000 (17:36 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 2 Aug 2023 21:43:12 +0000 (14:43 -0700)
commitb13a307ce3c6435c288017d7edf1c6e2827470dc
tree1bfa84c53de63b68655d73cec2b8141c3073fe57
parent0f52e4aaa61400ce68e122b678811777734421ff
KVM: selftests: Convert x86's nested exceptions test to printf guest asserts

Convert x86's nested exceptions test to printf-based guest asserts, and
use REPORT_GUEST_ASSERT() instead of TEST_FAIL() so that output is
formatted correctly.

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