diff options
author | Anthoine Bourgeois <bourgeois@bertin.fr> | 2013-11-13 11:45:37 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-11-13 18:46:54 +0100 |
commit | e504c9098ed6acd9e1079c5e10e4910724ad429f (patch) | |
tree | 57f2107cf25e8fb660042616fdd9022a52359855 /kernel/hung_task.c | |
parent | ede582224231e64e41af0f89117a302580a2da2e (diff) | |
download | op-kernel-dev-e504c9098ed6acd9e1079c5e10e4910724ad429f.zip op-kernel-dev-e504c9098ed6acd9e1079c5e10e4910724ad429f.tar.gz |
kvm, vmx: Fix lazy FPU on nested guest
If a nested guest does a NM fault but its CR0 doesn't contain the TS
flag (because it was already cleared by the guest with L1 aid) then we
have to activate FPU ourselves in L0 and then continue to L2. If TS flag
is set then we fallback on the previous behavior, forward the fault to
L1 if it asked for.
Signed-off-by: Anthoine Bourgeois <bourgeois@bertin.fr>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel/hung_task.c')
0 files changed, 0 insertions, 0 deletions