KVM: selftests: Add #define of expected KVM exit reason for ucall
authorSean Christopherson <seanjc@google.com>
Mon, 31 Jul 2023 20:30:25 +0000 (13:30 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 2 Aug 2023 21:42:52 +0000 (14:42 -0700)
commitedb5b700f9f8a21e57aef14cf795fb958cc38628
tree294cc6c9bad75445aa07d9fc30882776218b7b6b
parentb35f4c73d389d3b04e5edf3d1fd041ed3070228b
KVM: selftests: Add #define of expected KVM exit reason for ucall

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@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20230731203026.1192091-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/aarch64/ucall.h
tools/testing/selftests/kvm/include/riscv/ucall.h
tools/testing/selftests/kvm/include/s390x/ucall.h
tools/testing/selftests/kvm/include/x86_64/ucall.h