Skip to main content

Module snp

Module snp 

Source
Expand description

SEV-SNP initial VMSA conversion.

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§

SnpVmsaState
The subset of initial VP state represented by a direct-boot SNP VMSA.

Enums§

SnpVmsaError
An error parsing a direct-boot SNP VMSA.

Functions§

state_from_vmsa
Parses and validates a direct-boot SNP VMSA.
vmsa_from_initial_regs
Builds the direct-boot SNP VMSA corresponding to initial.