[RFC PATCH v2 01/69] KVM: TDX: introduce config for KVM TDX support

From: isaku . yamahata
Date: Fri Jul 02 2021 - 18:07:15 EST


From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>

Add new config KVM_INTEL_TDX for KVM TDX support. This patch introduce
a config only. Later patch will implement feature depends on it.

Signed-off-by: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>
---
arch/x86/kvm/Kconfig | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index f6b93a35ce14..66622901bf7d 100644
--- a/arch/x86/kvm/Kconfig
+++ b/arch/x86/kvm/Kconfig
@@ -96,6 +96,17 @@ config X86_SGX_KVM

If unsure, say N.

+config KVM_INTEL_TDX
+ bool "Trusted Domain eXtensions(TDX) Host support"
+ depends on KVM_INTEL && X86_64
+ select FW_LOADER
+
+ help
+ Extends KVM on Intel processors to support Trusted Domain Extensions.
+ Intel Trust Domain eXtensions(TDX) is an architecture based on CPU
+ instructions and TDX module to deploy hardware-isolated virtual
+ machines(VMs) which is called Trust Domains(TDs).
+
config KVM_AMD
tristate "KVM for AMD processors support"
depends on KVM
--
2.25.1