Skip to main content

domain_for_owned

Function domain_for_owned 

Source
pub fn domain_for_owned(
    sbdf: Sbdf,
    owner: Option<u32>,
    policy: FaultPolicy,
) -> Result<Arc<Domain>, IommuError>
Expand description

Same as domain_for, but records the owning silo and its fault policy.

When the domain is created, firmware-reserved ranges (RMRR/IVMD) that apply to sbdf are identity-mapped so the device keeps working on its reserved buffers.