From: Nadav Amit Date: Sun, 2 Nov 2014 09:54:41 +0000 (+0200) Subject: KVM: x86: decode_modrm does not regard modrm correctly X-Git-Tag: omap-for-v3.19/fixes-rc1~43^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b38ab877e5bd6c6564f2f23f25e0c3d4768728a;p=pandora-kernel.git KVM: x86: decode_modrm does not regard modrm correctly In one occassion, decode_modrm uses the rm field after it is extended with REX.B to determine the addressing mode. Doing so causes it not to read the offset for rip-relative addressing with REX.B=1. This patch moves the fetch where we already mask REX.B away instead. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed