void exec_start_outgoing_migration(MigrationState *s, const char *command, Error **errp)

{

    QIOChannel *ioc;

    const char *argv[] = { "/bin/sh", "-c", command, NULL };



    trace_migration_exec_outgoing(command);

    ioc = QIO_CHANNEL(qio_channel_command_new_spawn(argv,

                                                    O_WRONLY,

                                                    errp));

    if (!ioc) {

        return;

    }



    migration_set_outgoing_channel(s, ioc);

    object_unref(OBJECT(ioc));

}

void exec_start_outgoing_migration(MigrationState *s, const char *command, Error **errp)

{

    QIOChannel *ioc;

    const char *argv[] = { "/bin/sh", "-c", command, NULL };



    trace_migration_exec_outgoing(command);

    ioc = QIO_CHANNEL(qio_channel_command_new_spawn(argv,

                                                    O_WRONLY,

                                                    errp));

    if (!ioc) {

        return;

    }



    migration_set_outgoing_channel(s, ioc);

    object_unref(OBJECT(ioc));

}

    migration_set_outgoing_channel(s, ioc);     migration_set_outgoing_channel(s, ioc);
void FUNC_0(MigrationState *VAR_0, const char *VAR_1, Error **VAR_2)

{

    QIOChannel *ioc;

    const char *VAR_3[] = { "/bin/sh", "-c", VAR_1, NULL };



    trace_migration_exec_outgoing(VAR_1);

    ioc = QIO_CHANNEL(qio_channel_command_new_spawn(VAR_3,

                                                    O_WRONLY,

                                                    VAR_2));

    if (!ioc) {

        return;

    }



    migration_set_outgoing_channel(VAR_0, ioc);

    object_unref(OBJECT(ioc));

}

void FUNC_0(MigrationState *VAR_0, const char *VAR_1, Error **VAR_2)
{ QIOChannel *ioc; const char *VAR_3[] = { "/bin/sh", "-c", VAR_1, NULL }; trace_migration_exec_outgoing(VAR_1); ioc = QIO_CHANNEL(qio_channel_command_new_spawn(VAR_3,
O_WRONLY,
VAR_2)); if (!ioc) { return; } migration_set_outgoing_channel(VAR_0, ioc); object_unref(OBJECT(ioc)); }