From 9edee83ef141f98659ecab52550403b507bd302d Mon Sep 17 00:00:00 2001 From: Hsy-Intel Date: Mon, 10 Mar 2025 21:47:23 +0000 Subject: [PATCH] Use the latest tdx-guest crate version to fix the MMIO emulation issue --- Cargo.lock | 4 ++-- kernel/Cargo.toml | 2 +- ostd/Cargo.toml | 2 +- ostd/libs/linux-bzimage/setup/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 433367be..129633dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1675,9 +1675,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tdx-guest" -version = "0.1.8" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "944d4a19d6093a6f5f7bbd38ab73cc3dc11b0d17387345fc952224878caa7e7f" +checksum = "e7d2470765b1b82fca86257ba5a24e6f56fc642418d2ab0ace10b5e2c11e032a" dependencies = [ "bitflags 1.3.2", "iced-x86", diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index b35af209..6763c54d 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.1.8", optional = true } +tdx-guest = { version = "0.2.0", optional = true } # parse elf file xmas-elf = "0.8.0" diff --git a/ostd/Cargo.toml b/ostd/Cargo.toml index b4eef027..b4fa435b 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.1.8", optional = true } +tdx-guest = { version = "0.2.0", 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 4d8a9fb7..ebfdd94f 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.1.8", optional = true } +tdx-guest = { version = "0.2.0", optional = true } [features] default = ["cvm_guest"]