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

All callers of __vm_create_with_vcpus() pass DEFAULT_GUEST_PHY_PAGES for
@slot_mem_pages; drop the param and just hardcode the "default" as the
base number of pages for slot0.

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