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 "qemu-common.h"
17 #include "qapi/qapi-types-migration.h"
21 COLO_EVENT_CHECKPOINT
,
25 void colo_info_init(void);
27 void migrate_start_colo_process(MigrationState
*s
);
28 bool migration_in_colo_state(void);
31 void migration_incoming_enable_colo(void);
32 void migration_incoming_disable_colo(void);
33 bool migration_incoming_colo_enabled(void);
34 void *colo_process_incoming_thread(void *opaque
);
35 bool migration_incoming_in_colo_state(void);
37 COLOMode
get_colo_mode(void);
40 void colo_do_failover(MigrationState
*s
);
42 void colo_checkpoint_notify(void *opaque
);