Function crosvm_direct::crosvm::sys::unix::device_helpers::create_vfio_platform_device
source · [−]pub fn create_vfio_platform_device(
jail_config: &Option<JailConfig>,
vm: &impl Vm,
_resources: &mut SystemAllocator,
control_tubes: &mut Vec<TaggedControlTube>,
vfio_path: &Path,
_endpoints: &mut BTreeMap<u32, Arc<Mutex<Box<dyn MemoryMapperTrait>>>>,
iommu_dev: IommuDevType
) -> Result<(VfioPlatformDevice, Option<Minijail>)>