diff options
| author | Sean Christopherson <seanjc@google.com> | 2021-06-22 23:05:28 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-24 18:47:55 +0300 |
| commit | ad5f16e422258d51414e7d8aaf856000eec9dfce (patch) | |
| tree | f6b0b0e85958f6677bc96a415baaca0c58444189 /include/uapi | |
| parent | b007e904b36a945d01a9080d754702ca5f9c68b4 (diff) | |
| download | linux-ad5f16e422258d51414e7d8aaf856000eec9dfce.tar.xz | |
KVM: selftests: Add hugepage support for x86-64
Add x86-64 hugepage support in the form of a x86-only variant of
virt_pg_map() that takes an explicit page size. To keep things simple,
follow the existing logic for 4k pages and disallow creating a hugepage
if the upper-level entry is present, even if the desired pfn matches.
Opportunistically fix a double "beyond beyond" reported by checkpatch.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622200529.3650424-19-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
