commit | bdc907222c5e4edd848da0c031deb55b59f1cf9a | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue May 06 14:03:29 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 19 12:52:07 2014 +0200 |
tree | 8e3db8028e305fe84b459e8f63295f2119b07f41 | |
parent | 968889771749d8e730d794deed2bd2e363a98a54 [diff] [blame] |
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 ea976e4..8a1796b 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c
@@ -1093,7 +1093,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);