KVM: vmx: Enable VMFUNCs
authorBandan Das <bsd@redhat.com>
Thu, 3 Aug 2017 19:54:41 +0000 (15:54 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 Aug 2017 13:29:20 +0000 (15:29 +0200)
commit2a499e49c2ecc4ce5e11cc876a194fb16f05a66b
tree7b26cd9cdf7a518879af0802c3f80aea6f6bc326
parent53a70daf3cfd4561fec7f0fe65e4377bebc1f55c
KVM: vmx: Enable VMFUNCs

Enable VMFUNC in the secondary execution controls.  This simplifies the
changes necessary to expose it to nested hypervisors.  VMFUNCs still
cause #UD when invoked.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Bandan Das <bsd@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c