KVM: nEPT: reset PDPTR register cache on nested vmentry emulation
authorGleb Natapov <gleb@redhat.com>
Mon, 2 Sep 2013 12:25:28 +0000 (15:25 +0300)
committerGleb Natapov <gleb@redhat.com>
Tue, 17 Sep 2013 09:52:42 +0000 (12:52 +0300)
commit72f857950f6f19cba42a9ded078bbc99f10aa667
treeec4d4c166367db8eeb7e3deb6d203f291b10cf18
parentba6a3541545542721ce821d1e7e5ce35752e6fdf
KVM: nEPT: reset PDPTR register cache on nested vmentry emulation

After nested vmentry stale cache can be used to reload L2 PDPTR pointers
which will cause L2 guest to fail. Fix it by invalidating cache on nested
vmentry emulation.

https://bugzilla.kernel.org/show_bug.cgi?id=60830

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c