aboutsummaryrefslogtreecommitdiff
path: root/migration/migration.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-05-24 09:25:50 +0200
committerJuan Quintela <quintela@redhat.com>2017-06-01 18:31:13 +0200
commitc2355ad47d60d04efb640de57cd719cb24ebe563 (patch)
treee35bfc2bd6d6713e4ba772a8db35496045e73fa4 /migration/migration.c
parent0f42f65781fd784d91730a1366bffcbb9ff47d98 (diff)
downloadqemu-c2355ad47d60d04efb640de57cd719cb24ebe563.zip
qemu-c2355ad47d60d04efb640de57cd719cb24ebe563.tar.gz
qemu-c2355ad47d60d04efb640de57cd719cb24ebe563.tar.bz2
migration: loadvm handlers are not used
So we remove all traces of them. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/migration.c')
-rw-r--r--migration/migration.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/migration/migration.c b/migration/migration.c
index 7087d1a..c3218cd 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -122,7 +122,6 @@ MigrationIncomingState *migration_incoming_get_current(void)
if (!once) {
mis_current.state = MIGRATION_STATUS_NONE;
memset(&mis_current, 0, sizeof(MigrationIncomingState));
- QLIST_INIT(&mis_current.loadvm_handlers);
qemu_mutex_init(&mis_current.rp_mutex);
qemu_event_init(&mis_current.main_thread_load_event, false);
once = true;
@@ -135,7 +134,6 @@ void migration_incoming_state_destroy(void)
struct MigrationIncomingState *mis = migration_incoming_get_current();
qemu_event_destroy(&mis->main_thread_load_event);
- loadvm_free_handlers(mis);
}