KVM: nVMX: Emulate EPTP switching for the L1 hypervisor
authorBandan Das <bsd@redhat.com>
Thu, 3 Aug 2017 19:54:43 +0000 (15:54 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 Aug 2017 13:29:22 +0000 (15:29 +0200)
commit41ab93727467c0d5ab71c89ed7048051f33c401b
tree8f6803c77d34b12491d846a6bc177e649697314b
parent27c42a1bb8674f6bd52766edf6cd99ad6bdd7a46
KVM: nVMX: Emulate EPTP switching for the L1 hypervisor

When L2 uses vmfunc, L0 utilizes the associated vmexit to
emulate a switching of the ept pointer by reloading the
guest MMU.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Bandan Das <bsd@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c