]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc76bc711e3d0ed0e568c44693e10f366384371ab
treeec4d4c166367db8eeb7e3deb6d203f291b10cf18
parent709c832042f1056cb8c0a55fb7af6395f8ad1038
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