]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "KVM: X86: Update mmu->pdptrs only when it is changed"
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Dec 2021 23:13:37 +0000 (18:13 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Jan 2022 15:44:39 +0000 (10:44 -0500)
commitb8e085e8b8c82964f43bc508078207b93635f9f4
tree4bea4af08a7dbfe1c911a4f11f09211a6bd65163
parent8306db4c04c38930fece19ca0dab9ea8e1f69e0b
Revert "KVM: X86: Update mmu->pdptrs only when it is changed"

This reverts commit c83bbcae32f690ed64a006e2e8d4234082e1d170.
Sean Christopherson reports:

"Commit c83bbcae32f6 ('KVM: X86: Update mmu->pdptrs only when it is
changed') breaks nested VMs with EPT in L0 and PAE shadow paging in L2.
Reproducing is trivial, just disable EPT in L1 and run a VM.  I haven't
investigating how it breaks things."

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