From: Avi Kivity Date: Mon, 11 Jun 2012 16:40:15 +0000 (+0300) Subject: KVM: x86 emulator: fix byte-sized MOVZX/MOVSX X-Git-Tag: v3.6-rc1~124^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=361cad2b50a2c92b91b6f568db860fabad3bf149;p=pandora-kernel.git KVM: x86 emulator: fix byte-sized MOVZX/MOVSX Commit 2adb5ad9fe1 removed ByteOp from MOVZX/MOVSX, replacing them by SrcMem8, but neglected to fix the dependency in the emulation code on ByteOp. This caused the instruction not to have any effect in some circumstances. Fix by replacing the check for ByteOp with the equivalent src.op_bytes == 1. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed