KVM: nVMX: we support 1GB EPT pages
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Mar 2017 09:49:19 +0000 (10:49 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Fri, 7 Apr 2017 14:49:00 +0000 (16:49 +0200)
commit7db742654dd59fde90af79d77372c5439399a9e6
treeeffd439407194c99e9ebf6cc88439eccf464df9f
parentad6260da1e23cf937806e42c8490af3ff4530474
KVM: nVMX: we support 1GB EPT pages

Large pages at the PDPE level can be emulated by the MMU, so the bit
can be set unconditionally in the EPT capabilities MSR.  The same is
true of 2MB EPT pages, though all Intel processors with EPT in practice
support those.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c