qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 27/27] migration: remove notify in fd_error


From: Juan Quintela
Subject: [Qemu-devel] [PULL 27/27] migration: remove notify in fd_error
Date: Mon, 15 Jan 2018 12:53:09 +0100

From: Peter Xu <address@hidden>

It is already called in migrate_fd_cleanup.

Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
 migration/migration.c | 1 -
 1 file changed, 1 deletion(-)

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)
-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]