]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite673cae502662fae299cd0ab761986a276df0a33
tree52426f8539be73ad90cfebadcb38df6c0f9ac8bb
parent5ef5181328eb84bede6413b4078e1cecf6f116e6
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