aboutsummaryrefslogtreecommitdiff
path: root/migration
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2018-01-03 20:20:17 +0800
committerJuan Quintela <quintela@redhat.com>2018-01-15 12:48:13 +0100
commit816306826a45f4d15352e32d157172af3a35899f (patch)
treef782ce0bb091b973fa82ef04a7afed9989129e1a /migration
parent26978faf2faa4e7688622694ca787a8abc691147 (diff)
migration: remove notify in fd_error
It is already called in migrate_fd_cleanup. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r--migration/migration.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/migration.c b/migration/migration.c
index 47367cffae..d3a1c494c0 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -1159,7 +1159,6 @@ void migrate_fd_error(MigrationState *s, const Error *error)
migrate_set_state(&s->state, MIGRATION_STATUS_SETUP,
MIGRATION_STATUS_FAILED);
migrate_set_error(s, error);
- notifier_list_notify(&migration_state_notifiers, s);
}
static void migrate_fd_cancel(MigrationState *s)