Expand description
SEV-SNP launch helpers.
vmsa_from_initial_regs is used by the shared direct-boot loader for SNP
backends, including KVM and MSHV. state_from_vmsa is currently used by
KVM to apply the loader-built VMSA through KVM’s register-based launch path;
MSHV imports the VMSA page directly.
Structs§
- SnpVmsa
Config - Configuration for a direct-boot SNP VMSA.
- SnpVmsa
State - The subset of initial VP state represented by a direct-boot SNP VMSA.
Enums§
- SnpVmsa
Error - An error parsing a direct-boot SNP VMSA.
Functions§
- snp_
id_ auth - Builds the PSP ID authentication page for
id_block. - snp_
id_ block - Builds the PSP ID block for
id_blockand the launchpolicy. - state_
from_ vmsa - Parses and validates a direct-boot SNP VMSA.
- vmsa_
from_ initial_ regs - Builds the direct-boot SNP VMSA corresponding to
initial.