aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 27af6e353b06..3b90298fb980 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -5292,6 +5292,7 @@ void kvm_load_guest_fpu(struct kvm_vcpu *vcpu)
5292 vcpu->guest_fpu_loaded = 1; 5292 vcpu->guest_fpu_loaded = 1;
5293 kvm_fx_save(&vcpu->arch.host_fx_image); 5293 kvm_fx_save(&vcpu->arch.host_fx_image);
5294 kvm_fx_restore(&vcpu->arch.guest_fx_image); 5294 kvm_fx_restore(&vcpu->arch.guest_fx_image);
5295 trace_kvm_fpu(1);
5295} 5296}
5296 5297
5297void kvm_put_guest_fpu(struct kvm_vcpu *vcpu) 5298void kvm_put_guest_fpu(struct kvm_vcpu *vcpu)
@@ -5304,6 +5305,7 @@ void kvm_put_guest_fpu(struct kvm_vcpu *vcpu)
5304 kvm_fx_restore(&vcpu->arch.host_fx_image); 5305 kvm_fx_restore(&vcpu->arch.host_fx_image);
5305 ++vcpu->stat.fpu_reload; 5306 ++vcpu->stat.fpu_reload;
5306 set_bit(KVM_REQ_DEACTIVATE_FPU, &vcpu->requests); 5307 set_bit(KVM_REQ_DEACTIVATE_FPU, &vcpu->requests);
5308 trace_kvm_fpu(0);
5307} 5309}
5308 5310
5309void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu) 5311void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu)