commit | 16bebefe29d8495c89961a9d57ea1947547a5211 | [log] [tgz] |
---|---|---|
author | Nadav Amit <namit@cs.technion.ac.il> | Thu Dec 25 02:52:18 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jan 08 22:48:05 2015 +0100 |
tree | 9d5c2504dbacf160c8c0e01bdaa8a522e21b1975 | |
parent | 3313bc4ee83c4e2870d8e83800c6064b0d215679 [diff] |
KVM: x86: fnstcw and fnstsw may cause spurious exception Since the operand size of fnstcw and fnstsw is updated during the execution, the emulation may cause spurious exceptions as it reads the memory beforehand. Marking these instructions as Mov (since the previous value is ignored) and DstMem16 to simplify the setting of operand size. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>