aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorSean Christopherson2019-12-09 12:05:17 -0800
committerPaolo Bonzini2020-01-08 18:16:02 +0100
commit95145c25a78cc0a9d3cbc75708abde432310c5a1 (patch)
tree5bdfd34337bfb6a0ef955f78d8d667cead2d4061 /include/linux/kvm_host.h
parentf958bd2314d117f8c29f4821401bc1925bc2e5ef (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 'include/linux/kvm_host.h')
0 files changed, 0 insertions, 0 deletions