qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 1/3] migration: Remove duplicated assignement of SET


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 1/3] migration: Remove duplicated assignement of SETUP status
Date: Wed, 20 May 2015 17:35:22 +0200

We assign the MIGRATION_STATUS_SETUP status in two places.  Just in
sucession.  Just remove the second one.

Signed-off-by: Juan Quintela <address@hidden>
---
 migration/migration.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/migration/migration.c b/migration/migration.c
index 1035689..2925587 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -849,9 +849,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);
-- 
2.4.1




reply via email to

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