pub struct IntelVtdDmarConfig {
pub host_address_width: u8,
pub units: Vec<IntelVtdAcpiConfig>,
pub ioapic_rid: Option<u16>,
}Expand description
DMAR-level configuration for Intel VT-d ACPI table generation.
Groups the DMAR header fields with the per-unit configs.
Fields§
§host_address_width: u8Host address width in bits (e.g. 48). DMAR HAW field = width - 1.
units: Vec<IntelVtdAcpiConfig>Per-unit configurations, one per root complex with an Intel VT-d unit.
ioapic_rid: Option<u16>IOAPIC PCIe Requester ID (RID) for the DMAR IOAPIC device scope.
When set, a DEVICE_SCOPE_IOAPIC entry is added to the DRHD whose segment (0) and start bus cover this RID, so the guest can locate the IOAPIC’s source ID for interrupt remapping.
Trait Implementations§
Source§impl Clone for IntelVtdDmarConfig
impl Clone for IntelVtdDmarConfig
Source§fn clone(&self) -> IntelVtdDmarConfig
fn clone(&self) -> IntelVtdDmarConfig
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 moreAuto Trait Implementations§
impl Freeze for IntelVtdDmarConfig
impl RefUnwindSafe for IntelVtdDmarConfig
impl Send for IntelVtdDmarConfig
impl Sync for IntelVtdDmarConfig
impl Unpin for IntelVtdDmarConfig
impl UnsafeUnpin for IntelVtdDmarConfig
impl UnwindSafe for IntelVtdDmarConfig
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