forked from luck/tmp_suning_uos_patched
KVM: x86 emulator: Drop EFER.SVME requirement from VMMCALL
VMMCALL requires EFER.SVME to be enabled in the host, not in the guest, which is what check_svme() checks. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
8b18bc3782
commit
bfeed29d6d
|
@ -2677,7 +2677,7 @@ static struct opcode group7_rm1[] = {
|
|||
|
||||
static struct opcode group7_rm3[] = {
|
||||
DIP(SrcNone | ModRM | Prot | Priv, vmrun, check_svme_pa),
|
||||
DIP(SrcNone | ModRM | Prot | VendorSpecific, vmmcall, check_svme),
|
||||
DI(SrcNone | ModRM | Prot | VendorSpecific, vmmcall),
|
||||
DIP(SrcNone | ModRM | Prot | Priv, vmload, check_svme_pa),
|
||||
DIP(SrcNone | ModRM | Prot | Priv, vmsave, check_svme_pa),
|
||||
DIP(SrcNone | ModRM | Prot | Priv, stgi, check_svme),
|
||||
|
|
Loading…
Reference in New Issue
Block a user