diff options
author | Avi Kivity <avi@redhat.com> | 2010-08-01 12:19:22 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 08:50:39 (GMT) |
commit | 1f6f05800e2fdd815ac63e3264071d26d429f491 (patch) | |
tree | d8edcc2d0db0a709af6a6eaecae854448dcd3603 /arch/x86/kvm | |
parent | 342fc63095e2d676f209b202d41a3f670dd9bf08 (diff) | |
download | linux-fsl-qoriq-1f6f05800e2fdd815ac63e3264071d26d429f491.tar.xz |
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/x86/kvm')
-rw-r--r-- | arch/x86/kvm/emulate.c | 2 |
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; |