From: Wei Yongjun Date: Mon, 9 Aug 2010 03:34:56 +0000 (+0800) Subject: KVM: x86 emulator: fix negative bit offset BitOp instruction emulation X-Git-Tag: v2.6.37-rc1~142^2~214 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c843c4857e2a818d1d951d87c40ee2cf5c1be8;p=pandora-kernel.git KVM: x86 emulator: fix negative bit offset BitOp instruction emulation If bit offset operands is a negative number, BitOp instruction will return wrong value. This patch fix it. Signed-off-by: Wei Yongjun Reviewed-by: Paolo Bonzini Signed-off-by: Avi Kivity --- Reading git-diff-tree failed