summaryrefslogtreecommitdiff
path: root/net/colo-compare.h
diff options
context:
space:
mode:
authorZhang Chen <zhangckid@gmail.com>2018-09-03 12:38:44 +0800
committerJason Wang <jasowang@redhat.com>2018-10-19 11:15:03 +0800
commitdccd0313b69161fe2235c97633f40ecc041542ac (patch)
tree3b08572eb1ed2476c3c83e9eb7432daf8bcefada /net/colo-compare.h
parent0ffcece32519e85a2971cafdc421f4fd3107d766 (diff)
colo-compare: use notifier to notify packets comparing result
It's a good idea to use notifier to notify COLO frame of inconsistent packets comparing. Signed-off-by: Zhang Chen <zhangckid@gmail.com> Signed-off-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/colo-compare.h')
-rw-r--r--net/colo-compare.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/colo-compare.h b/net/colo-compare.h
index 1b1ce76aea..22ddd512e2 100644
--- a/net/colo-compare.h
+++ b/net/colo-compare.h
@@ -18,5 +18,7 @@
#define QEMU_COLO_COMPARE_H
void colo_notify_compares_event(void *opaque, int event, Error **errp);
+void colo_compare_register_notifier(Notifier *notify);
+void colo_compare_unregister_notifier(Notifier *notify);
#endif /* QEMU_COLO_COMPARE_H */