mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
![Steve Sistare](/assets/img/avatar_default.png)
Remove private migration interfaces from net/colo-compare.c and push them to migration/colo.c. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Link: https://lore.kernel.org/r/1710179338-294359-10-git-send-email-steven.sistare@oracle.com Signed-off-by: Peter Xu <peterx@redhat.com>
37 lines
621 B
C
37 lines
621 B
C
#include "qemu/osdep.h"
|
|
#include "qemu/notify.h"
|
|
#include "net/colo-compare.h"
|
|
#include "migration/colo.h"
|
|
#include "qemu/error-report.h"
|
|
#include "qapi/qapi-commands-migration.h"
|
|
|
|
void colo_shutdown(void)
|
|
{
|
|
}
|
|
|
|
int coroutine_fn colo_incoming_co(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void colo_checkpoint_delay_set(void)
|
|
{
|
|
}
|
|
|
|
void migrate_start_colo_process(MigrationState *s)
|
|
{
|
|
error_report("Impossible happened: trying to start COLO when COLO "
|
|
"module is not built in");
|
|
abort();
|
|
}
|
|
|
|
bool migration_in_colo_state(void)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool migration_incoming_in_colo_state(void)
|
|
{
|
|
return false;
|
|
}
|