pub struct LayoutConfig {
pub chipset_low_mmio_size: u32,
pub chipset_high_mmio_size: u64,
pub vtl2_chipset_mmio_size: u64,
}Expand description
Default memory layout sizing for a VM, used by the layout engine in
openvmm_core::worker::memory_layout.
Consumers that receive their memory layout from the host (such as OpenHCL / Underhill) do not use these values.
Fields§
§chipset_low_mmio_size: u32Chipset low MMIO range size (below 4 GiB) for VMOD/PCI0 _CRS.
The address is always allocated dynamically. 0 uses only the
architectural minimum (LAPIC, IOAPIC, GIC, etc.).
chipset_high_mmio_size: u64Chipset high MMIO range size (above RAM) for VMOD/PCI0 _CRS.
The address is always allocated dynamically. 0 disables the range.
vtl2_chipset_mmio_size: u64VTL2-private chipset MMIO range size for VTL2 VMBus.
The address is always allocated dynamically. 0 disables the range.
Trait Implementations§
Source§impl Clone for LayoutConfig
impl Clone for LayoutConfig
Source§fn clone(&self) -> LayoutConfig
fn clone(&self) -> LayoutConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutConfig
impl Debug for LayoutConfig
Source§impl DefaultEncoding for LayoutConfig
impl DefaultEncoding for LayoutConfig
Source§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for LayoutConfig
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for LayoutConfig
Source§impl StructEncodeMetadata<Resource> for LayoutConfig
impl StructEncodeMetadata<Resource> for LayoutConfig
Auto Trait Implementations§
impl Freeze for LayoutConfig
impl RefUnwindSafe for LayoutConfig
impl Send for LayoutConfig
impl Sync for LayoutConfig
impl Unpin for LayoutConfig
impl UnsafeUnpin for LayoutConfig
impl UnwindSafe for LayoutConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message].