From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH 0/2] Emulate MMX MOVQ Date: Thu, 22 Mar 2012 12:56:50 +0200 Message-ID: <1332413812-2967-1-git-send-email-avi@redhat.com> To: kvm@vger.kernel.org, Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:11480 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751089Ab2CVK5D (ORCPT ); Thu, 22 Mar 2012 06:57:03 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2MAv2Ch008379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 22 Mar 2012 06:57:02 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q2MAv107004437 for ; Thu, 22 Mar 2012 06:57:02 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This patchset emulates two instructions: MOVQ mm, mm/m64 MOVQ mm/m64, mm Needed by https://bugzilla.kernel.org/show_bug.cgi?id=42779. Changes from v1: - fix spurious traps propgated into the guest - delay loading mmx register state until after we're sure it won't trap Avi Kivity (2): KVM: x86 emulator: MMX support KVM: x86 emulator: implement MMX MOVQ (opcodes 0f 6f, 0f 7f) arch/x86/include/asm/kvm_emulate.h | 4 +- arch/x86/kvm/emulate.c | 111 ++++++++++++++++++++++++++++++++++-- 2 files changed, 109 insertions(+), 6 deletions(-) -- 1.7.9