Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f6f0580 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: x86 emulator: change invlpg emulation to use src.mem.addr



Instead of using modrm_ea, which will soon be gone.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 342fc630
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;