CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/04/25 13:10:50
Modified files:
sys/dev/ic : psp.c pspvar.h
Log message:
psp(4) adds ioctl(2) to encrypt and measure state for AMD SEV-ES.
When launching a SEV-ES enabled VM, vmd(8) will have to encrypt the
initial state of the vCPU in the VM Save Area (VMSA) allocated by
vmm(4). In addition the VMSA has to be measured by the PSP.
Implement functions psp_encrypt_state() and psp_launch_update_vmsa()
used by new ioctl PSP_IOC_ENCRYPT_STATE.
from hshoexer@