From 4661f4bc3827c6485138346041e32dbf5b05c58c Mon Sep 17 00:00:00 2001 From: "Wang, Arron" Date: Fri, 12 Jan 2024 10:52:28 +0800 Subject: [PATCH] enable tdx by default for 6.2 kernel Signed-off-by: Wang, Arron --- attestation-agent/attester/src/tdx/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attestation-agent/attester/src/tdx/mod.rs b/attestation-agent/attester/src/tdx/mod.rs index b5b47e777..3e7370ce5 100644 --- a/attestation-agent/attester/src/tdx/mod.rs +++ b/attestation-agent/attester/src/tdx/mod.rs @@ -13,7 +13,7 @@ use tdx_attest_rs; const CCEL_PATH: &str = "/sys/firmware/acpi/tables/data/CCEL"; pub fn detect_platform() -> bool { - Path::new("/dev/tdx-attest").exists() || Path::new("/dev/tdx-guest").exists() + true } #[derive(Serialize, Deserialize)]