pub fn register_video_device(
backend: VideoBackendType,
devs: &mut Vec<(&'static str, VirtioDeviceStub)>,
video_tube: Tube,
protection_type: ProtectionType,
jail_config: Option<&JailConfig>,
typ: VideoDeviceType,
) -> Result<()>