projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b18bc3
)
KVM: x86 emulator: Drop EFER.SVME requirement from VMMCALL
author
Avi Kivity
<avi@redhat.com>
Tue, 5 Apr 2011 13:25:20 +0000
(16:25 +0300)
committer
Avi Kivity
<avi@redhat.com>
Wed, 11 May 2011 11:57:04 +0000
(07:57 -0400)
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>
arch/x86/kvm/emulate.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/emulate.c
b/arch/x86/kvm/emulate.c
index 0e31b0c249e23b243df60016c0b2ebebd822397f..50bffb98ca825da4b9cd40c41d5acc34cf311596 100644
(file)
--- a/
arch/x86/kvm/emulate.c
+++ b/
arch/x86/kvm/emulate.c
@@
-2677,7
+2677,7
@@
static struct opcode group7_rm1[] = {
static struct opcode group7_rm3[] = {
DIP(SrcNone | ModRM | Prot | Priv, vmrun, check_svme_pa),
- DI
P(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),