sev-snp-launch

Crates.iosev-snp-launch
lib.rssev-snp-launch
version0.1.0
created_at2025-12-09 07:04:28.700228+00
updated_at2025-12-09 07:04:28.700228+00
descriptionLibrary for Linux SEV-SNP launch APIs
homepage
repositoryhttps://github.com/virtee/sev-snp-launch
max_upload_size
id1974966
size63,463
Tyler Fanelli (tylerfanelli)

documentation

README

The sev-snp-launch crate provides a Rust-safe implementation of the AMD SEV Secure Nested Paging Firmware (SNP) Linux launch APIs.

SEV-SNP Linux APIs

The Linux kernel exposes APIs for managing SEV-SNP enabled KVM virtual machines. This crate implements Rust-safe APIs for the KVM SEV-SNP launch API provided by Linux.

Remarks

Note that the linux kernel provides access to these APIs through a set of ioctls that are meant to be called on device nodes (/dev/kvm and /dev/sev, to be specific). As a result, these ioctls form the substrate of the sev-snp-launch crate. Binaries that result from consumers of this crate are expected to run as a process with the necessary privileges to interact with the device nodes.

Commit count: 0

cargo fmt