diff options
author | Juan Quintela <quintela@redhat.com> | 2015-05-20 17:14:28 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-06-12 06:42:34 +0200 |
commit | e45a1ebfc65fb23be8cddb684d97eaa92725484d (patch) | |
tree | 4060fbe0f453af104e4da04c476093a4466264fd /migration | |
parent | 5b61d5752156dcbbe2bf1366c877a676ed9f8f51 (diff) | |
download | qemu-e45a1ebfc65fb23be8cddb684d97eaa92725484d.zip qemu-e45a1ebfc65fb23be8cddb684d97eaa92725484d.tar.gz qemu-e45a1ebfc65fb23be8cddb684d97eaa92725484d.tar.bz2 |
migration: Remove duplicated assignment of SETUP status
We assign the MIGRATION_STATUS_SETUP status in two places. Just in
succession. Just remove the second one.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/migration.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/migration/migration.c b/migration/migration.c index 732d229..5d77046 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -838,9 +838,6 @@ static void *migration_thread(void *opaque) void migrate_fd_connect(MigrationState *s) { - s->state = MIGRATION_STATUS_SETUP; - trace_migrate_set_state(MIGRATION_STATUS_SETUP); - /* This is a best 1st approximation. ns to ms */ s->expected_downtime = max_downtime/1000000; s->cleanup_bh = qemu_bh_new(migrate_fd_cleanup, s); |