aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-08-01 08:19:22 -0400
committerAvi Kivity <avi@redhat.com>2010-10-24 04:50:39 -0400
commit1f6f05800e2fdd815ac63e3264071d26d429f491 (patch)
treed8edcc2d0db0a709af6a6eaecae854448dcd3603
parent342fc63095e2d676f209b202d41a3f670dd9bf08 (diff)
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>
-rw-r--r--arch/x86/kvm/emulate.c2
1 files changed, 1 insertions, 1 deletions
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:
3206 emulate_ud(ctxt); 3206 emulate_ud(ctxt);
3207 goto done; 3207 goto done;
3208 case 7: /* invlpg*/ 3208 case 7: /* invlpg*/
3209 emulate_invlpg(ctxt->vcpu, c->modrm_ea); 3209 emulate_invlpg(ctxt->vcpu, c->src.addr.mem);
3210 /* Disable writeback. */ 3210 /* Disable writeback. */
3211 c->dst.type = OP_NONE; 3211 c->dst.type = OP_NONE;
3212 break; 3212 break;