]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Make lazy FPU switching work with nested svm
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 19 Feb 2010 15:23:08 +0000 (16:23 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:34:28 +0000 (12:34 +0300)
commit95b0a350da068a039631d6cc11bbcdfdc4a81621
treeea64df4f210caf8b0e375932a422174f95f658b8
parentd9e651b14eda77b97f505c1b49809ad67070059c
KVM: SVM: Make lazy FPU switching work with nested svm

The new lazy fpu switching code may disable cr0 intercepts
when running nested. This is a bug because the nested
hypervisor may still want to intercept cr0 which will break
in this situation. This patch fixes this issue and makes
lazy fpu switching working with nested svm.

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