migration: fix xbzrle encoding rate calculation
[qemu/armbru.git] / net / colo-compare.h
blob22ddd512e2774ea7fb55532b50eae525ec50c06f
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);
24 #endif /* QEMU_COLO_COMPARE_H */