Diff for /qemu/migration.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2018/04/24 16:51:00 version 1.1.1.2, 2018/04/24 17:02:11
Line 212  void migrate_fd_put_ready(void *opaque) Line 212  void migrate_fd_put_ready(void *opaque)
   
     dprintf("iterate\n");      dprintf("iterate\n");
     if (qemu_savevm_state_iterate(s->file) == 1) {      if (qemu_savevm_state_iterate(s->file) == 1) {
           int state;
         dprintf("done iterating\n");          dprintf("done iterating\n");
         vm_stop(0);          vm_stop(0);
   
         bdrv_flush_all();          bdrv_flush_all();
         qemu_savevm_state_complete(s->file);          if ((qemu_savevm_state_complete(s->file)) < 0) {
         s->state = MIG_STATE_COMPLETED;              vm_start();
               state = MIG_STATE_ERROR;
           } else {
               state = MIG_STATE_COMPLETED;
           }
         migrate_fd_cleanup(s);          migrate_fd_cleanup(s);
           s->state = state;
     }      }
 }  }
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


unix.superglobalmegacorp.com