ENUM CC_ATTR(9)
π 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 includeSME,SEVandSEV-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 includeSME. π¦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 includeSEVandSEV-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 includeSEV-ES. πCC_ATTR_GUEST_UNROLL_STRING_IOβ String I/O is implemented withIN/OUTinstructions π The platform/OS is running as a guest/virtual machine and usesIN/OUTinstructions in place of string I/O. Examples includeTDX 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 π
- Kernel file
./include/linux/cc_platform.h cc_platform_has(9)
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
- 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