aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-09-11 12:47:13 -0400
committerAvi Kivity <avi@qumranet.com>2008-10-15 04:15:27 -0400
commitef46f18ea010359f7536afd3f56a92c9c83ac09a (patch)
tree32b9c76c41368ba183087b5a7a4c405d72194e45 /arch/x86/kvm
parent4b92fe0c9d0376eb105c88d49b77595e8e5b1548 (diff)
KVM: x86 emulator: fix jmp r/m64 instruction
jmp r/m64 doesn't require the rex.w prefix to indicate the operand size is 64 bits. Set the Stack attribute (even though it doesn't involve the stack, really) to indicate this. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/x86_emulate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index 0630d2198763..0c120c4c9c0f 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ b/arch/x86/kvm/x86_emulate.c
@@ -288,7 +288,7 @@ static u16 group_table[] = {
288 [Group5*8] = 288 [Group5*8] =
289 DstMem | SrcNone | ModRM, DstMem | SrcNone | ModRM, 289 DstMem | SrcNone | ModRM, DstMem | SrcNone | ModRM,
290 SrcMem | ModRM | Stack, 0, 290 SrcMem | ModRM | Stack, 0,
291 SrcMem | ModRM, 0, SrcMem | ModRM | Stack, 0, 291 SrcMem | ModRM | Stack, 0, SrcMem | ModRM | Stack, 0,
292 [Group7*8] = 292 [Group7*8] =
293 0, 0, ModRM | SrcMem, ModRM | SrcMem, 293 0, 0, ModRM | SrcMem, ModRM | SrcMem,
294 SrcNone | ModRM | DstMem | Mov, 0, 294 SrcNone | ModRM | DstMem | Mov, 0,