QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
781 B
25 lines
781 B
/*
|
|
* COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO)
|
|
* (a.k.a. Fault Tolerance or Continuous Replication)
|
|
*
|
|
* Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD.
|
|
* Copyright (c) 2016 FUJITSU LIMITED
|
|
* Copyright (c) 2016 Intel Corporation
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or
|
|
* later. See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef QEMU_FAILOVER_H
|
|
#define QEMU_FAILOVER_H
|
|
|
|
#include "qapi/qapi-types-migration.h"
|
|
|
|
void failover_init_state(void);
|
|
FailoverStatus failover_set_state(FailoverStatus old_state,
|
|
FailoverStatus new_state);
|
|
FailoverStatus failover_get_state(void);
|
|
void failover_request_active(Error **errp);
|
|
bool failover_request_is_active(void);
|
|
|
|
#endif
|
|
|