void exec_start_incoming_migration(const char *command, Error **errp)

{

    QEMUFile *f;



    DPRINTF("Attempting to start an incoming migration\n");

    f = qemu_popen_cmd(command, "r");

    if(f == NULL) {

        error_setg_errno(errp, errno, "failed to popen the migration source");

        return;

    }



    qemu_set_fd_handler2(qemu_get_fd(f), NULL,

			 exec_accept_incoming_migration, NULL, f);

}

void exec_start_incoming_migration(const char *command, Error **errp)

{

    QEMUFile *f;



    DPRINTF("Attempting to start an incoming migration\n");

    f = qemu_popen_cmd(command, "r");

    if(f == NULL) {

        error_setg_errno(errp, errno, "failed to popen the migration source");

        return;

    }



    qemu_set_fd_handler2(qemu_get_fd(f), NULL,

			 exec_accept_incoming_migration, NULL, f);

}

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

{

    QEMUFile *f;



    DPRINTF("Attempting to start an incoming migration\n");

    f = qemu_popen_cmd(VAR_0, "r");

    if(f == NULL) {

        error_setg_errno(VAR_1, errno, "failed to popen the migration source");

        return;

    }



    qemu_set_fd_handler2(qemu_get_fd(f), NULL,

			 exec_accept_incoming_migration, NULL, f);

}

void FUNC_0(const char *VAR_0, Error **VAR_1)
{ QEMUFile *f; DPRINTF("Attempting to start an incoming migration\n"); f = qemu_popen_cmd(VAR_0, "r"); if(f == NULL) { error_setg_errno(VAR_1, errno, "failed to popen the migration source"); return; } qemu_set_fd_handler2(qemu_get_fd(f), NULL,
exec_accept_incoming_migration, NULL, f); }