2 * COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO)
3 * (a.k.a. Fault Tolerance or Continuous Replication)
5 * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.
6 * Copyright (c) 2016 FUJITSU LIMITED
7 * Copyright (c) 2016 Intel Corporation
9 * This work is licensed under the terms of the GNU GPL, version 2 or
10 * later. See the COPYING file in the top-level directory.
16 #include "qapi/qapi-types-migration.h"
20 COLO_EVENT_CHECKPOINT
,
24 void migrate_start_colo_process(MigrationState
*s
);
25 bool migration_in_colo_state(void);
28 int migration_incoming_enable_colo(void);
29 void migration_incoming_disable_colo(void);
30 bool migration_incoming_colo_enabled(void);
31 bool migration_incoming_in_colo_state(void);
33 COLOMode
get_colo_mode(void);
36 void colo_do_failover(void);
39 * colo_checkpoint_delay_set
41 * Handles change of x-checkpoint-delay migration parameter, called from
42 * migrate_params_apply() to notify COLO module about the change.
44 void colo_checkpoint_delay_set(void);
47 * Starts COLO incoming process. Called from process_incoming_migration_co()
48 * after loading the state.
50 * Called with BQL locked, may temporary release BQL.
52 int coroutine_fn
colo_incoming_co(void);
54 void colo_shutdown(void);