aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86_emulate.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2008-12-04 06:11:40 -0500
committerAvi Kivity <avi@redhat.com>2008-12-31 09:55:43 -0500
commitfbce554e940a983d005e29849636d0ef54b3eb18 (patch)
tree6fc8c515cdcff55c00252d0cd19fdee4d47bec9d /arch/x86/kvm/x86_emulate.c
parent9bf8ea42fe22d7d1c48044148fa658cb9083d49c (diff)
KVM: x86 emulator: Fix handling of VMMCALL instruction
The VMMCALL instruction doesn't get recognised and isn't processed by the emulator. This is seen on an Intel host that tries to execute the VMMCALL instruction after a guest live migrates from an AMD host. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86_emulate.c')
-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 219dc3110bf1..d174db7a3370 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ b/arch/x86/kvm/x86_emulate.c
@@ -311,7 +311,7 @@ static u32 group_table[] = {
311 311
312static u32 group2_table[] = { 312static u32 group2_table[] = {
313 [Group7*8] = 313 [Group7*8] =
314 SrcNone | ModRM, 0, 0, 0, 314 SrcNone | ModRM, 0, 0, SrcNone | ModRM,
315 SrcNone | ModRM | DstMem | Mov, 0, 315 SrcNone | ModRM | DstMem | Mov, 0,
316 SrcMem16 | ModRM | Mov, 0, 316 SrcMem16 | ModRM | Mov, 0,
317}; 317};