KVM: selftests: Use "standard" min virtual address for CPUID test alloc
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 20:05:20 +0000 (13:05 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 08:31:19 +0000 (04:31 -0400)
commit408633c326c487f4f32d02c7d891c9b0242d5c45
treefbd6f0162cde4b34d035eb47e646f38a1032633d
parent233446c1e68f6086a7f6738318a5314b528fb642
KVM: selftests: Use "standard" min virtual address for CPUID test alloc

Use KVM_UTIL_MIN_ADDR as the minimum for x86-64's CPUID array.  The
system page size was likely used as the minimum because _something_ had
to be provided.  Increasing the min from 0x1000 to 0x2000 should have no
meaningful impact on the test, and will allow changing vm_vaddr_alloc()
to use KVM_UTIL_MIN_VADDR as the default.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622200529.3650424-11-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/get_cpuid_test.c