svsm_vtpm_cm...sponse_parse(9)
okay so bestie, welcome to the Kernel API Manual, section 9 β the vibe is very kernel-core and the main character is svsm_vtpm_cmd_response_parse π
β¨. This is the lil function that parses a TPM_SEND_COMMAND response received from SVSM, and yes itβs giving βtiny but importantβ π«Ά.
πΈ NAME πΈ
svsm_vtpm_cmd_response_parse β Parse a TPM_SEND_COMMAND response received from SVSM. Periodt.
β¨ SYNOPSIS β¨
int svsm_vtpm_cmd_response_parse (const struct svsm_vtpm_cmd_response
*resp , u8 *buf , size_t len );
π ARGUMENTS π
respβ thestruct svsm_vtpm_cmd_responseto parse. Thatβs the input, bestie π.bufβ the buffer where to copy the response. Put the response here, slay π .lenβ the size of the buffer. Respect the length, always βlenis not decorative.
π₯ RETURN π₯
On success: buffer size filled with the response π. On failure: negative error code π. Thatβs the return tea, no cap.
π¦ SEE ALSO π¦
- Kernel file
./include/linux/tpm_svsm.h struct svsm_vtpm_request(9)struct svsm_vtpm_response(9)struct svsm_vtpm_cmd_request(9)struct svsm_vtpm_cmd_response(9)svsm_vtpm_cmd_request_fill(9)
mwah π this page lives in ./include/linux, dated October 2026, and itβs literally the svsm_vtpm_cm...sponse_parse(9) manual page. π«Ά
π¦ 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