STRUCT TD_INFO(9)
π struct td_info(9) π
okay so bestie, we're in the Kernel API Manual today and the main character is struct td_info β it's giving "TDX guest measurements and configuration" and honestly? iconic. π«Ά
β¨ NAME β¨
struct td_info β TDX guest measurements and configuration. no cap, that's literally what it is π
π SYNOPSIS π
struct td_info {
__u8 attr[8];
__u64 xfam;
__u64 mrtd[6];
__u64 mrconfigid[6];
__u64 mrowner[6];
__u64 mrownerconfig[6];
__u64 rtmr[24];
__u64 reserved[14];
};
like, that's the whole vibe right there β¬οΈ every field, exactly as written, don't come for me π§
πΈ Members πΈ
attrβ the TDX Guest attributes (things likedebug,spet_disable, etc). the little personality traits of the guest, basically πxfamβ Extended features allowed mask. it's the "yes queen you may" list of features β¨mrtdβ Build time measurement register. the moment the guest was born, frozen in time πmrconfigidβ Software-defined ID for non-owner-defined configuration of the guest β e.g., run-time or OS configuration. so like, the stuff that's not the owner's business πmrownerβ Software-defined ID for the guest owner. hi, this is the owner's whole identity πmrownerconfigβ Software-defined ID for owner-defined configuration of the guest β e.g., specific to the workload. the owner's personal aesthetic choices, workload edition πrtmrβ Run time measurement registers. these ones keep growing and extending as the guest lives its life, main character energy fr fr π₯reservedβ Added for future extension. it's literally saving seats for the future besties π
π Description π
so what is this thing actually for? it contains the measurements and initial configuration of the TDX guest β the ones that got locked at initialization (yes, locked, no takebacks π) β plus a whole set of measurement registers that are run-time extendable (those ones keep going, we love a flexible king π¦).
and if you want the full lore drop, more details can be found in the TDX v1.0 Module specification, section titled "TDINFO_STRUCT". go read it, iykyk π
π SEE ALSO π
- Kernel file
./tools/testing/selftests/tdx/tdx_guest_test.c struct tdreport_type(9)struct reportmac(9)
go check those out too, they're in the same friend group π«Ά
okay that's the whole page bestie, every single member accounted for, nothing skipped, periodt π β¨
from ./tools/testing/selftests/tdx, dated October 2026 β mwah, love u, bye ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms