qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: qemu-devel@nongnu.org
Cc: Juan Quintela <quintela@redhat.com>,
	"\\  Dr . David Alan Gilbert \\ " <dgilbert@redhat.com>,
	peterx@redhat.com
Subject: [Qemu-devel] [PATCH v2 1/4] migration: set current_active_state once
Date: Sat,  1 Apr 2017 16:18:42 +0800	[thread overview]
Message-ID: <1491034725-23968-2-git-send-email-peterx@redhat.com> (raw)
In-Reply-To: <1491034725-23968-1-git-send-email-peterx@redhat.com>

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

CC: Juan Quintela <quintela@redhat.com>
CC: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
---
 migration/migration.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/migration/migration.c b/migration/migration.c
index 54060f7..f9f4d98 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -1938,7 +1938,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,
                       MIGRATION_STATUS_ACTIVE);
 
-- 
2.7.4

  reply	other threads:[~2017-04-01  8:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01  8:18 [Qemu-devel] [PATCH v2 0/4] several migrations related patches Peter Xu
2017-04-01  8:18 ` Peter Xu [this message]
2017-04-03 12:57   ` [Qemu-devel] [PATCH v2 1/4] migration: set current_active_state once Philippe Mathieu-Daudé
2017-04-21  9:31   ` Juan Quintela
2017-04-01  8:18 ` [Qemu-devel] [PATCH v2 2/4] migration: rename max_size to threshold_size Peter Xu
2017-04-03 12:58   ` Philippe Mathieu-Daudé
2017-04-21  9:32   ` Juan Quintela
2017-04-01  8:18 ` [Qemu-devel] [PATCH v2 3/4] hmp: info migrate_capability format tunes Peter Xu
2017-04-03 12:59   ` Philippe Mathieu-Daudé
2017-04-21  9:33   ` Juan Quintela
2017-04-01  8:18 ` [Qemu-devel] [PATCH v2 4/4] hmp: info migrate_parameters " Peter Xu
2017-04-03 13:00   ` Philippe Mathieu-Daudé
2017-04-21  9:34   ` Juan Quintela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491034725-23968-2-git-send-email-peterx@redhat.com \
    --to=peterx@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).