diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2023-12-05 11:36:26 +0100 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-12-07 09:34:57 -0800 |
commit | b4f69df0f65e97fec439130a0d0a8b9c7cc02df2 (patch) | |
tree | 2d7e60178bfbd974c6a7eb361b0a1fb10918b60f /scripts/selinux | |
parent | f97314626734deaef49564a429c6f8eee3846bd3 (diff) | |
download | linux-stable-b4f69df0f65e97fec439130a0d0a8b9c7cc02df2.tar.gz linux-stable-b4f69df0f65e97fec439130a0d0a8b9c7cc02df2.tar.bz2 linux-stable-b4f69df0f65e97fec439130a0d0a8b9c7cc02df2.zip |
KVM: x86: Make Hyper-V emulation optional
Hyper-V emulation in KVM is a fairly big chunk and in some cases it may be
desirable to not compile it in to reduce module sizes as well as the attack
surface. Introduce CONFIG_KVM_HYPERV option to make it possible.
Note, there's room for further nVMX/nSVM code optimizations when
!CONFIG_KVM_HYPERV, this will be done in follow-up patches.
Reorganize Makefile a bit so all CONFIG_HYPERV and CONFIG_KVM_HYPERV files
are grouped together.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Tested-by: Jeremi Piotrowski <jpiotrowski@linux.microsoft.com>
Link: https://lore.kernel.org/r/20231205103630.1391318-13-vkuznets@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/selinux')
0 files changed, 0 insertions, 0 deletions