projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e826ec9
)
KVM: x86 emulator: fix the saving of of the eip value
author
Izik Eidus
<izike@qumranet.com>
Sun, 11 Nov 2007 12:46:34 +0000
(14:46 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Tue, 27 Nov 2007 13:10:45 +0000
(15:10 +0200)
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 <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/x86_emulate.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/kvm/x86_emulate.c
b/drivers/kvm/x86_emulate.c
index a1a9c9be39b3a549a6ca35d7ae13dfab6d0ef96a..6c1413f9e9c375e7d33daa3f67289654a203bb87 100644
(file)
--- 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 */