For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Launch an AMD SEV-SNP VM

For ready-to-use Linux boot artifcats including Universal Kernel Images and Initrd for attestable boot, see Buckypaper.

Step-by-step Guide

Use:

sylica-sev

for AMD SEV-SNP confidential virtual machines.

The resulting architecture is:

AMD EPYC
    │
    ▼
AMD Secure Processor
    │
    ▼
SEV-SNP
    │
    ▼
KVM/QEMU
    │
    ▼
sylica-sev / CVMF.fd
    │
    ▼
SEV-SNP guest

Verify host support

Check for the AMD KVM module:

Check the kernel log:

Depending on the host configuration, useful checks may also include:

and:

The exact host setup depends on the kernel, QEMU version, system firmware, and AMD platform generation.

Check QEMU SEV-SNP support

Verify that your QEMU build exposes the SNP confidential-guest object:

A QEMU build with SNP support should expose:

Select the firmware

Launch

A minimal SEV-SNP QEMU configuration is:

The two important confidential-computing parameters are:

which creates the SEV-SNP guest object, and:

which associates that object with the VM.

Host-specific parameters

The values:

describe characteristics of the AMD host and must match the target platform.

The command above uses:

as a common SEV-SNP example. Do not assume these values are correct for every AMD system.

For production deployments, derive the values from the target host and QEMU/KVM environment.

Install an operating system

To boot an installation ISO:

After installation, remove:

Production note

Successfully starting an SNP VM does not establish that it should be trusted.

A production workflow should also verify the hardware attestation evidence against an expected policy:

Last updated