提交 0d3b26f5 编写于 作者: J Juan Quintela

migration: move migration notifier

At this point, it is waranteed that state is ACTIVE.  Old position
didn't assured hat.
Signed-off-by: NJuan Quintela <quintela@redhat.com>
上级 2e450865
......@@ -455,8 +455,6 @@ void qmp_migrate(const char *uri, bool has_blk, bool blk,
error_propagate(errp, local_err);
return;
}
notifier_list_notify(&migration_state_notifiers, s);
}
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_DETACHED);
notifier_list_notify(&migration_state_notifiers, s);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册