mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
migration: move migration notifier
At this point, it is waranteed that state is ACTIVE. Old position didn't assured hat. Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
2e45086533
commit
0d3b26f548
1 changed files with 1 additions and 2 deletions
|
@ -455,8 +455,6 @@ void qmp_migrate(const char *uri, bool has_blk, bool blk,
|
||||||
error_propagate(errp, local_err);
|
error_propagate(errp, local_err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
notifier_list_notify(&migration_state_notifiers, s);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void qmp_migrate_cancel(Error **errp)
|
void qmp_migrate_cancel(Error **errp)
|
||||||
|
@ -814,4 +812,5 @@ void migrate_fd_connect(MigrationState *migration_state)
|
||||||
|
|
||||||
qemu_thread_create(&s->thread, buffered_file_thread, s,
|
qemu_thread_create(&s->thread, buffered_file_thread, s,
|
||||||
QEMU_THREAD_DETACHED);
|
QEMU_THREAD_DETACHED);
|
||||||
|
notifier_list_notify(&migration_state_notifiers, s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue