pub fn add_serial_device(
    com: Serial,
    _serial_parameters: &SerialParameters,
    serial_jail: Option<Minijail>,
    preserved_descriptors: Vec<RawDescriptor>,
    swap_controller: &mut Option<SwapController>
) -> Result<Arc<Mutex<dyn BusDevice>>, DeviceRegistrationError>