Revision cfaf6d36 migration-exec.c

b/migration-exec.c
120 120
    }
121 121
    qemu_announce_self();
122 122
    DPRINTF("successfully loaded vm state\n");
123
    /* we've successfully migrated, close the fd */
124
    qemu_set_fd_handler2(qemu_stdio_fd(f), NULL, NULL, NULL, NULL);
123

  
125 124
    if (autostart)
126 125
        vm_start();
127 126

  
128 127
err:
128
    qemu_set_fd_handler2(qemu_stdio_fd(f), NULL, NULL, NULL, NULL);
129 129
    qemu_fclose(f);
130 130
}
131 131

  

Also available in: Unified diff