summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-08-01 15:19:22 +0300
committerAvi Kivity <avi@redhat.com>2010-10-24 10:50:39 +0200
commit1f6f05800e2fdd815ac63e3264071d26d429f491 (patch)
treed8edcc2d0db0a709af6a6eaecae854448dcd3603 /arch
parent342fc63095e2d676f209b202d41a3f670dd9bf08 (diff)
downloadop-kernel-dev-1f6f05800e2fdd815ac63e3264071d26d429f491.zip
op-kernel-dev-1f6f05800e2fdd815ac63e3264071d26d429f491.tar.gz
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>
Diffstat (limited to 'arch')
-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 b8aa667..eda6941 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;
OpenPOWER on IntegriCloud