]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Lower the min virtual address for misc page allocations
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 20:05:17 +0000 (13:05 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 08:31:18 +0000 (04:31 -0400)
commitbc2a5758db386c8972883eb084c987dc261367ff
tree424834d5be677b0786da7f79d5607161e93f0edd
parentb6753b343ce6bbed160c5e09765140ce9d1253af
KVM: selftests: Lower the min virtual address for misc page allocations

Reduce the minimum virtual address of page allocations from 0x10000 to
KVM_UTIL_MIN_VADDR (0x2000).  Both values appear to be completely
arbitrary, and reducing the min to KVM_UTIL_MIN_VADDR will allow for
additional consolidation of code.

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