KVM: selftests: Return the target CPU from pin_task_to_random_cpu()

When pinning a task to a random CPU, return which CPU the task was pinned
to so that the caller can do things like avoid running other tasks on the
target CPU.

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