KVM: X86: Add parameter huge_page_level to kvm_init_shadow_ept_mmu()
authorLai Jiangshan <laijs@linux.alibaba.com>
Wed, 24 Nov 2021 12:20:49 +0000 (20:20 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:25:12 +0000 (04:25 -0500)
commitcc022ae144c1ce318643f821461295337280a1c0
tree05c3dbf3e3d7c6a032743cd9c7b581181a159dfa
parent84ea5c09a66d19eff2eaebffafa667e6bf9a7905
KVM: X86: Add parameter huge_page_level to kvm_init_shadow_ept_mmu()

The level of supported large page on nEPT affects the rsvds_bits_mask.

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Message-Id: <20211124122055.64424-8-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/vmx/capabilities.h
arch/x86/kvm/vmx/nested.c