Message ID | 20200224065414.36524-4-zhang.zhanghailiang@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Optimize VM's downtime while do checkpoint in COLO | expand |
zhanghailiang <zhang.zhanghailiang@huawei.com> wrote: > 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 <zhang.zhanghailiang@huawei.com> Reviewed-by: Juan Quintela <quintela@redhat.com>
diff --git a/migration/migration.c b/migration/migration.c index 06d1ff9d56..e8c62c6e2e 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -484,11 +484,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;
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 <zhang.zhanghailiang@huawei.com> --- migration/migration.c | 5 ----- 1 file changed, 5 deletions(-)