xref: /openbmc/qemu/net/colo-compare.h (revision 438c78da)
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) 2017 HUAWEI TECHNOLOGIES CO., LTD.
6  * Copyright (c) 2017 FUJITSU LIMITED
7  * Copyright (c) 2017 Intel Corporation
8  *
9  * Authors:
10  *    zhanghailiang <zhang.zhanghailiang@huawei.com>
11  *    Zhang Chen <zhangckid@gmail.com>
12  *
13  * This work is licensed under the terms of the GNU GPL, version 2 or
14  * later.  See the COPYING file in the top-level directory.
15  */
16 
17 #ifndef QEMU_COLO_COMPARE_H
18 #define QEMU_COLO_COMPARE_H
19 
20 void colo_notify_compares_event(void *opaque, int event, Error **errp);
21 void colo_compare_register_notifier(Notifier *notify);
22 void colo_compare_unregister_notifier(Notifier *notify);
23 
24 #endif /* QEMU_COLO_COMPARE_H */
25