pub struct BuildParams<'a> {
pub linux: &'a LinuxImage,
pub processor_count: u32,
pub memory_page_count: u64,
pub c_bit_position: u8,
pub policy: SnpPolicy,
pub injection_type: &'a SnpInjectionType,
pub resources: &'a Resources,
}Expand description
Inputs for the deterministic SNP Linux-direct guest layout.
Fields§
§linux: &'a LinuxImageThe Linux payload configuration.
processor_count: u32The processor count described by the embedded topology and ACPI tables.
memory_page_count: u64The number of measured 4-KiB RAM pages.
c_bit_position: u8The page-table address bit used as the SNP encryption bit.
policy: SnpPolicyThe SNP guest policy.
injection_type: &'a SnpInjectionTypeThe SNP interrupt-injection mode.
resources: &'a ResourcesThe kernel, optional initrd, and bootshim resources.
Auto Trait Implementations§
impl<'a> Freeze for BuildParams<'a>
impl<'a> RefUnwindSafe for BuildParams<'a>
impl<'a> Send for BuildParams<'a>
impl<'a> Sync for BuildParams<'a>
impl<'a> Unpin for BuildParams<'a>
impl<'a> UnsafeUnpin for BuildParams<'a>
impl<'a> UnwindSafe for BuildParams<'a>
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