void fd_start_outgoing_migration(MigrationState *s, const char *fdname, Error **errp)

{

    int fd = monitor_get_fd(cur_mon, fdname, errp);

    if (fd == -1) {

        return;

    }

    s->file = qemu_fdopen(fd, "wb");



    migrate_fd_connect(s);

}

void fd_start_outgoing_migration(MigrationState *s, const char *fdname, Error **errp)

{

    int fd = monitor_get_fd(cur_mon, fdname, errp);

    if (fd == -1) {

        return;

    }

    s->file = qemu_fdopen(fd, "wb");



    migrate_fd_connect(s);

}

void FUNC_0(MigrationState *VAR_0, const char *VAR_1, Error **VAR_2)

{

    int VAR_3 = monitor_get_fd(cur_mon, VAR_1, VAR_2);

    if (VAR_3 == -1) {

        return;

    }

    VAR_0->file = qemu_fdopen(VAR_3, "wb");



    migrate_fd_connect(VAR_0);

}

void FUNC_0(MigrationState *VAR_0, const char *VAR_1, Error **VAR_2)
{ int VAR_3 = monitor_get_fd(cur_mon, VAR_1, VAR_2); if (VAR_3 == -1) { return; } VAR_0->file = qemu_fdopen(VAR_3, "wb"); migrate_fd_connect(VAR_0); }