STRUCT SEV_DATA_GUEST_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct sev_data_guest_status(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so you found yourself in the struct sev_data_guest_status(9) manpage, welcome, this is a safe space ✨ it's the Kernel API Manual, and yes the header up top is literally that β€” iconic, we love a self-identifying king πŸ‘‘


🌸 NAME 🌸

struct sev_data_guest_status β€” the parameter block for the SEV GUEST_STATUS command, fr fr πŸ’–

Like, that's it. That's the whole vibe. It's a struct that carries the stuff the firmware needs when you're like "hey king, what's up with this VM" πŸ¦‹


✨ SYNOPSIS ✨

struct sev_data_guest_status {
    u32 handle;
    u32 policy;
    u32 asid;
    u8 state;
 };

not me pasting the exact struct, character for character, because we do NOT paraphrase code in this house πŸ’…


🫢 Members 🫢

  • handle β€” the handle of the VM you wanna retrieve status for. it's giving "which one of my children is this" energy 😭
  • policy β€” the policy information for the VM. the rules, the boundaries, the whole personality πŸ‘‘
  • asid β€” the current ASID of the VM. yes that's Address Space ID, and yes it's as important as it sounds 🌈
  • state β€” the current state of the VM. the vibe check, essentially. what is she doing. is she okay. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the Kernel file ./include/linux/psp-sev.h β€” go read it, it's the mothership 🧚

and then the whole extended family, no cap, we're listing every single one because nobody gets left behind πŸ’œ

  • struct sev_data_init(9)
  • struct sev_data_init_ex(9)
  • struct sev_data_pek_csr(9)
  • struct sev_data_download_firmware(9)
  • struct sev_data_get_id(9)
  • struct sev_data_pdh_cert_export(9)
  • struct sev_data_decommission(9)
  • struct sev_data_activate(9)
  • struct sev_data_deactivate(9)
  • struct sev_data_launch_start(9)
  • struct sev_data_launch_update_data(9)
  • struct sev_data_launch_update_vmsa(9)
  • struct sev_data_launch_measure(9)
  • struct sev_data_launch_secret(9)
  • struct sev_data_launch_finish(9)
  • struct sev_data_send_start(9)
  • struct sev_data_send_finish(9)
  • struct sev_data_send_cancel(9)
  • struct sev_data_receive_start(9)
  • struct sev_data_receive_update_data(9)
  • struct sev_data_receive_update_vmsa(9)
  • struct sev_data_receive_finish(9)
  • struct sev_data_dbg(9)
  • struct sev_data_attestation_report(9)
  • struct sev_data_snp_download_firmware(9)
  • struct sev_data_snp_activate(9)
  • struct sev_data_snp_addr(9)
  • struct sev_data_snp_launch_start(9)
  • struct sev_data_snp_launch_update(9)
  • struct sev_data_snp_launch_finish(9)
  • struct sev_data_snp_guest_status(9)
  • struct sev_data_snp_page_reclaim(9)
  • struct sev_data_snp_page_unsmash(9)
  • struct sev_data_snp_dbg(9)
  • struct sev_data_snp_guest_request(9)
  • struct sev_data_snp_init_ex(9)
  • struct sev_data_range(9)
  • struct sev_data_range_list(9)
  • struct sev_data_snp_shutdown_ex(9)
  • struct sev_platform_init_args(9)
  • struct sev_data_snp_commit(9)
  • struct sev_data_snp_feature_info(9)
  • struct sev_data_snp_verify_mitigation(9)
  • struct sev_data_snp_verify_mitigation_dst(9)
  • struct sev_snp_tcb_version_genoa_milan(9)
  • struct sev_snp_tcb_version_turin(9)
  • sev_module_init(9)
  • sev_platform_init(9)
  • sev_platform_status(9)
  • sev_issue_cmd_external_user(9)
  • sev_guest_deactivate(9)
  • sev_guest_activate(9)
  • sev_guest_df_flush(9)
  • sev_guest_decommission(9)
  • sev_do_cmd(9)

like. that's a lot of friends. a whole friend group. main character energy from every single one of them πŸ‘‘


and that's the tea β˜• this page lives in ./include/linux and it's dated October 2026, so yeah, she's from the future, we stan a forward-thinking queen πŸ¦‹πŸ’– periodt ✨

πŸ“¦ where this page comes from