diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-06 08:03:29 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-19 06:52:07 -0400 |
commit | bdc907222c5e4edd848da0c031deb55b59f1cf9a (patch) | |
tree | 8e3db8028e305fe84b459e8f63295f2119b07f41 | |
parent | 968889771749d8e730d794deed2bd2e363a98a54 (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>
-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 ea976e478dca..8a1796b1eef2 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c | |||
@@ -1093,7 +1093,7 @@ static int decode_modrm(struct x86_emulate_ctxt *ctxt, | |||
1093 | if (ctxt->d & Mmx) { | 1093 | if (ctxt->d & Mmx) { |
1094 | op->type = OP_MM; | 1094 | op->type = OP_MM; |
1095 | op->bytes = 8; | 1095 | op->bytes = 8; |
1096 | op->addr.xmm = ctxt->modrm_rm & 7; | 1096 | op->addr.mm = ctxt->modrm_rm & 7; |
1097 | return rc; | 1097 | return rc; |
1098 | } | 1098 | } |
1099 | fetch_register_operand(op); | 1099 | fetch_register_operand(op); |