summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-08-01 15:48:44 +0400
committerAvi Kivity <avi@redhat.com>2010-10-24 12:50:35 +0400
commitcecc9e39161898eb767a6b797e27a1660b3eb27e (patch)
tree3ff80edd03e204e337860df1fa32175fca9abf31
parent7f9b4b75be866de938a3094413a60554f7e66e4d (diff)
downloadlinux-cecc9e39161898eb767a6b797e27a1660b3eb27e.tar.xz
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] = {
/* 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 */