mirror of
https://github.com/qemu/qemu.git
synced 2024-11-23 19:03:38 +08:00
787ea49e80
Currently, it always returns 0, no need to check the return value at all. In addition, enter colo coroutine only if migration_incoming_colo_enabled() is true. Once the destination side enters the COLO* state, the COLO process will take over the remaining processes until COLO exits. Cc: Fabiano Rosas <farosas@suse.de> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> [fixed mangled author email address] Signed-off-by: Fabiano Rosas <farosas@suse.de>
36 lines
608 B
C
36 lines
608 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)
|
|
{
|
|
}
|
|
|
|
void coroutine_fn colo_incoming_co(void)
|
|
{
|
|
}
|
|
|
|
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;
|
|
}
|