sev-snp-launch 0.1.0

Library for Linux SEV-SNP launch APIs
Documentation

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.