pub struct SnpConfig {
pub policy: u64,
pub highest_vtl: u8,
pub shared_gpa_boundary: u64,
pub has_relocation: bool,
pub vp_contexts: Vec<SnpVpContext>,
pub id_block: Option<SnpIdBlock>,
}Expand description
Backend-neutral SNP launch configuration extracted from an IGVM file.
Fields§
§policy: u64The SNP guest policy.
highest_vtl: u8The highest VTL requested by the selected IGVM platform.
The shared GPA boundary requested by the selected IGVM platform.
has_relocation: boolWhether the IGVM contains relocation metadata.
vp_contexts: Vec<SnpVpContext>Opaque virtual processor contexts in file order.
id_block: Option<SnpIdBlock>Optional ID block and authentication data.
Trait Implementations§
impl Eq for SnpConfig
impl StructuralPartialEq for SnpConfig
Auto Trait Implementations§
impl Freeze for SnpConfig
impl RefUnwindSafe for SnpConfig
impl Send for SnpConfig
impl Sync for SnpConfig
impl Unpin for SnpConfig
impl UnsafeUnpin for SnpConfig
impl UnwindSafe for SnpConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more