KVM: selftests: Add a KVM syscall wrapper for sched_setaffinity()

Add and use a KVM wrapper for sched_setaffinity() so that selftests don't
need to manually assert that the syscall succeeded.

No functional change intended.

Link: https://patch.msgid.link/20260731195612.2697986-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
This commit is contained in:
Sean Christopherson 2026-07-31 12:56:01 -07:00
commit f766bf3d0a
2 changed files with 3 additions and 4 deletions