]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: VMX: Fix cr8 exiting control clobbering by EPT
authorGleb Natapov <gleb@redhat.com>
Thu, 27 Aug 2009 15:41:30 +0000 (18:41 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Sep 2009 15:44:08 +0000 (08:44 -0700)
commit82093a268b8f16364b29069ae6cff79e13ba7e9d
tree1b55928c287297fd3c634ad96b7a34708c42283d
parentbe45e259c6948bed4482d9b9de32236078db2443
KVM: VMX: Fix cr8 exiting control clobbering by EPT

commit 5fff7d270bd6a4759b6d663741b729cdee370257 upstream.

Don't call adjust_vmx_controls() two times for the same control.
It restores options that were dropped earlier.  This loses us the cr8
exit control, which causes a massive performance regression Windows x64.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/vmx.c