Skip to content

Commit

Permalink
KVM: x86 emulator: Fix handling of VMMCALL instruction
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Amit Shah authored and Avi Kivity committed Dec 31, 2008
1 parent 9bf8ea4 commit fbce554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/x86_emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ static u32 group_table[] = {

static u32 group2_table[] = {
[Group7*8] =
SrcNone | ModRM, 0, 0, 0,
SrcNone | ModRM, 0, 0, SrcNone | ModRM,
SrcNone | ModRM | DstMem | Mov, 0,
SrcMem16 | ModRM | Mov, 0,
};
Expand Down

0 comments on commit fbce554

Please sign in to comment.