]> 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)
commit1ce3a589a1f0fe053b97fc6bc622ecf3b5402ff5
tree428eaa9ab824c1c01e78c2959e1ea9ff5cfcfd1f
parentada6c24851a3e11a56f64411adfbcba63a13c5ad
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