migration/rdma: Convert qemu_rdma_write() to Error
[qemu/armbru.git] / net / colo-compare.h
blobb055270da2ce46dedafd9c371cffdf70c179facd
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) 2017 HUAWEI TECHNOLOGIES CO., LTD.
6 * Copyright (c) 2017 FUJITSU LIMITED
7 * Copyright (c) 2017 Intel Corporation
9 * Authors:
10 * zhanghailiang <zhang.zhanghailiang@huawei.com>
11 * Zhang Chen <zhangckid@gmail.com>
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.
17 #ifndef QEMU_COLO_COMPARE_H
18 #define QEMU_COLO_COMPARE_H
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 void colo_compare_cleanup(void);
25 #endif /* QEMU_COLO_COMPARE_H */