]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Drivers: hv: Add CONFIG_HYPERV_VMBUS option
authorMukesh Rathor <mrathor@linux.microsoft.com>
Mon, 15 Sep 2025 23:46:03 +0000 (16:46 -0700)
committerWei Liu <wei.liu@kernel.org>
Wed, 1 Oct 2025 00:00:42 +0000 (00:00 +0000)
commit94b04355e6397a0a70b69c2571fa5c7d9990b835
treec8434b608203904829e77067228d12504e94f63d
parenta3a4d6cb0b968e5d842e79f5dd9d7e07670e9b8a
Drivers: hv: Add CONFIG_HYPERV_VMBUS option

At present VMBus driver is hinged off of CONFIG_HYPERV which entails
lot of builtin code and encompasses too much. It's not always clear
what depends on builtin hv code and what depends on VMBus. Setting
CONFIG_HYPERV as a module and fudging the Makefile to switch to builtin
adds even more confusion. VMBus is an independent module and should have
its own config option. Also, there are scenarios like baremetal dom0/root
where support is built in with CONFIG_HYPERV but without VMBus. Lastly,
there are more features coming down that use CONFIG_HYPERV and add more
dependencies on it.

So, create a fine grained HYPERV_VMBUS option and update Kconfigs for
dependency on VMBus.

Signed-off-by: Mukesh Rathor <mrathor@linux.microsoft.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com> # drivers/pci
Signed-off-by: Wei Liu <wei.liu@kernel.org>
12 files changed:
drivers/gpu/drm/Kconfig
drivers/hid/Kconfig
drivers/hv/Kconfig
drivers/hv/Makefile
drivers/input/serio/Kconfig
drivers/net/hyperv/Kconfig
drivers/pci/Kconfig
drivers/scsi/Kconfig
drivers/uio/Kconfig
drivers/video/fbdev/Kconfig
include/asm-generic/mshyperv.h
net/vmw_vsock/Kconfig