[Top][All Lists]

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

[Qemu-devel] [PULL 62/65] migration: set current_active_state once

From: Juan Quintela
Subject: [Qemu-devel] [PULL 62/65] migration: set current_active_state once
Date: Fri, 21 Apr 2017 13:56:43 +0200

From: Peter Xu <address@hidden>

We set it right above this one. No need to set it twice.

CC: Juan Quintela <address@hidden>
CC: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
 migration/migration.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/migration/migration.c b/migration/migration.c
index 31e8141..dd7f721 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -1941,7 +1941,6 @@ static void *migration_thread(void *opaque)
     qemu_savevm_state_begin(s->to_dst_file, &s->params);
     s->setup_time = qemu_clock_get_ms(QEMU_CLOCK_HOST) - setup_start;
-    current_active_state = MIGRATION_STATUS_ACTIVE;
     migrate_set_state(&s->state, MIGRATION_STATUS_SETUP,

reply via email to

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