]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Don't propagate MMU lpage support to memslot.disallow_lpage
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 2 Mar 2020 23:57:04 +0000 (15:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:58:41 +0000 (17:58 +0100)
commit5cc3e9b56c99a4464aae2f97739c40582e038179
tree873f31c3fc94ecb145d5666d09923175768a0baa
parent64e968484692e777e53133a35967237e3a9f4fc0
KVM: x86: Don't propagate MMU lpage support to memslot.disallow_lpage

Stop propagating MMU large page support into a memslot's disallow_lpage
now that the MMU's max_page_level handles the scenario where VMX's EPT is
enabled and EPT doesn't support 2M pages.

No functional change intended.

Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c