KVM: selftests: Convert aarch_timer to printf style GUEST_ASSERT
authorSean Christopherson <seanjc@google.com>
Sat, 29 Jul 2023 00:36:19 +0000 (17:36 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 2 Aug 2023 21:43:03 +0000 (14:43 -0700)
commitdb44e1c871bcf6228b9447aada421088e036692a
treef4392b6be1f3b1af5e499b5308f08165b381d150
parent5d1d46f9d56fb567718175cb0cb7a084d444a9d4
KVM: selftests: Convert aarch_timer to printf style GUEST_ASSERT

Convert ARM's aarch_timer test to use printf-based GUEST_ASSERT().
To maintain existing functionality, manually print the host information,
e.g. stage and iteration, to stderr prior to reporting the guest assert.

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