]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39a4a9ab24121693f2c7434e002da58882a085e6
tree7b26cd9cdf7a518879af0802c3f80aea6f6bc326
parent2fedae3615231401e3b4609fdb1384b4a14ec9c8
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