mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
dd42ce24a3
commit
d0a14a2ba0
4 changed files with 50 additions and 32 deletions
|
@ -10,11 +10,9 @@ void colo_shutdown(void)
|
|||
{
|
||||
}
|
||||
|
||||
void *colo_process_incoming_thread(void *opaque)
|
||||
int coroutine_fn colo_incoming_co(void)
|
||||
{
|
||||
error_report("Impossible happend: trying to start COLO thread when COLO "
|
||||
"module is not built in");
|
||||
abort();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void colo_checkpoint_delay_set(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue