]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Restore unconditional cr0 intercept under npt
authorAvi Kivity <avi@redhat.com>
Sun, 10 Jan 2010 10:14:04 +0000 (12:14 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:51 +0000 (12:35 -0300)
commit55cb4e31136601d3e3a6c01d42fd3473012ed903
tree11f035e747b6e41c227c0ea64bd07800500d296f
parent11017ecdad171d23db48d6f106600585154d15d9
KVM: SVM: Restore unconditional cr0 intercept under npt

Currently we don't intercept cr0 at all when npt is enabled.  This improves
performance but requires us to activate the fpu at all times.

Remove this behaviour in preparation for adding selective cr0 intercepts.

Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c