From: "Dr. David Alan Gilbert (git)" <dgilbert@redhat.com>
To: qemu-devel@nongnu.org, zhang.zhanghailiang@huawei.com,
zhukeqian1@huawei.com, quintela@redhat.com
Subject: [PULL 5/5] migration: recognize COLO as part of activating process
Date: Fri, 13 Mar 2020 10:30:39 +0000 [thread overview]
Message-ID: <20200313103039.150133-6-dgilbert@redhat.com> (raw)
In-Reply-To: <20200313103039.150133-1-dgilbert@redhat.com>
From: zhanghailiang <zhang.zhanghailiang@huawei.com>
We will migrate parts of dirty pages backgroud lively during the gap time
of two checkpoints, without this modification, it will not work
because ram_save_iterate() will check it before send RAM_SAVE_FLAG_EOS
at the end of it.
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Message-Id: <20200224065414.36524-7-zhang.zhanghailiang@huawei.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
---
migration/migration.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/migration/migration.c b/migration/migration.c
index 59da5d0625..c1d88ace7f 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -854,6 +854,7 @@ bool migration_is_setup_or_active(int state)
case MIGRATION_STATUS_PRE_SWITCHOVER:
case MIGRATION_STATUS_DEVICE:
case MIGRATION_STATUS_WAIT_UNPLUG:
+ case MIGRATION_STATUS_COLO:
return true;
default:
--
2.24.1
next prev parent reply other threads:[~2020-03-13 10:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-13 10:30 [PULL 0/5] migration queue Dr. David Alan Gilbert (git)
2020-03-13 10:30 ` [PULL 1/5] configure: Improve zstd test Dr. David Alan Gilbert (git)
2020-03-13 10:30 ` [PULL 2/5] migration/throttle: Add throttle-trig-thres migration parameter Dr. David Alan Gilbert (git)
2020-03-13 10:30 ` [PULL 3/5] COLO: Optimize memory back-up process Dr. David Alan Gilbert (git)
2020-03-13 10:30 ` [PULL 4/5] ram/colo: only record bitmap of dirty pages in COLO stage Dr. David Alan Gilbert (git)
2020-03-13 10:30 ` Dr. David Alan Gilbert (git) [this message]
2020-03-13 14:48 ` [PULL 0/5] migration queue Peter Maydell
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=20200313103039.150133-6-dgilbert@redhat.com \
--to=dgilbert@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=zhang.zhanghailiang@huawei.com \
--cc=zhukeqian1@huawei.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).