Function arch::configure_pci_device
source · pub fn configure_pci_device<V: VmArch, Vcpu: VcpuArch>(
linux: &mut RunnableLinuxVm<V, Vcpu>,
device: Box<dyn PciDevice>,
jail: Option<Minijail>,
resources: &mut SystemAllocator,
hp_control_tube: &Sender<PciRootCommand>,
swap_controller: &mut Option<SwapController>
) -> Result<PciAddress, DeviceRegistrationError>
Expand description
Config a PCI device for used by this vm.