Re: [PATCH v4.1 2/3] KVM: selftests: Add #define of expected KVM exit reason for ucall

From: Andrew Jones
Date: Tue Aug 01 2023 - 05:23:54 EST


On Mon, Jul 31, 2023 at 01:30:25PM -0700, Sean Christopherson wrote:
> Define the expected architecture specific exit reason for a successful
> ucall so that common tests can assert that a ucall occurred without the
> test needing to implement arch specific code.
>
> Suggested-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> ---
> tools/testing/selftests/kvm/include/aarch64/ucall.h | 2 ++
> tools/testing/selftests/kvm/include/riscv/ucall.h | 2 ++
> tools/testing/selftests/kvm/include/s390x/ucall.h | 2 ++
> tools/testing/selftests/kvm/include/x86_64/ucall.h | 2 ++
> 4 files changed, 8 insertions(+)
>

Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>