diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-04 08:18:52 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-17 14:28:01 +0300 |
commit | bd7e5b0899a429445cc6e3037c13f8b5ae3be903 (patch) | |
tree | 794240cb7063b50c40a85070490ccf10bd8afcf8 /arch/x86/kvm/cpuid.c | |
parent | 460df4c1fc7c00829050c08d6368dc6e6beef307 (diff) | |
download | linux-bd7e5b0899a429445cc6e3037c13f8b5ae3be903.tar.xz |
KVM: x86: remove code for lazy FPU handling
The FPU is always active now when running KVM.
Reviewed-by: David Matlack <dmatlack@google.com>
Reviewed-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/cpuid.c')
-rw-r--r-- | arch/x86/kvm/cpuid.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index c0e2036217ad..1d155cc56629 100644 --- a/arch/x86/kvm/cpuid.c +++ b/arch/x86/kvm/cpuid.c @@ -123,8 +123,6 @@ int kvm_update_cpuid(struct kvm_vcpu *vcpu) if (best && (best->eax & (F(XSAVES) | F(XSAVEC)))) best->ebx = xstate_required_size(vcpu->arch.xcr0, true); - kvm_x86_ops->fpu_activate(vcpu); - /* * The existing code assumes virtual address is 48-bit in the canonical * address checks; exit if it is ever changed. |