]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kvm/emulate.c
KVM: x86 emulator: change invlpg emulation to use src.mem.addr
[~andy/linux] / arch / x86 / kvm / emulate.c
index b8aa667b52bd0f2f7d03ff09a5bf189c5c9de429..eda69411d050c501695fcdb36773ca200e0ebabd 100644 (file)
@@ -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;