From 4e3be69a34e8064c0fa3600b6b73c75e52a63784 Mon Sep 17 00:00:00 2001 From: "Ouyang, Hang" Date: Thu, 20 Jun 2024 22:37:25 -0700 Subject: [PATCH] Publish tdx-tdcall 0.1.1 for adding new functions to support TD partitioning Signed-off-by: Ouyang, Hang --- tdx-tdcall/CHANGELOG.md | 20 ++++++++++++++++++++ tdx-tdcall/Cargo.toml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 tdx-tdcall/CHANGELOG.md diff --git a/tdx-tdcall/CHANGELOG.md b/tdx-tdcall/CHANGELOG.md new file mode 100644 index 00000000..ee498bfe --- /dev/null +++ b/tdx-tdcall/CHANGELOG.md @@ -0,0 +1,20 @@ +# Changelog +All notable changes to this project will be documented in this file. + +## [0.2.0] - 2024-06-21 +### Added +- Wrapper to tdcall_accept_page to accept a memory range (for both normal 4K as well as 2M large pages). +- Add tdcall_vm_read/write to access TD-scope meta field of a TD. +- Add tdcall_vp_read/write is to access vCPU-scope meta field of a TD. +- Add tdcall_vp_invept/invvpid to provide SEPT flushing support. +- Add tdcall_vp_enter support. +- Add tdcall to support memory attribute write. + +### Changed +- Change return type for tdvmcall_wrmsr, tdvmcall_rdmsr +- Replace the & operator with addr_of! macro for tdvmcall_mmio_write/tdvmcall_mmio_read +- Extend TdInfo struct to add vcpu_index field + +## [0.1.0] - 2024-06-07 +### Added +- Add README.md for publishing to crates.io \ No newline at end of file diff --git a/tdx-tdcall/Cargo.toml b/tdx-tdcall/Cargo.toml index 59b41821..058bb9c0 100644 --- a/tdx-tdcall/Cargo.toml +++ b/tdx-tdcall/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tdx-tdcall" -version = "0.1.0" +version = "0.2.0" description = "Constants, stuctures and wrappers to access TDCALL services" repository = "https://github.com/confidential-containers/td-shim" homepage = "https://github.com/confidential-containers"