[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 15/15] savevm: Don't call colo_init_ram_cache twice
From: |
Juan Quintela |
Subject: |
[PULL 15/15] savevm: Don't call colo_init_ram_cache twice |
Date: |
Fri, 28 Feb 2020 10:24:20 +0100 |
From: zhanghailiang <address@hidden>
This helper has been called twice which is wrong.
Left the one where called while get COLO enable message
from source side.
Signed-off-by: zhanghailiang <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
migration/migration.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/migration/migration.c b/migration/migration.c
index 92272250f4..0b2045ccbd 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -489,11 +489,6 @@ static void process_incoming_migration_co(void *opaque)
goto fail;
}
- if (colo_init_ram_cache() < 0) {
- error_report("Init ram cache failed");
- goto fail;
- }
-
qemu_thread_create(&mis->colo_incoming_thread, "COLO incoming",
colo_process_incoming_thread, mis, QEMU_THREAD_JOINABLE);
mis->have_colo_incoming_thread = true;
--
2.24.1
- [PULL 06/15] configure: Enable test and libs for zstd, (continued)
- [PULL 06/15] configure: Enable test and libs for zstd, Juan Quintela, 2020/02/28
- [PULL 05/15] multifd: Add zlib compression multifd support, Juan Quintela, 2020/02/28
- [PULL 07/15] multifd: Add multifd-zstd-level parameter, Juan Quintela, 2020/02/28
- [PULL 08/15] multifd: Add zstd compression multifd support, Juan Quintela, 2020/02/28
- [PULL 09/15] migration/vmstate: Remove redundant statement in vmstate_save_state_v(), Juan Quintela, 2020/02/28
- [PULL 10/15] test-vmstate: Fix memleaks in test_load_qlist, Juan Quintela, 2020/02/28
- [PULL 11/15] migration/savevm: release gslist after dump_vmstate_json, Juan Quintela, 2020/02/28
- [PULL 12/15] migration/block: rename BLOCK_SIZE macro, Juan Quintela, 2020/02/28
- [PULL 13/15] migration: fix COLO broken caused by a previous commit, Juan Quintela, 2020/02/28
- [PULL 14/15] migration/colo: wrap incoming checkpoint process into new helper, Juan Quintela, 2020/02/28
- [PULL 15/15] savevm: Don't call colo_init_ram_cache twice,
Juan Quintela <=
- Re: [PULL 00/15] Pull migration patches, Peter Maydell, 2020/02/28