STRUCT TDREPORT_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the Kernel API Manual, section 9 β€” the manual name is struct tdreport_type(9) πŸ’– and this whole page is about struct tdreport_type, aka the Type header of TDREPORT_STRUCT. that's the NAME, and it ate. periodt.


✨ SYNOPSIS ✨

here's the struct in all its tiny iconic glory β€” keep every character exactly as shown, bestie:

struct tdreport_type {
    __u8 type;
    __u8 sub_type;
    __u8 version;
    __u8 reserved;
 };

πŸŽ€ Members πŸŽ€

member-by-member vibe check, and yes every default and reserved situation is staying right here 🫢

  • type β€” Type of the TDREPORT (0 - SGX, 81 - TDX, rest are reserved)
  • sub_type β€” Subtype of the TDREPORT (Default value is 0).
  • version β€” TDREPORT version (Default value is 0).
  • reserved β€” Added for future extension.

πŸ’… Description πŸ’…

more lore lives in the TDX v1.0 module specification, sec titled "REPORTTYPE". that's the reference, bestie β€” go read it if you want the full detail. it's giving official source material ✨


🌈 SEE ALSO 🌈

lowkey also peek at the kernel file ./tools/testing/selftests/tdx/tdx_guest_test.c, plus struct reportmac(9) and struct td_info(9). iykyk πŸ’…


mwah πŸ’‹ β€” source/version situation: ./tools/testing/selftests/tdx; date: October 2026; manual name: struct tdreport_type(9). bye bestie, go slay your kernel adventures 🌈✨

πŸ“¦ where this page comes from