KVM: SVM: Lazy fpu with npt
authorAvi Kivity <avi@redhat.com>
Sun, 10 Jan 2010 10:19:20 +0000 (12:19 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:51 +0000 (12:35 -0300)
commit4610c83cdc8bff04f2f22883749f716b1ccc502f
treec88be0b18b3163964dca22a0b7c20bd0c78c6914
parentd225157bc6a442b1214882635fbf287d7d0e8133
KVM: SVM: Lazy fpu with npt

Now that we can allow the guest to play with cr0 when the fpu is loaded,
we can enable lazy fpu when npt is in use.

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