ENUM CC_ATTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

enum cc_attr β€” Confidential computing attributes ✨ This is the enum cc_attr(9) page from the Kernel API Manual, bestie. It’s the whole vibe of what confidential-computing features are live right now. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

enum cc_attr {
    CC_ATTR_MEM_ENCRYPT ,
    CC_ATTR_HOST_MEM_ENCRYPT ,
    CC_ATTR_GUEST_MEM_ENCRYPT ,
    CC_ATTR_GUEST_STATE_ENCRYPT ,
    CC_ATTR_GUEST_UNROLL_STRING_IO ,
    CC_ATTR_GUEST_SEV_SNP ,
    CC_ATTR_GUEST_SNP_SECURE_TSC ,
    CC_ATTR_HOST_SEV_SNP ,
    CC_ATTR_SNP_SECURE_AVIC

};

✨ Constants ✨

  • CC_ATTR_MEM_ENCRYPT β€” Memory encryption is active πŸ’… The platform/OS is running with active memory encryption. This includes running either as a bare-metal system or a hypervisor and actively using memory encryption or as a guest/virtual machine and actively using memory encryption. Examples include SME, SEV and SEV-ES. πŸŽ€
  • CC_ATTR_HOST_MEM_ENCRYPT β€” Host memory encryption is active 🫢 The platform/OS is running as a bare-metal system or a hypervisor and actively using memory encryption. Examples include SME. πŸ¦‹
  • CC_ATTR_GUEST_MEM_ENCRYPT β€” Guest memory encryption is active 🌸 The platform/OS is running as a guest/virtual machine and actively using memory encryption. Examples include SEV and SEV-ES. ✨
  • CC_ATTR_GUEST_STATE_ENCRYPT β€” Guest state encryption is active πŸ”₯ The platform/OS is running as a guest/virtual machine and actively using memory encryption and register state encryption. Examples include SEV-ES. πŸ’œ
  • CC_ATTR_GUEST_UNROLL_STRING_IO β€” String I/O is implemented with IN/OUT instructions πŸŽ€ The platform/OS is running as a guest/virtual machine and uses IN/OUT instructions in place of string I/O. Examples include TDX guest & SEV. πŸ’…
  • CC_ATTR_GUEST_SEV_SNP β€” Guest SNP is active. πŸ‘‘ The platform/OS is running as a guest/virtual machine and actively using AMD SEV-SNP features. ⭐
  • CC_ATTR_GUEST_SNP_SECURE_TSC β€” SNP Secure TSC is active. πŸ’œ The platform/OS is running as a guest/virtual machine and actively using AMD SEV-SNP Secure TSC feature. πŸ¦‹
  • CC_ATTR_HOST_SEV_SNP β€” AMD SNP enabled on the host. 🌈 The host kernel is running with the necessary features enabled to run SEV-SNP guests. 🫢
  • CC_ATTR_SNP_SECURE_AVIC β€” Secure AVIC mode is active. πŸ”₯ The host kernel is running with the necessary features enabled to run SEV-SNP guests with full Secure AVIC capabilities. πŸ‘‘

🌸 Description 🌸

These attributes represent confidential computing features that are currently active. Literally the current-status checklist, no cap. βœ…

πŸ”— SEE ALSO πŸ”—


That’s the whole page, bestie πŸ’– β€” it came from ./include/linux, dated October 2026, and it’s the enum cc_attr(9) page. Periodt. πŸŽ€

πŸ“¦ where this page comes from