]> xenbits.xensource.com Git - xen.git/commit
x86emul: suppress memory writes after faulting FPU insns
authorJan Beulich <jbeulich@suse.com>
Tue, 17 Jan 2017 09:31:39 +0000 (10:31 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 17 Jan 2017 09:31:39 +0000 (10:31 +0100)
commit48965ec2c624d15b0e10ca21da379f45c77f35c4
tree077c6ed2dd868e6c6fb6bf9fdbcae51a6f86b123
parentc33b5f013db3460c07c017dea45a1c010c3dacc0
x86emul: suppress memory writes after faulting FPU insns

FPU insns writing to memory must not touch memory if they latch #MF (to
be delivered on the next waiting FPU insn). Note that inspecting FSW.ES
needs to be avoided for all FNST* insns, as they don't raise exceptions
themselves, but may instead be invoked with the bit already set.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c