mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
migration: remove some block_cleanup_parameters()
Keep the one in migrate_fd_cleanup() would be enough. Removing the other two. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
199aa6d4e4
commit
26978faf2f
1 changed files with 0 additions and 2 deletions
|
@ -1160,7 +1160,6 @@ void migrate_fd_error(MigrationState *s, const Error *error)
|
|||
MIGRATION_STATUS_FAILED);
|
||||
migrate_set_error(s, error);
|
||||
notifier_list_notify(&migration_state_notifiers, s);
|
||||
block_cleanup_parameters(s);
|
||||
}
|
||||
|
||||
static void migrate_fd_cancel(MigrationState *s)
|
||||
|
@ -1206,7 +1205,6 @@ static void migrate_fd_cancel(MigrationState *s)
|
|||
s->block_inactive = false;
|
||||
}
|
||||
}
|
||||
block_cleanup_parameters(s);
|
||||
}
|
||||
|
||||
void add_migration_state_change_notifier(Notifier *notify)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue