]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Use alloc_page helper for x86-64's GDT/IDT/TSS allocations
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 20:05:18 +0000 (13:05 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 08:31:18 +0000 (04:31 -0400)
commit154eb9e8c13f74a5597abf646e996a51c0e95d09
tree221f0636e5b3b39c23a2ab8250f90e7b808ebaef
parentbc2a5758db386c8972883eb084c987dc261367ff
KVM: selftests: Use alloc_page helper for x86-64's GDT/IDT/TSS allocations

Switch to the vm_vaddr_alloc_page() helper for x86-64's "kernel"
allocations now that the helper uses the same min virtual address as the
open coded versions.

No functional change intended.

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