Skip to content

Commit

Permalink
KVM: x86 emulator: Drop EFER.SVME requirement from VMMCALL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Avi Kivity committed May 11, 2011
1 parent 8b18bc3 commit bfeed29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit bfeed29

Please sign in to comment.