| Crates.io | sev-snp-launch |
| lib.rs | sev-snp-launch |
| version | 0.1.0 |
| created_at | 2025-12-09 07:04:28.700228+00 |
| updated_at | 2025-12-09 07:04:28.700228+00 |
| description | Library for Linux SEV-SNP launch APIs |
| homepage | |
| repository | https://github.com/virtee/sev-snp-launch |
| max_upload_size | |
| id | 1974966 |
| size | 63,463 |
The sev-snp-launch crate provides a Rust-safe implementation of the AMD SEV
Secure Nested Paging Firmware (SNP) Linux launch 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.
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.