mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 02:01:29 +00:00
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
@ -3206,7 +3206,7 @@ twobyte_insn:
|
||||
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 New Issue
Block a user