summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2011-07-30 00:29:20 -0700
committerBryan Cantrill <bryan@joyent.com>2011-07-30 00:29:20 -0700
commitd158c438dca2eb7ee01426c87daa76fc4ea2a335 (patch)
treebda81401dc662caaa1e74da44d2478219481431e
parent0957c523db74cbec1629533778bf34f1d0f43515 (diff)
downloadillumos-kvm-d158c438dca2eb7ee01426c87daa76fc4ea2a335.tar.gz
HVM-535 random core dumps seen from non-VMs when VMs are running
-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);