static void socket_outgoing_migration(Object *src,

                                      Error *err,

                                      gpointer opaque)

{

    MigrationState *s = opaque;

    QIOChannel *sioc = QIO_CHANNEL(src);



    if (err) {

        trace_migration_socket_outgoing_error(error_get_pretty(err));

        s->to_dst_file = NULL;

        migrate_fd_error(s, err);

    } else {

        trace_migration_socket_outgoing_connected();

        migration_set_outgoing_channel(s, sioc);

    }

    object_unref(src);

}

static void socket_outgoing_migration(Object *src,

                                      Error *err,

                                      gpointer opaque)

{

    MigrationState *s = opaque;

    QIOChannel *sioc = QIO_CHANNEL(src);



    if (err) {

        trace_migration_socket_outgoing_error(error_get_pretty(err));

        s->to_dst_file = NULL;

        migrate_fd_error(s, err);

    } else {

        trace_migration_socket_outgoing_connected();

        migration_set_outgoing_channel(s, sioc);

    }

    object_unref(src);

}

    MigrationState *s = opaque;         s->to_dst_file = NULL;         migrate_fd_error(s, err);         trace_migration_socket_outgoing_connected();         migration_set_outgoing_channel(s, sioc);
static void FUNC_0(Object *VAR_0,

                                      Error *VAR_1,

                                      gpointer VAR_2)

{

    MigrationState *s = VAR_2;

    QIOChannel *sioc = QIO_CHANNEL(VAR_0);



    if (VAR_1) {

        trace_migration_socket_outgoing_error(error_get_pretty(VAR_1));

        s->to_dst_file = NULL;

        migrate_fd_error(s, VAR_1);

    } else {

        trace_migration_socket_outgoing_connected();

        migration_set_outgoing_channel(s, sioc);

    }

    object_unref(VAR_0);

}

static void FUNC_0(Object *VAR_0,
Error *VAR_1,
gpointer VAR_2)
{ MigrationState *s = VAR_2; QIOChannel *sioc = QIO_CHANNEL(VAR_0); if (VAR_1) { trace_migration_socket_outgoing_error(error_get_pretty(VAR_1)); s->to_dst_file = NULL; migrate_fd_error(s, VAR_1); } else { trace_migration_socket_outgoing_connected(); migration_set_outgoing_channel(s, sioc); } object_unref(VAR_0); }