KVM: selftests: Assert that eventfd() succeeds in Xen shinfo test
authorSean Christopherson <seanjc@google.com>
Thu, 22 May 2025 23:52:21 +0000 (16:52 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:51:00 +0000 (09:51 -0700)
commit033b76bc7f066b3e2e024e5ced0de0768d7d57b5
tree4587eb76b3026fe19e4d5f2df1debec5ccab7279
parentb599d44a71f1aa1acff54b05e4c0e60ea82ed90c
KVM: selftests: Assert that eventfd() succeeds in Xen shinfo test

Assert that eventfd() succeeds in the Xen shinfo test instead of skipping
the associated testcase.  While eventfd() is outside the scope of KVM, KVM
unconditionally selects EVENTFD, i.e. the syscall should always succeed.

Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250522235223.3178519-12-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86/xen_shinfo_test.c