commit | 4cbb6a6fd79adc18a0a27a99a1b3fde58f159489 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue May 06 14:03:29 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jun 09 14:05:57 2014 +0200 |
tree | 54d55bf63e36db99f7a3870d6115ec46568a2274 | |
parent | 108fe2fc68b325c26117bebfca8732dec7c9f037 [diff] |
KVM: emulate: fix harmless typo in MMX decoding It was using the wrong member of the union. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 2e8f0e6..b8dc78f 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c
@@ -1081,7 +1081,7 @@ if (ctxt->d & Mmx) { op->type = OP_MM; op->bytes = 8; - op->addr.xmm = ctxt->modrm_rm & 7; + op->addr.mm = ctxt->modrm_rm & 7; return rc; } fetch_register_operand(op);