snp_svsm_vtpm_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, you're looking at snp_svsm_vtpm_probe(9) from the Kernel API Manual πŸ’– and it's giving β€œdo we have a vTPM situation?” energy. lowkey tiny function, highkey important. ✨

πŸŽ€ NAME πŸŽ€

snp_svsm_vtpm_probe β€” Probe if SVSM provides a vTPM device πŸ¦‹

✨ SYNOPSIS ✨

bool snp_svsm_vtpm_probe (void );

that's the whole signature, no cap πŸ’…

🌸 ARGUMENTS 🌸

  • void β€” no arguments. none. zero. a whole lotta nothing, and honestly? iconic. 🫢

πŸ’– DESCRIPTION πŸ’–

okay so this function does a little vibe check: it checks that there is an SVSM, and that it supports at least TPM_SEND_COMMAND, which is the only request used so far. iykyk πŸ”₯

πŸ‘‘ RETURN πŸ‘‘

it returns true if the platform provides a vTPM SVSM device, and false otherwise. periodt. ✨

🧚 SEE ALSO 🧚


shoutout to source/version ./arch/x86/coco/sev and the date October 2026 β€” this page said what it said and it ate πŸŒˆπŸ“

πŸ“¦ where this page comes from