[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 5/5] migration: recognize COLO as part of activating process
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[PULL 5/5] migration: recognize COLO as part of activating process |
Date: |
Fri, 13 Mar 2020 10:30:39 +0000 |
From: zhanghailiang <address@hidden>
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 <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
---
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
- [PULL 0/5] migration queue, Dr. David Alan Gilbert (git), 2020/03/13
- [PULL 1/5] configure: Improve zstd test, Dr. David Alan Gilbert (git), 2020/03/13
- [PULL 4/5] ram/colo: only record bitmap of dirty pages in COLO stage, Dr. David Alan Gilbert (git), 2020/03/13
- [PULL 2/5] migration/throttle: Add throttle-trig-thres migration parameter, Dr. David Alan Gilbert (git), 2020/03/13
- [PULL 3/5] COLO: Optimize memory back-up process, Dr. David Alan Gilbert (git), 2020/03/13
- [PULL 5/5] migration: recognize COLO as part of activating process,
Dr. David Alan Gilbert (git) <=
- Re: [PULL 0/5] migration queue, Peter Maydell, 2020/03/13