From: Avi Kivity Date: Sun, 19 Jun 2011 16:21:11 +0000 (+0300) Subject: KVM: x86 emulator: fix %rip-relative addressing with immediate source operand X-Git-Tag: v3.0-rc6~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb16c348760ad2bc79b67b20aefac05529569ed7;p=pandora-kernel.git KVM: x86 emulator: fix %rip-relative addressing with immediate source operand %rip-relative addressing is relative to the first byte of the next instruction, so we need to add %rip only after we've fetched any immediate bytes. Based on original patch by Li Xin . Signed-off-by: Avi Kivity Acked-by: Li Xin Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed