|
@@ -113,7 +113,6 @@ static void exec_accept_incoming_migration(void *opaque)
|
|
QEMUFile *f = opaque;
|
|
QEMUFile *f = opaque;
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
- vm_stop(0); /* just in case */
|
|
|
|
ret = qemu_loadvm_state(f);
|
|
ret = qemu_loadvm_state(f);
|
|
if (ret < 0) {
|
|
if (ret < 0) {
|
|
fprintf(stderr, "load of migration failed\n");
|
|
fprintf(stderr, "load of migration failed\n");
|
|
@@ -123,7 +122,6 @@ static void exec_accept_incoming_migration(void *opaque)
|
|
dprintf("successfully loaded vm state\n");
|
|
dprintf("successfully loaded vm state\n");
|
|
/* we've successfully migrated, close the fd */
|
|
/* we've successfully migrated, close the fd */
|
|
qemu_set_fd_handler2(qemu_popen_fd(f), NULL, NULL, NULL, NULL);
|
|
qemu_set_fd_handler2(qemu_popen_fd(f), NULL, NULL, NULL, NULL);
|
|
- vm_start();
|
|
|
|
|
|
|
|
err:
|
|
err:
|
|
qemu_fclose(f);
|
|
qemu_fclose(f);
|