Re: [kvm-devel] [PATCH] KVM: SVM: Fix FPU leak and re-enable lazy FPU switching

2007-11-20 Thread Avi Kivity
Amit Shah wrote: > The clts code didn't use set_cr0 properly, so our lazy FPU > processing wasn't being done by the clts instruction at all. > > This fixes all the FPU leaks, so re-enabling lazy FPU > optimization. > Applied, thanks. -- error compiling committee.c: too many arguments to func

[kvm-devel] [PATCH] KVM: SVM: Fix FPU leak and re-enable lazy FPU switching

2007-11-19 Thread Amit Shah
The clts code didn't use set_cr0 properly, so our lazy FPU processing wasn't being done by the clts instruction at all. This fixes all the FPU leaks, so re-enabling lazy FPU optimization. Signed-off-by: Amit Shah <[EMAIL PROTECTED]> --- drivers/kvm/svm.c |2 -- drivers/kvm/x86.c |3 +--