]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "kvm: x86: Use task structs fpu field for user"
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 Jul 2019 11:31:27 +0000 (13:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2019 06:27:24 +0000 (08:27 +0200)
commitea0b4b0cf7f3f857cd9e81a209040af884b0aae1
treece8eeff7430539f4ca94a86b26462e61fceaa4d7
parent057ca792d81ae7424617136698282457bb791138
Revert "kvm: x86: Use task structs fpu field for user"

commit ec269475cba7bcdd1eb8fdf8e87f4c6c81a376fe upstream.

This reverts commit 240c35a3783ab9b3a0afaba0dde7291295680a6b
("kvm: x86: Use task structs fpu field for user", 2018-11-06).
The commit is broken and causes QEMU's FPU state to be destroyed
when KVM_RUN is preempted.

Fixes: 240c35a3783a ("kvm: x86: Use task structs fpu field for user")
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c