]> 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)
commit98717b4e17885cb7e670f0c11a263045ec967b6b
treea767edc12e331314c03493ef5172248334350f71
parentcaae9352a98962cce4ac1a592322beb26c40eda5
kvm: nVMX: Add support for fast unprotection of nested guest page tables

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