Skip to content

Commit

Permalink
enable tdx by default for 6.2 kernel
Browse files Browse the repository at this point in the history
Signed-off-by: Wang, Arron <[email protected]>
  • Loading branch information
arronwy committed Jan 12, 2024
1 parent 07ff380 commit 4661f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attestation-agent/attester/src/tdx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 4661f4b

Please sign in to comment.