target/arm: Restore SPSEL to correct CONTROL register on exception return
[qemu/kevin.git] / include / migration / colo.h
blobff9874ea16c56bfd67042f1514181d104a26da4e
1 /*
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.
13 #ifndef QEMU_COLO_H
14 #define QEMU_COLO_H
16 #include "qemu-common.h"
18 void colo_info_init(void);
20 void migrate_start_colo_process(MigrationState *s);
21 bool migration_in_colo_state(void);
23 /* loadvm */
24 bool migration_incoming_enable_colo(void);
25 void migration_incoming_exit_colo(void);
26 void *colo_process_incoming_thread(void *opaque);
27 bool migration_incoming_in_colo_state(void);
29 COLOMode get_colo_mode(void);
31 /* failover */
32 void colo_do_failover(MigrationState *s);
34 void colo_checkpoint_notify(void *opaque);
35 #endif