[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <76f23df80480e3587f6f9988f5503086b57dcbd7.1646422845.git.isaku.yamahata@intel.com>
Date: Fri, 4 Mar 2022 11:48:18 -0800
From: isaku.yamahata@...el.com
To: kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: isaku.yamahata@...el.com, isaku.yamahata@...il.com,
Paolo Bonzini <pbonzini@...hat.com>,
Jim Mattson <jmattson@...gle.com>, erdemaktas@...gle.com,
Connor Kuehl <ckuehl@...hat.com>,
Sean Christopherson <seanjc@...gle.com>
Subject: [RFC PATCH v5 002/104] x86/virt/tdx: export platform_has_tdx
From: Isaku Yamahata <isaku.yamahata@...el.com>
TDX KVM uses platform_has_tdx() via hardware_setup().
Signed-off-by: Isaku Yamahata <isaku.yamahata@...el.com>
---
arch/x86/virt/vmx/tdx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/virt/vmx/tdx.c b/arch/x86/virt/vmx/tdx.c
index 60d58b2daabd..da4d1df95503 100644
--- a/arch/x86/virt/vmx/tdx.c
+++ b/arch/x86/virt/vmx/tdx.c
@@ -1630,3 +1630,4 @@ bool platform_has_tdx(void)
{
return seamrr_enabled() && tdx_keyid_sufficient();
}
+EXPORT_SYMBOL_GPL(platform_has_tdx);
--
2.25.1
Powered by blists - more mailing lists