qemu/migration/channel.c
/**
 * @migration_channel_process_incoming - Create new incoming migration channel
 *
 * Notice that TLS is special.  For it we listen in a listener socket,
 * and then create a new client socket from the TLS library.
 *
 * @ioc: Channel to which we are connecting
 */
@migration_channel_process_incoming - Create new incoming migration channel
Notice that TLS is special.  For it we listen in a listener socket,
and then create a new client socket from the TLS library.

@ioc: Channel to which we are connecting
@migration_channel_process_incoming - Create new incoming migration channel Notice that TLS is special . For it we listen in a listener socket and then create a new client socket from the TLS library . @ioc : Channel to which we are connecting
void migration_channel_process_incoming(QIOChannel *ioc)
{
    MigrationState *s = migrate_get_current();
    trace_migration_set_incoming_channel(
        ioc, object_get_typename(OBJECT(ioc)));
    if (s->parameters.tls_creds &&
        *s->parameters.tls_creds &&
        !object_dynamic_cast(OBJECT(ioc),
                             TYPE_QIO_CHANNEL_TLS)) {
        Error *local_err = NULL;
        migration_tls_channel_process_incoming(s, ioc, &local_err);
        if (local_err) {
            error_report_err(local_err);
        }
    } else {
        migration_ioc_process_incoming(ioc);
    }
}
void migration_channel_process_incoming ( QIOChannel * ioc ) { MigrationState * s = migrate_get_current ( ) ; trace_migration_set_incoming_channel ( ioc , object_get_typename ( OBJECT ( ioc ) ) ) ; if ( s -> parameters . tls_creds && * s -> parameters . tls_creds && ! object_dynamic_cast ( OBJECT ( ioc ) , TYPE_QIO_CHANNEL_TLS ) ) { Error * local_err = NULL ; migration_tls_channel_process_incoming ( s , ioc , & local_err ) ; if ( local_err ) { error_report_err ( local_err ) ; } } else { migration_ioc_process_incoming ( ioc ) ; } }
@migration_channel_process_incoming - Create new incoming migration channel
 Notice that TLS is special.
@migration_channel_process_incoming - Create new incoming migration channel Notice that TLS is special .