KVM: x86 emulator: change invlpg emulation to use src.mem.addr
Instead of using modrm_ea, which will soon be gone. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
342fc63095
commit
1f6f05800e
1 changed files with 1 additions and 1 deletions
|
@ -3206,7 +3206,7 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt)
|
|||
emulate_ud(ctxt);
|
||||
goto done;
|
||||
case 7: /* invlpg*/
|
||||
emulate_invlpg(ctxt->vcpu, c->modrm_ea);
|
||||
emulate_invlpg(ctxt->vcpu, c->src.addr.mem);
|
||||
/* Disable writeback. */
|
||||
c->dst.type = OP_NONE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue