Commit fbce554e authored by Amit Shah's avatar Amit Shah Committed by Avi Kivity

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: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 9bf8ea42
...@@ -311,7 +311,7 @@ static u32 group_table[] = { ...@@ -311,7 +311,7 @@ static u32 group_table[] = {
static u32 group2_table[] = { static u32 group2_table[] = {
[Group7*8] = [Group7*8] =
SrcNone | ModRM, 0, 0, 0, SrcNone | ModRM, 0, 0, SrcNone | ModRM,
SrcNone | ModRM | DstMem | Mov, 0, SrcNone | ModRM | DstMem | Mov, 0,
SrcMem16 | ModRM | Mov, 0, SrcMem16 | ModRM | Mov, 0,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment