Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Drivers: hv: Make CONFIG_HYPERV bool

With CONFIG_HYPERV and CONFIG_HYPERV_VMBUS separated, change CONFIG_HYPERV
to bool from tristate. CONFIG_HYPERV now becomes the core Hyper-V
hypervisor support, such as hypercalls, clocks/timers, Confidential
Computing setup, PCI passthru, etc. that doesn't involve VMBus or VMBus
devices.

Signed-off-by: Mukesh Rathor <mrathor@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>

authored by

Mukesh Rathor and committed by
Wei Liu
e3ec97c3 94b04355

+3 -3
+1 -1
drivers/Makefile
··· 161 161 162 162 # Virtualization drivers 163 163 obj-$(CONFIG_VIRT_DRIVERS) += virt/ 164 - obj-$(subst m,y,$(CONFIG_HYPERV)) += hv/ 164 + obj-$(CONFIG_HYPERV) += hv/ 165 165 166 166 obj-$(CONFIG_PM_DEVFREQ) += devfreq/ 167 167 obj-$(CONFIG_EXTCON) += extcon/
+1 -1
drivers/hv/Kconfig
··· 3 3 menu "Microsoft Hyper-V guest support" 4 4 5 5 config HYPERV 6 - tristate "Microsoft Hyper-V client drivers" 6 + bool "Microsoft Hyper-V core hypervisor support" 7 7 depends on (X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \ 8 8 || (ARM64 && !CPU_BIG_ENDIAN) 9 9 select PARAVIRT
+1 -1
drivers/hv/Makefile
··· 16 16 mshv_root_hv_call.o mshv_portid_table.o 17 17 18 18 # Code that must be built-in 19 - obj-$(subst m,y,$(CONFIG_HYPERV)) += hv_common.o 19 + obj-$(CONFIG_HYPERV) += hv_common.o 20 20 obj-$(subst m,y,$(CONFIG_MSHV_ROOT)) += hv_proc.o mshv_common.o