]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: nested EPT cannot be used in SMM
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 12:30:08 +0000 (07:30 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Apr 2022 16:49:17 +0000 (12:49 -0400)
commit73934f10e7866a4f4c9e1d46637b56eee46b6a78
tree428eaa9ab824c1c01e78c2959e1ea9ff5cfcfd1f
parent6c379b5cab583097f035bca6c7b769631132f961
KVM: x86/mmu: nested EPT cannot be used in SMM

The role.base.smm flag is always zero when setting up shadow EPT,
do not bother copying it over from vcpu->arch.root_mmu.

Reviewed-by: David Matlack <dmatlack@google.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c