]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c09cd3f7ce2759e00d748be4b2f02e85931c01d
treea767edc12e331314c03493ef5172248334350f71
parent0723496f4392e72da54cc597347468ab2ecb19bd
kvm: nVMX: Add support for fast unprotection of nested guest page tables

This is the same as commit c937a04213b6 ("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