runtime-rs: parse SEV-SNP related config file settings

The 'sev_snp_guest' default value of 'false' is in compliance with the
golang runtime behaviour.

Signed-off-by: Pavel Mores <pmores@redhat.com>
This commit is contained in:
Pavel Mores 2025-01-30 08:46:02 +01:00 committed by Pavel Mores
parent 04c56a0aaf
commit c549d12da7

View File

@ -825,6 +825,14 @@ pub struct SecurityInfo {
#[serde(default)]
pub confidential_guest: bool,
/// If false prefer SEV even if SEV-SNP is also available
#[serde(default)]
pub sev_snp_guest: bool,
/// Path to SNP certificates
#[serde(default)]
pub snp_certs_path: String,
/// Path to OCI hook binaries in the *guest rootfs*.
///
/// This does not affect host-side hooks which must instead be added to the OCI spec passed to