pub enum ConfigIsolationType {
None,
Vbs {
enable_debug: bool,
},
Snp {
shared_gpa_boundary_bits: Option<u8>,
policy: u64,
enable_debug: bool,
injection_type: SnpInjectionType,
},
Tdx {
enable_debug: bool,
sept_ve_disable: bool,
},
}
Expand description
The isolation type that should be used for the loader.
Variants§
None
No isolation is present.
Vbs
Hypervisor based isolation (VBS) is present.
Snp
AMD SEV-SNP.
Fields
The optional shared GPA boundary to configure for the guest. A
None
value represents a guest that no shared GPA boundary is to be
configured.
§
injection_type: SnpInjectionType
The interrupt injection type to use for the highest vmpl.
Tdx
Intel TDX.
Trait Implementations§
Source§impl Debug for ConfigIsolationType
impl Debug for ConfigIsolationType
Source§impl<'de> Deserialize<'de> for ConfigIsolationType
impl<'de> Deserialize<'de> for ConfigIsolationType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConfigIsolationType
impl RefUnwindSafe for ConfigIsolationType
impl Send for ConfigIsolationType
impl Sync for ConfigIsolationType
impl Unpin for ConfigIsolationType
impl UnwindSafe for ConfigIsolationType
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