Linux Adding New Interface For Reporting AMD SEV Status

Written by Michael Larabel in Virtualization on 22 September 2026 at 06:21 AM EDT. Add A Comment
VIRTUALIZATION
A convenient addition that surprisingly hasn't been added to the Linux kernel until now is /sys/devices/system/cpu/sev/sev_status as a new sysfs interface for reporting the AMD Secure Encrypted Virtualization (SEV) status.

A patch is now queued in the x86/sev Git branch of tip/tip.git for the Linux 7.4 kernel to introduce /sys/devices/system/cpu/sev/sev_status. This new sysfs file will report the status of the SEV_MSR register for guest VMs. This makes it easy for easily determining the status of SEV VM encryption without having to resort to other user-space utilities (sevctl, snpguest, etc) or the like.

AMD EPYC CPUs


The SEV_STATUS model specific register can indicate not only if SEV is active but the higher bits can also indicate the active capabilities such as for SEV-ES and SEV-SNP features.

This small but helpful addition introducing the sev_status sysfs can be found by this patch ahead of the Linux 7.4 kernel cycle kicking off in October.
Related News
About The Author

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week