diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-08 09:00:11 (GMT) |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-09 13:04:36 (GMT) |
commit | 5a5fbdc0e3f1159a734f1890da60fce70e98271d (patch) | |
tree | a8a235aa34fe752cbb20066e12651746697c6c0e /arch/x86/kvm/x86.c | |
parent | a87036add09283e6c4f4103a15c596c67b86ab86 (diff) | |
download | linux-5a5fbdc0e3f1159a734f1890da60fce70e98271d.tar.xz |
KVM: x86: remove eager_fpu field of struct kvm_vcpu_arch
It is now equal to use_eager_fpu(), which simply tests a cpufeature bit.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 60d6c00..bcbce0f 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -7329,7 +7329,7 @@ void kvm_put_guest_fpu(struct kvm_vcpu *vcpu) * Every 255 times fpu_counter rolls over to 0; a guest that uses * the FPU in bursts will revert to loading it on demand. */ - if (!vcpu->arch.eager_fpu) { + if (!use_eager_fpu()) { if (++vcpu->fpu_counter < 5) kvm_make_request(KVM_REQ_DEACTIVATE_FPU, vcpu); } |