KVM: nVMX: no need to undo inject_page_fault change on nested vmexit
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Feb 2021 12:19:55 +0000 (07:19 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Feb 2021 12:33:31 +0000 (07:33 -0500)
commit78e550bad2984a524d8a71ba8feed366b29436ef
treebf652a1c924ffcebee472057472d4455db912896
parenta04aead144fd938c2d9869eb187e5b9ea0009bae
KVM: nVMX: no need to undo inject_page_fault change on nested vmexit

This is not needed because the tweak was done on the guest_mmu, while
nested_ept_uninit_mmu_context has just changed vcpu->arch.walk_mmu
back to the root_mmu.

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