build_pcie_device

Function build_pcie_device 

Source
pub async fn build_pcie_device(
    chipset_builder: &mut ChipsetBuilder<'_>,
    port_name: Arc<str>,
    driver_source: &VmTaskDriverSource,
    resolver: &ResourceResolver,
    guest_memory: &GuestMemory,
    resource: Resource<PciDeviceHandleKind>,
    doorbell_registration: Option<Arc<dyn DoorbellRegistration>>,
    mapper: Option<&dyn MemoryMapper>,
    interrupt_target: Option<Arc<dyn MsiInterruptTarget>>,
) -> Result<()>
Expand description

Resolves a PCI device resource, builds the corresponding device, and attaches the device at the specified PCIe port.