]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d1f689411d7e4927771c4d151812fb9ec3470fd
treeaa3f442577c3dea23db5a6ce176ce8398aced17d
parentba0c15035152c672e558bb4c365bbbb0d304aaae
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