Live brief
Die Brief

DIE.BRIEF

Silicon trade press
CPU Architecture SINGLE-SOURCE

Linux Adds a sysfs Interface for Reporting AMD SEV Status

The Die Brief Desk

A patch queued for Linux 7.4 introduces /sys/devices/system/cpu/sev/sev_status, exposing the SEV_MSR register so guest encryption status is readable without user-space tools.

According to Phoronix, a patch is queued in the x86/sev branch of tip/tip.git for the Linux 7.4 kernel to introduce /sys/devices/system/cpu/sev/sev_status, a new sysfs interface for reporting the AMD Secure Encrypted Virtualization status. The file will report the status of the SEV_MSR register for guest VMs. This makes it easy to determine the status of SEV VM encryption without resorting to user-space utilities such as sevctl or snpguest. The patch is small but removes a friction point that has persisted for years.

The mechanism is a direct exposure of the MSR. The SEV_STATUS model-specific register indicates not only whether SEV is active but, in its higher bits, the active capabilities such as SEV-ES and SEV-SNP. By surfacing the register in sysfs, the kernel gives administrators and tooling a simple, stable file to read instead of parsing user-space output. The sysfs path follows the standard kernel convention for exposing hardware state, so it integrates with existing monitoring and scripting. The register's higher bits distinguish SEV-ES from SEV-SNP, so the file exposes not just whether encryption is on but which feature level the guest uses. The result is that checking whether a guest is encrypted and which SEV feature level it uses becomes a single file read rather than a tool invocation.

Versus the status quo, this is a long-missing convenience. The report notes the interface had surprisingly not been added to the kernel until now. Before this, determining SEV status required sevctl or similar tools. The sysfs file standardizes the check across kernels and makes it scriptable, which matters for automation and for verifying that encryption is actually active on a fleet of hosts. For cloud and datacenter operators running encrypted guests, a stable kernel interface removes a per-host tooling dependency and makes fleet-wide verification straightforward.

What is unconfirmed: the exact bit layout exposed, whether the file is read-only, and whether it covers all SEV feature levels uniformly. The report describes the SEV_MSR status and the higher-bit capabilities but does not enumerate the full register semantics, and the patch's handling of edge cases such as SEV disabled is not detailed.

What to watch next: the patch's landing in the 7.4 cycle, its backport behavior, and whether tooling adopts the sysfs file as the canonical SEV status source. A stable kernel interface for SEV status simplifies verification of encrypted guests across a fleet, and the backport question matters for operators who cannot immediately move to 7.4. The sysfs approach also means the status is available to any monitoring agent without a privileged tool, which matters for automated fleet checks.

Desk take

A sysfs file exposing the SEV_MSR register makes guest encryption status a single read. Small, but it removes the need for user-space tools to check SEV.

It standardizes how administrators verify that SEV encryption is active and which feature level a guest uses, without user-space utilities.

New path: /sys/devices/system/cpu/sev/sev_statusReports the SEV_MSR registerHigher bits show SEV-ES and SEV-SNPQueued for Linux 7.4

Source dispatch

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...

Published September 22, 2026 · 3 min read DB-0062
Copy link Share to X