summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-04-09 17:40:03 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2012-04-17 01:36:16 +0200
commite59717550e5cf0e7159c5b7af1d1ead35fef49dd (patch)
tree4f19d160f437d89c036be4224d46c8a815ee8e42
parentKVM: x86 emulator: MMX support (diff)
downloadlinux-e59717550e5cf0e7159c5b7af1d1ead35fef49dd.tar.xz
linux-e59717550e5cf0e7159c5b7af1d1ead35fef49dd.zip
KVM: x86 emulator: implement MMX MOVQ (opcodes 0f 6f, 0f 7f)
Needed by some framebuffer drivers. See https://bugzilla.kernel.org/show_bug.cgi?id=42779 Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r--arch/x86/kvm/emulate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 0011b4ad44b5..d5729a91d08d 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -3488,7 +3488,7 @@ static struct opcode group11[] = {
};
static struct gprefix pfx_0f_6f_0f_7f = {
- N, I(Sse | Aligned, em_mov), N, I(Sse | Unaligned, em_mov),
+ I(Mmx, em_mov), I(Sse | Aligned, em_mov), N, I(Sse | Unaligned, em_mov),
};
static struct gprefix pfx_vmovntpx = {