KVM: selftests: Convert ARM's vGIC IRQ test to printf style GUEST_ASSERT
authorSean Christopherson <seanjc@google.com>
Sat, 29 Jul 2023 00:36:23 +0000 (17:36 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 2 Aug 2023 21:43:05 +0000 (14:43 -0700)
commitd0ad3bacc523cd780d573c890ebf3b14cec5df22
tree5f8320843a41d7cc320688c8e34499e6b63e25f2
parentdf27f6b45454c02919b84dfe3ffad3f665108d23
KVM: selftests: Convert ARM's vGIC IRQ test to printf style GUEST_ASSERT

Use printf-based guest assert reporting in ARM's vGIC IRQ test.  Note,
this is not as innocuous as it looks!  The printf-based version of
GUEST_ASSERT_EQ() ensures the expressions are evaluated only once, whereas
the old version did not!

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