tdx_hcall_get_quote(9)
π 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 π
- Kernel file
./arch/x86/coco/tdx/tdx.c tdx_mcall_get_report0(9)tdx_mcall_extend_rtmr(9)
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
- 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