Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intel TDX Direct KVM TDREPORT Runner

A Cargo workspace producing a self-contained tdreport executable from a no_std Rust bare-metal payload and a Rust KVM hypervisor runner. It creates an Intel Trust Domain (TDX VM) through /dev/kvm, issues TDCALL[TDG.MR.REPORT], and prints the resulting TDREPORT.


🚀 Build and Run

# 1. Build the payload, TDVF, and self-contained runner
./build.sh

# 2. Run and print the TDREPORT
sudo ./tdreport.bin

To also save the raw 1024-byte report:

sudo ./tdreport.bin --output tdreport-report.bin

For development, the standalone runner and TDVF remain available separately:

sudo ./kvm-runner.bin td-shim-tdreport.bin

Library usage

The tdreport package includes its TDVF image, so consumer projects do not need to set TDREPORT_TDVF_PATH:

[dependencies]
tdreport = { path = "../tdreport/tdreport" }
let report: [u8; 1024] = tdreport::tdreport()?;

TDREPORT_TDVF_PATH remains available as an optional build-time override for development with a custom TDVF image.


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages