]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
migration/colo.c: Add missed filter notify for Xen COLO.
authorZhang Chen <chen.zhang@intel.com>
Sun, 9 Jun 2019 16:44:33 +0000 (00:44 +0800)
committerJason Wang <jasowang@redhat.com>
Tue, 2 Jul 2019 02:21:07 +0000 (10:21 +0800)
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>
migration/colo.c

index 8c1644091f2525d6a66470734cd4f12cbee73d5b..9f84b1fa3c0fc30cef355aaa831101834906bc5a 100644 (file)
@@ -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