OSDN Git Service

KVM: selftests: Print expected and actual exit reason in KVM exit reason assert
authorVipin Sharma <vipinsh@google.com>
Sat, 4 Feb 2023 01:45:45 +0000 (17:45 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Mar 2023 14:20:09 +0000 (10:20 -0400)
commit6f974494b8077bb1a2a10fe33f62c143f246f102
tree0d424d1eaf20e1130da513d5c51c9e308befd6d9
parentc96f57b08012805da323c6bdf929bab1b88d250c
KVM: selftests: Print expected and actual exit reason in KVM exit reason assert

Print what KVM exit reason a test was expecting and what it actually
got int TEST_ASSERT_KVM_EXIT_REASON().

Signed-off-by: Vipin Sharma <vipinsh@google.com>
Message-Id: <20230204014547.583711-3-vipinsh@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/test_util.h