From 7b5f2c414a09b99c53d629cb3989656a4ffd5654 Mon Sep 17 00:00:00 2001 From: Hsy-Intel Date: Thu, 13 Mar 2025 12:19:32 -0400 Subject: [PATCH] Use the latest tdx-guest crate version to fix the TDX init issue --- kernel/Cargo.toml | 2 +- ostd/Cargo.toml | 2 +- ostd/libs/linux-bzimage/setup/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index 6763c54d7..06767c03c 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -32,7 +32,7 @@ cpio-decoder = { path = "libs/cpio-decoder" } intrusive-collections = "0.9.5" paste = "1.0" time = { version = "0.3", default-features = false, features = ["alloc"] } -tdx-guest = { version = "0.2.0", optional = true } +tdx-guest = { version = "0.2.1", optional = true } # parse elf file xmas-elf = "0.8.0" diff --git a/ostd/Cargo.toml b/ostd/Cargo.toml index b4fa435b5..ce839eb0b 100644 --- a/ostd/Cargo.toml +++ b/ostd/Cargo.toml @@ -49,7 +49,7 @@ iced-x86 = { version = "1.21.0", default-features = false, features = [ "decoder", "gas", ], optional = true } -tdx-guest = { version = "0.2.0", optional = true } +tdx-guest = { version = "0.2.1", optional = true } [target.riscv64gc-unknown-none-elf.dependencies] riscv = { version = "0.11.1", features = ["s-mode"] } diff --git a/ostd/libs/linux-bzimage/setup/Cargo.toml b/ostd/libs/linux-bzimage/setup/Cargo.toml index ebfdd94f7..3787f0440 100644 --- a/ostd/libs/linux-bzimage/setup/Cargo.toml +++ b/ostd/libs/linux-bzimage/setup/Cargo.toml @@ -26,7 +26,7 @@ log = "0.4.20" uefi = { version = "0.32.0", features = ["global_allocator", "panic_handler", "logger", "qemu"]} uefi-raw = "0.8.0" x86_64 = "0.15.1" -tdx-guest = { version = "0.2.0", optional = true } +tdx-guest = { version = "0.2.1", optional = true } [features] default = ["cvm_guest"]