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>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>