[PATCH v2] coco/tdx-host: add Kconfig description

From: Dmitry Voytik

Date: Mon Oct 12 2026 - 13:59:35 EST


Fix the issue when the driver always gets compiled as a module.
How to reproduce the issue:
make mrproper
make defconfig
./scripts/config \
-e CMA \
-e ALLOC \
-e KVM \
-e KVM_INTEL \
-e KVM_INTEL_TDX \
-e INTEL_TDX_HOST \
-e TDX_HOST_SERVICES \
--refresh
make olddefconfig
make mod2yesconfig
grep '=m$' .config

returns only this driver as module:
CONFIG_TDX_HOST_SERVICES=m

Signed-off-by: Dmitry Voytik <voytikd@xxxxxxxxx>
---
v2:
* changed per Kiryl's suggestion:
https://lore.kernel.org/lkml/aszHlWi_aLIh8r9F@thinkstation/
v1:
*https://lore.kernel.org/lkml/20261003223237.513456-1-voytikd@xxxxxxxxx/
---
---
drivers/virt/coco/tdx-host/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/virt/coco/tdx-host/Kconfig b/drivers/virt/coco/tdx-host/Kconfig
index 57d0c01a4357..fe018e00822b 100644
--- a/drivers/virt/coco/tdx-host/Kconfig
+++ b/drivers/virt/coco/tdx-host/Kconfig
@@ -3,4 +3,4 @@ config TDX_HOST_SERVICES
depends on INTEL_TDX_HOST
select FW_LOADER
select FW_UPLOAD
- default m
+ default KVM_INTEL
--
2.56.0