Loading
KVM: selftests: Add additional equivalents to libnuma APIs in KVM's numaif.h
Add APIs for all syscalls defined in the kernel's mm/mempolicy.c to match those that would be provided by linking to libnuma. Opportunistically use the recently inroduced KVM_SYSCALL_DEFINE() builders to take care of the boilerplate, and to fix a flaw where the two existing wrappers would generate multiple symbols if numaif.h were to be included multiple times. Reviewed-by:Ackerley Tng <ackerleytng@google.com> Tested-by:
Ackerley Tng <ackerleytng@google.com> Reviewed-by:
Shivank Garg <shivankg@amd.com> Tested-by:
Shivank Garg <shivankg@amd.com> Link: https://lore.kernel.org/r/20251016172853.52451-9-seanjc@google.com Signed-off-by:
Sean Christopherson <seanjc@google.com>