Commit 8b18bc37 authored by Avi Kivity's avatar Avi Kivity

KVM: x86 emulator: Re-add VendorSpecific tag to VMMCALL insn

VMMCALL needs the VendorSpecific tag so that #UD emulation
(called if a guest running on AMD was migrated to an Intel host)
is allowed to process the instruction.
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 09000adb
...@@ -2677,7 +2677,7 @@ static struct opcode group7_rm1[] = { ...@@ -2677,7 +2677,7 @@ static struct opcode group7_rm1[] = {
static struct opcode group7_rm3[] = { static struct opcode group7_rm3[] = {
DIP(SrcNone | ModRM | Prot | Priv, vmrun, check_svme_pa), DIP(SrcNone | ModRM | Prot | Priv, vmrun, check_svme_pa),
DIP(SrcNone | ModRM | Prot , vmmcall, check_svme), DIP(SrcNone | ModRM | Prot | VendorSpecific, vmmcall, check_svme),
DIP(SrcNone | ModRM | Prot | Priv, vmload, check_svme_pa), DIP(SrcNone | ModRM | Prot | Priv, vmload, check_svme_pa),
DIP(SrcNone | ModRM | Prot | Priv, vmsave, check_svme_pa), DIP(SrcNone | ModRM | Prot | Priv, vmsave, check_svme_pa),
DIP(SrcNone | ModRM | Prot | Priv, stgi, check_svme), DIP(SrcNone | ModRM | Prot | Priv, stgi, check_svme),
......
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