aboutsummaryrefslogtreecommitdiff
path: root/migration/colo.c
diff options
context:
space:
mode:
authorZhang Chen <chen.zhang@intel.com>2019-06-10 00:44:33 +0800
committerJason Wang <jasowang@redhat.com>2019-07-02 10:21:07 +0800
commit0e8818f023616677416840d6ddc880db8de3c967 (patch)
treeb0d71bdca173807b4f4f80c5f756ff2fcc3f95bb /migration/colo.c
parent1d09f7008b76de6892613f5e0eebf95c90cc05da (diff)
migration/colo.c: Add missed filter notify for Xen COLO.
We need to notify net filter to do checkpoint for Xen COLO, like KVM side. Signed-off-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'migration/colo.c')
-rw-r--r--migration/colo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/colo.c b/migration/colo.c
index 8c1644091f..9f84b1fa3c 100644
--- a/migration/colo.c
+++ b/migration/colo.c
@@ -259,6 +259,8 @@ ReplicationStatus *qmp_query_xen_replication_status(Error **errp)
void qmp_xen_colo_do_checkpoint(Error **errp)
{
replication_do_checkpoint_all(errp);
+ /* Notify all filters of all NIC to do checkpoint */
+ colo_notify_filters_event(COLO_EVENT_CHECKPOINT, errp);
}
#endif