summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvm_x86.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm_x86.c b/kvm_x86.c
index df57226..a1ab497 100644
--- a/kvm_x86.c
+++ b/kvm_x86.c
@@ -4681,6 +4681,7 @@ kvm_put_guest_fpu(struct kvm_vcpu *vcpu)
vcpu->guest_fpu_loaded = 0;
kvm_fx_save(&vcpu->arch.guest_fx_image);
kvm_fx_restore(&vcpu->arch.host_fx_image);
+ fpdisable();
KVM_VCPU_KSTAT_INC(vcpu, kvmvs_fpu_reload);
set_bit(KVM_REQ_DEACTIVATE_FPU, &vcpu->requests);
KVM_TRACE1(fpu, int, 0);