From: Nadav Amit Date: Mon, 26 Jan 2015 07:32:24 +0000 (+0200) Subject: KVM: x86: ARPL emulation can cause spurious exceptions X-Git-Tag: fixes-v4.0-rc1~113^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2276b5116e983277073623cd363954e41674c382;p=pandora-kernel.git 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 Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed