Re: [Patch v3 12/13] KVM: selftests: Make vCPU exit reason test assertion common.

David Matlack
2022-12-09T21:50:44Z

On Mon, Dec 05, 2022 at 11:14:29AM -0800, Vipin Sharma wrote:
> Make ASSERT_EXIT_REASON() macro and replace all exit reason test assert
> statements with it.
>
> No functional changes intended.
>
> Suggested-by: David Matlack <dmatlack@google.com>
> Signed-off-by: Vipin Sharma <vipinsh@google.com>

Reviewed-by: David Matlack <dmatlack@google.com>

> ---
> .../testing/selftests/kvm/aarch64/psci_test.c | 4 +--
> .../testing/selftests/kvm/include/test_util.h | 10 ++++++++
[...]
> .../selftests/kvm/x86_64/xapic_ipi_test.c | 6 +----
> .../selftests/kvm/x86_64/xen_shinfo_test.c | 7 +-----
> .../selftests/kvm/x86_64/xen_vmcall_test.c | 5 +---
> 44 files changed, 71 insertions(+), 293 deletions(-)

Nice diff stat :)