KVM: selftests: Drop @num_percpu_pages from __vm_create_with_vcpus()
authorSean Christopherson <seanjc@google.com>
Tue, 3 May 2022 00:39:47 +0000 (17:39 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:25 +0000 (11:47 -0400)
commitacaf50ad6dcb69a9857ef6c9a42100f6270f5f03
tree9025c8d96bb673a856711ffad14db019f1536d11
parent3222d0264fb60a9aa359a58a059a7fb0d2b3c467
KVM: selftests: Drop @num_percpu_pages from __vm_create_with_vcpus()

Drop @num_percpu_pages from __vm_create_with_vcpus(), all callers pass
'0' and there's unlikely to be a test that allocates just enough memory
that it needs a per-CPU allocation, but not so much that it won't just do
its own memory management.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/kvm_page_table_test.c
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/perf_test_util.c