x86/HVM: account for fully eager FPU mode in emulation
authorJan Beulich <jbeulich@suse.com>
Fri, 15 Jun 2018 09:49:06 +0000 (11:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 15 Jun 2018 09:49:06 +0000 (11:49 +0200)
commite23d2234e08872ac1c719f3e338994581483440f
tree34811a70205ad67770b46dc0cda04eff3dcbda9e
parent243435bf67e8159495194f623b9e4d8c90140384
x86/HVM: account for fully eager FPU mode in emulation

In fully eager mode we must not clear fpu_dirtied, set CR0.TS, or invoke
the fpu_leave() hook. Instead do what the mode's name says: Restore
state right away.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/hvm/emulate.c