diff options
author | Avi Kivity <avi@redhat.com> | 2011-04-05 09:25:20 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-11 07:57:04 -0400 |
commit | bfeed29d6d3ebd5f31253d2c067e4e6c4aeb376b (patch) | |
tree | b39ef2b2e736b78d8a0359374a84028be19b2630 /arch/x86/kvm/emulate.c | |
parent | 8b18bc378224b4f195145b407b95768a289497e3 (diff) |
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>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
-rw-r--r-- | arch/x86/kvm/emulate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 0e31b0c249e2..50bffb98ca82 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c | |||
@@ -2677,7 +2677,7 @@ static struct opcode group7_rm1[] = { | |||
2677 | 2677 | ||
2678 | static struct opcode group7_rm3[] = { | 2678 | static struct opcode group7_rm3[] = { |
2679 | DIP(SrcNone | ModRM | Prot | Priv, vmrun, check_svme_pa), | 2679 | DIP(SrcNone | ModRM | Prot | Priv, vmrun, check_svme_pa), |
2680 | DIP(SrcNone | ModRM | Prot | VendorSpecific, vmmcall, check_svme), | 2680 | DI(SrcNone | ModRM | Prot | VendorSpecific, vmmcall), |
2681 | DIP(SrcNone | ModRM | Prot | Priv, vmload, check_svme_pa), | 2681 | DIP(SrcNone | ModRM | Prot | Priv, vmload, check_svme_pa), |
2682 | DIP(SrcNone | ModRM | Prot | Priv, vmsave, check_svme_pa), | 2682 | DIP(SrcNone | ModRM | Prot | Priv, vmsave, check_svme_pa), |
2683 | DIP(SrcNone | ModRM | Prot | Priv, stgi, check_svme), | 2683 | DIP(SrcNone | ModRM | Prot | Priv, stgi, check_svme), |