migration: process_incoming_migration_co(): move colo part to colo
commitd0a14a2ba01c7b200e6ce3e7979e1ed3ede1d5c7
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Mon, 15 May 2023 13:06:40 +0000 (15 16:06 +0300)
committerJuan Quintela <quintela@redhat.com>
Thu, 18 May 2023 16:40:51 +0000 (18 18:40 +0200)
treed1ea02b4b95b9946d28a3c4e37f0c93d6584f065
parentdd42ce24a3cda4be3c839aceb91fdf85e31c194f
migration: process_incoming_migration_co(): move colo part to colo

Let's make better public interface for COLO: instead of
colo_process_incoming_thread and not trivial logic around creating the
thread let's make simple colo_incoming_co(), hiding implementation from
generic code.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20230515130640.46035-4-vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/colo.h
migration/colo.c
migration/migration.c
stubs/colo.c