mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-05 18:59:58 +00:00
KVM: x86 emulator: fix lea to really get the effective address
We never hit this, since there is currently no reason to emulate lea. Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
16286d082d
commit
f9b7aab35c
1 changed files with 1 additions and 1 deletions
|
@ -1512,7 +1512,7 @@ special_insn:
|
|||
case 0x88 ... 0x8b: /* mov */
|
||||
goto mov;
|
||||
case 0x8d: /* lea r16/r32, m */
|
||||
c->dst.val = c->modrm_val;
|
||||
c->dst.val = c->modrm_ea;
|
||||
break;
|
||||
case 0x8f: /* pop (sole member of Grp1a) */
|
||||
rc = emulate_grp1a(ctxt, ops);
|
||||
|
|
Loading…
Reference in a new issue