Function create_custom_device

Source
pub fn create_custom_device<T: IntoUnixStream>(
    protection_type: ProtectionType,
    jail_config: Option<&JailConfig>,
    custom_device_socket: T,
    idx: u32,
    input_config_path: PathBuf,
) -> Result<VirtioDeviceStub>