Expand description
The module includes the definitions of data structures according to SEV-SNP specification.
Structs§
- Guest
Field Select - Indicate which guest-selectable fields will be mixed into the key.
See
GUEST_FIELD_SELECT
in Table 19, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SnpDerived
KeyReq - Request structure for the
SNP_GET_DERIVED_KEY
ioctl. SeeMSG_KEY_REQ
in Table 18, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SnpDerived
KeyResp - Response structure for the
SNP_GET_DERIVED_KEY
ioctl. SeeMSG_KEY_RSP
in Table 20, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SnpGuest
Request Ioctl - Ioctl struct defined by Linux.
- SnpReport
- Report structure.
See
ATTESTATION_REPORT
in Table 22, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SnpReport
Req - Request structure for the
SNP_GET_REPORT
ioctl. SeeMSG_REPORT_REQ
in Table 21, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SnpReport
Resp - Response structure for the
SNP_GET_REPORT
ioctl. SeeMSG_REPORT_RSP
in Table 24, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - VmmError
Code - VMM error code.
Constants§
- SNP_
DERIVED_ KEY_ SIZE - See
DERIVED_KEY
in Table 20, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SNP_
GUEST_ REQ_ IOC_ TYPE - Ioctl type defined by Linux.
- SNP_
GUEST_ REQ_ MSG_ VERSION - Value for the
msg_version
member inSNP_GUEST_REQ_MSG_VERSION
. Use 1 for now. - SNP_
REPORT_ DATA_ SIZE - Size of
report_data
member inSnpReport
. - SNP_
REPORT_ SIZE - Size of the
SnpReport
.