]>
Commit | Line | Data |
---|---|---|
d89e666e HZ |
1 | /* |
2 | * COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO) | |
3 | * (a.k.a. Fault Tolerance or Continuous Replication) | |
4 | * | |
5 | * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD. | |
6 | * Copyright (c) 2016 FUJITSU LIMITED | |
7 | * Copyright (c) 2016 Intel Corporation | |
8 | * | |
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. | |
11 | */ | |
12 | ||
13 | #ifndef QEMU_FAILOVER_H | |
14 | #define QEMU_FAILOVER_H | |
15 | ||
16 | #include "qemu-common.h" | |
9af23989 | 17 | #include "qapi/qapi-types-migration.h" |
d89e666e | 18 | |
aef06085 HZ |
19 | void failover_init_state(void); |
20 | FailoverStatus failover_set_state(FailoverStatus old_state, | |
21 | FailoverStatus new_state); | |
22 | FailoverStatus failover_get_state(void); | |
d89e666e | 23 | void failover_request_active(Error **errp); |
b3f7f0c5 | 24 | bool failover_request_is_active(void); |
d89e666e HZ |
25 | |
26 | #endif |