]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb55c8b8c2542a03078e5d86d7b76f64a5e87ebd5
tree9025c8d96bb673a856711ffad14db019f1536d11
parente673cae502662fae299cd0ab761986a276df0a33
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