KVM: selftests: Write REPORT_GUEST_ASSERT macros to pair with GUEST_ASSERT
authorColton Lewis <coltonlewis@google.com>
Wed, 15 Jun 2022 19:31:15 +0000 (19:31 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:07 +0000 (18:14 -0700)
commitddcb57afd5815191f02aec12f18b4d1bbad5fb9d
treeaa3f442577c3dea23db5a6ce176ce8398aced17d
parentfc573fa4f38aa0cecace00d00cc60109ae947834
KVM: selftests: Write REPORT_GUEST_ASSERT macros to pair with GUEST_ASSERT

Write REPORT_GUEST_ASSERT macros to pair with GUEST_ASSERT to abstract
and make consistent all guest assertion reporting. Every report
includes an explanatory string, a filename, and a line number.

Signed-off-by: Colton Lewis <coltonlewis@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Link: https://lore.kernel.org/r/20220615193116.806312-4-coltonlewis@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/ucall_common.h