Skip to main content

Module measurement_diag

Module measurement_diag 

Source
Expand description

Per-platform launch measurement diagnostics.

Builds the human-readable launch-measurement structures that downstream signing/attestation tooling expects (VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA for VBS, SnpPspIdBlock for SEV-SNP, MRTD for TDX) and emits them via tracing so they are visible in igvmfilegen output. The igvm crate itself only computes the raw digest; the diagnostic dressing (svn, debug bit, SNP family/image identifiers, โ€ฆ) is OpenHCL-specific and lives here.

Structsยง

VBS_POLICY_FLAGS ๐Ÿ”’
Flags defining the security policy for the guest.
VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA ๐Ÿ”’

Functionsยง

log_measurement_diagnostic
Emit a tracing log of the platform-specific launch-measurement diagnostic structure for human inspection.
log_snp ๐Ÿ”’
log_tdx ๐Ÿ”’
log_vbs ๐Ÿ”’