[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 26/27] migration: remove some block_cleanup_parameter
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PULL 26/27] migration: remove some block_cleanup_parameters() |
Date: |
Mon, 15 Jan 2018 12:53:08 +0100 |
From: Peter Xu <address@hidden>
Keep the one in migrate_fd_cleanup() would be enough. Removing the other
two.
Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
migration/migration.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/migration/migration.c b/migration/migration.c
index 793fd163f7..47367cffae 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -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)
--
2.14.3
- [Qemu-devel] [PULL 16/27] migration: qemu_savevm_state_cleanup() in cleanup, (continued)
- [Qemu-devel] [PULL 16/27] migration: qemu_savevm_state_cleanup() in cleanup, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 15/27] migration: assert colo instead of check, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 17/27] migration: remove "enable_colo" var, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 18/27] migration: split use of MigrationState.total_time, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 19/27] migration: move vm_old_running into global state, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 20/27] migration: introduce downtime_start, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 21/27] migration: introduce migrate_calculate_complete, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 23/27] migration: cleanup stats update into function, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 22/27] migration: use switch at the end of migration, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 24/27] migration: major cleanup for migrate iterations, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 26/27] migration: remove some block_cleanup_parameters(),
Juan Quintela <=
- [Qemu-devel] [PULL 25/27] migration: put the finish part into a new function, Juan Quintela, 2018/01/15
- [Qemu-devel] [PULL 27/27] migration: remove notify in fd_error, Juan Quintela, 2018/01/15
- Re: [Qemu-devel] [PULL 00/27] Migration pull, Peter Maydell, 2018/01/15
- Re: [Qemu-devel] [PULL 00/27] Migration pull, Philippe Mathieu-Daudé, 2018/01/19
- Re: [Qemu-devel] [PULL 00/27] Migration pull, Alexey Perevalov, 2018/01/19
- Re: [Qemu-devel] [PULL 00/27] Migration pull, Peter Maydell, 2018/01/19
- Re: [Qemu-devel] [PULL 00/27] Migration pull, Juan Quintela, 2018/01/20
- Re: [Qemu-devel] [PULL 00/27] Migration pull, Philippe Mathieu-Daudé, 2018/01/20