kvm: nVMX: Add support for fast unprotection of nested guest page tables
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Nov 2016 13:39:58 +0000 (14:39 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Aug 2017 14:44:04 +0000 (16:44 +0200)
commiteebed2438923f8df465c27f8fa41303771fdb2e8
treea767edc12e331314c03493ef5172248334350f71
parent64531a3b70b17c8d3e77f2e49e5e1bb70f571266
kvm: nVMX: Add support for fast unprotection of nested guest page tables

This is the same as commit 147277540bbc ("kvm: svm: Add support for
additional SVM NPF error codes", 2016-11-23), but for Intel processors.
In this case, the exit qualification field's bit 8 says whether the
EPT violation occurred while translating the guest's final physical
address or rather while translating the guest page tables.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/vmx.c