pub struct Vtl2Config {
pub vtl0_alias_map: bool,
pub late_map_vtl0_memory: Option<LateMapVtl0MemoryConfig>,
}
Expand description
VTL2 configuration.
Fields§
§vtl0_alias_map: bool
Enable the VTL0 alias map. This maps VTL0’s view of memory in VTL2 at the highest legal physical address bit.
late_map_vtl0_memory: Option<LateMapVtl0MemoryConfig>
If set, map VTL0 memory late after VTL2 has started. The current
heuristic is to defer mapping VTL0 memory until the first
hvdef::HypercallCode::HvCallModifyVtlProtectionMask
hypercall is
made.
Accesses before memory is mapped is determined by the specified config.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vtl2Config
impl RefUnwindSafe for Vtl2Config
impl Send for Vtl2Config
impl Sync for Vtl2Config
impl Unpin for Vtl2Config
impl UnwindSafe for Vtl2Config
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