pub struct IsolationConfig {
pub paravisor_present: bool,
pub isolation_type: IsolationType,
pub shared_gpa_boundary_bits: Option<u8>,
}
Expand description
Isolation information returned by the importer to loaders.
Fields§
§paravisor_present: bool
True if VTL2 is enabled, representing a paravisor present.
isolation_type: IsolationType
The isolation type of the platform.
If there is a shared gpa boundary, the number of bits.
Implementations§
Source§impl IsolationConfig
impl IsolationConfig
Sourcepub fn get_cpuid(&self) -> CpuidResult
pub fn get_cpuid(&self) -> CpuidResult
Get the isolation config in the format of a CPUID result.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IsolationConfig
impl RefUnwindSafe for IsolationConfig
impl Send for IsolationConfig
impl Sync for IsolationConfig
impl Unpin for IsolationConfig
impl UnwindSafe for IsolationConfig
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