]> git.proxmox.com Git - qemu.git/blobdiff - migration.c
runstate: Allow user to migrate twice
[qemu.git] / migration.c
index 77a51adc5bb6691b9f9079e717ca158998b3b6f7..62b74a6e26e97baa1b23d6a0457d47411739a21e 100644 (file)
@@ -375,7 +375,7 @@ void migrate_fd_put_ready(void *opaque)
         int old_vm_running = runstate_is_running();
 
         DPRINTF("done iterating\n");
-        vm_stop(RUN_STATE_FINISH_MIGRATE);
+        vm_stop_force_state(RUN_STATE_FINISH_MIGRATE);
 
         if ((qemu_savevm_state_complete(s->mon, s->file)) < 0) {
             if (old_vm_running) {