aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-08-01 07:48:44 -0400
committerAvi Kivity <avi@redhat.com>2010-10-24 04:50:35 -0400
commitcecc9e39161898eb767a6b797e27a1660b3eb27e (patch)
tree3ff80edd03e204e337860df1fa32175fca9abf31
parent7f9b4b75be866de938a3094413a60554f7e66e4d (diff)
KVM: x86 emulator: mark mov cr and mov dr as 64-bit instructions in long mode
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--arch/x86/kvm/emulate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index b7adfcc2f74f..20752dc84f10 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2210,8 +2210,8 @@ static struct opcode twobyte_table[256] = {
2210 /* 0x10 - 0x1F */ 2210 /* 0x10 - 0x1F */
2211 N, N, N, N, N, N, N, N, D(ImplicitOps | ModRM), N, N, N, N, N, N, N, 2211 N, N, N, N, N, N, N, N, D(ImplicitOps | ModRM), N, N, N, N, N, N, N,
2212 /* 0x20 - 0x2F */ 2212 /* 0x20 - 0x2F */
2213 D(ModRM | ImplicitOps | Priv), D(ModRM | Priv), 2213 D(ModRM | ImplicitOps | Priv | Op3264), D(ModRM | Priv | Op3264),
2214 D(ModRM | ImplicitOps | Priv), D(ModRM | Priv), 2214 D(ModRM | ImplicitOps | Priv | Op3264), D(ModRM | Priv | Op3264),
2215 N, N, N, N, 2215 N, N, N, N,
2216 N, N, N, N, N, N, N, N, 2216 N, N, N, N, N, N, N, N,
2217 /* 0x30 - 0x3F */ 2217 /* 0x30 - 0x3F */