Revision cfaf6d36 migration-fd.c

b/migration-fd.c
113 113
    }
114 114
    qemu_announce_self();
115 115
    DPRINTF("successfully loaded vm state\n");
116
    /* we've successfully migrated, close the fd */
117
    qemu_set_fd_handler2(qemu_stdio_fd(f), NULL, NULL, NULL, NULL);
116

  
118 117
    if (autostart)
119 118
        vm_start();
120 119

  
121 120
err:
121
    qemu_set_fd_handler2(qemu_stdio_fd(f), NULL, NULL, NULL, NULL);
122 122
    qemu_fclose(f);
123 123
}
124 124

  

Also available in: Unified diff