From: Izik Eidus Date: Sun, 11 Nov 2007 12:46:34 +0000 (+0200) Subject: KVM: x86 emulator: fix the saving of of the eip value X-Git-Tag: v2.6.24-rc4~86^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a738e20a11b44219aa83073d625ff1a7004e463;p=platform%2Fkernel%2Flinux-3.10.git KVM: x86 emulator: fix the saving of of the eip value this make sure that no matter what is the operand size, all the value of the eip will be saved Signed-off-by: Izik Eidus Signed-off-by: Avi Kivity --- diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index a1a9c9b..6c1413f 100644 --- a/drivers/kvm/x86_emulate.c +++ b/drivers/kvm/x86_emulate.c @@ -1358,6 +1358,7 @@ special_insn: } src.val = (unsigned long) _eip; JMP_REL(rel); + op_bytes = ad_bytes; goto push; } case 0xe9: /* jmp rel */