failover.h (781B)
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 "qapi/qapi-types-migration.h" 17 18void failover_init_state(void); 19FailoverStatus failover_set_state(FailoverStatus old_state, 20 FailoverStatus new_state); 21FailoverStatus failover_get_state(void); 22void failover_request_active(Error **errp); 23bool failover_request_is_active(void); 24 25#endif