Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdc90722 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: emulate: fix harmless typo in MMX decoding



It was using the wrong member of the union.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 96888977
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1093,7 +1093,7 @@ static int decode_modrm(struct x86_emulate_ctxt *ctxt,
		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);