From: Avi Kivity Date: Sun, 1 Aug 2010 12:19:22 +0000 (+0300) Subject: KVM: x86 emulator: change invlpg emulation to use src.mem.addr X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1f6f05800e2fdd815ac63e3264071d26d429f491;p=linux-beck.git 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 --- diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index b8aa667b52bd..eda69411d050 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -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;