KVM: selftests: Unconditionally use memslot 0 for vaddr allocations
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 20:05:21 +0000 (22:05 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 15:47:42 +0000 (11:47 -0400)
commita75a895e6457784fdf2a0a20a024ae29ff8a7f28
treeff91201bed069435521595bd6f81ae888d87b558
parent408633c326c487f4f32d02c7d891c9b0242d5c45
KVM: selftests: Unconditionally use memslot 0 for vaddr allocations

Drop the memslot param(s) from vm_vaddr_alloc() now that all callers
directly specific '0' as the memslot.  Drop the memslot param from
virt_pgd_alloc() as well since vm_vaddr_alloc() is its only user.
I.e. shove the hardcoded '0' down to the vm_phy_pages_alloc() calls.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/aarch64/processor.c
tools/testing/selftests/kvm/lib/elf.c
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/s390x/processor.c
tools/testing/selftests/kvm/lib/x86_64/processor.c
tools/testing/selftests/kvm/x86_64/get_cpuid_test.c