]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Add PTE helper for x86-64 in preparation for hugepages
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 20:05:26 +0000 (13:05 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 15:47:49 +0000 (11:47 -0400)
commit6a8fd9faae56dc748da434693ff96931c428cf18
tree964f156b4fbd8364d4e7ba481930160618e58c75
parent6f373590b485d78562515e30335abb41b20eed05
KVM: selftests: Add PTE helper for x86-64 in preparation for hugepages

Add a helper to retrieve a PTE pointer given a PFN, address, and level
in preparation for adding hugepage support.

No functional change intended.

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