KVM: x86 emulator: mark mov cr and mov dr as 64-bit instructions in long mode
authorAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 11:48:44 +0000 (14:48 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:35 +0000 (10:50 +0200)
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c

index b7adfcc..20752dc 100644 (file)
@@ -2210,8 +2210,8 @@ static struct opcode twobyte_table[256] = {
        /* 0x10 - 0x1F */
        N, N, N, N, N, N, N, N, D(ImplicitOps | ModRM), N, N, N, N, N, N, N,
        /* 0x20 - 0x2F */
-       D(ModRM | ImplicitOps | Priv), D(ModRM | Priv),
-       D(ModRM | ImplicitOps | Priv), D(ModRM | Priv),
+       D(ModRM | ImplicitOps | Priv | Op3264), D(ModRM | Priv | Op3264),
+       D(ModRM | ImplicitOps | Priv | Op3264), D(ModRM | Priv | Op3264),
        N, N, N, N,
        N, N, N, N, N, N, N, N,
        /* 0x30 - 0x3F */