tdx_hcall_get_quote(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tdx_hcall_get_quote β€” the Kernel API Manual glow-up πŸ’–

okay so this is a page from the Kernel API Manual, bestie, and it's all about tdx_hcall_get_quote πŸŽ€


✨ NAME ✨

tdx_hcall_get_quote β€” the little wrapper that goes "hey, can I get a TD Quote?" via the GetQuote hypercall πŸ¦‹

🌸 SYNOPSIS 🌸

u64 tdx_hcall_get_quote (u8 *buf , size_t size );

πŸ’… ARGUMENTS πŸ’…

  • buf β€” the address of the directly mapped shared kernel buffer that's holding the TDREPORT. Like, the same buffer gets reused by the VMM to stash the generated TD Quote output in. one buffer, two jobs, main character energy πŸ‘‘
  • size β€” the size of the tdquote buffer, and yes it's 4KB-aligned so don't come in here with some unaligned nonsense πŸ™ˆ

⭐ DESCRIPTION ⭐

so if you want the full tea on the GetQuote hypercall, go read the section titled "TDG.VP.VMCALL<GetQuote>" in the TDX GHCI v1.0 specification, mwah πŸ’‹

this thing is used in the TDX guest driver module to get the TD Quote, iykyk ✨

it returns 0 on success or an error code if it fails β€” no cap, that's literally it 😭

🌈 SEE ALSO 🌈


kisses bestie 🫢 this icon was brought to you by the fine folks at ./arch/x86/coco/tdx, living in October 2026, and yes the whole thing answers to the name tdx_hcall_get_quote(9) πŸ’œ stay aligned, stay slaying, periodt πŸ’€πŸ”₯

πŸ“¦ where this page comes from