]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit440c7a45639ee5ae673fe15f43573a17a94ef6b1
treebf652a1c924ffcebee472057472d4455db912896
parentec3633b6e5721aa0a5856c0bb3347cc55748dca5
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