summaryrefslogtreecommitdiffstats
path: root/scripts/unifdef.c
diff options
context:
space:
mode:
authorNadav Amit <namit@cs.technion.ac.il>2015-01-26 09:32:24 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-01-26 12:14:49 +0100
commit2276b5116e983277073623cd363954e41674c382 (patch)
tree6287c2874c42cc29984d6b8807ccb06e5023c0a5 /scripts/unifdef.c
parent801806d956c2c198b9fdd3afd156a536f9a3a139 (diff)
downloadlinux-2276b5116e983277073623cd363954e41674c382.tar.bz2
KVM: x86: ARPL emulation can cause spurious exceptions
ARPL and MOVSXD are encoded the same and their execution depends on the execution mode. The operand sizes of each instruction are different. Currently, ARPL is detected too late, after the decoding was already done, and therefore may result in spurious exception (instead of failed emulation). Introduce a group to the emulator to handle instructions according to execution mode (32/64 bits). Note: in order not to make changes that may affect performance, the new ModeDual can only be applied to instructions with ModRM. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions