Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / migration / failover.h
blob475f88f5339d282c563840fc3f8a36f5431da89d
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_FAILOVER_H
14 #define QEMU_FAILOVER_H
16 #include "qapi/qapi-types-migration.h"
18 void failover_init_state(void);
19 FailoverStatus failover_set_state(FailoverStatus old_state,
20 FailoverStatus new_state);
21 FailoverStatus failover_get_state(void);
22 void failover_request_active(Error **errp);
23 bool failover_request_is_active(void);
25 #endif