diff options
| author | 2019-12-09 12:05:17 -0800 | |
|---|---|---|
| committer | 2020-01-08 18:16:02 +0100 | |
| commit | 95145c25a78cc0a9d3cbc75708abde432310c5a1 (patch) | |
| tree | 5bdfd34337bfb6a0ef955f78d8d667cead2d4061 /scripts/Makefile.thinlto | |
| parent | KVM: x86: Fix potential put_fpu() w/o load_fpu() on MPX platform (diff) | |
KVM: x86: Add a WARN on TIF_NEED_FPU_LOAD in kvm_load_guest_fpu()
WARN once in kvm_load_guest_fpu() if TIF_NEED_FPU_LOAD is observed, as
that would mean that KVM is corrupting userspace's FPU by saving
unknown register state into arch.user_fpu. Add a comment to explain
why KVM WARNs on TIF_NEED_FPU_LOAD instead of implementing logic
similar to fpu__copy().
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
