[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/6] COLO-compare: Rename the colo_compare_inconsist
From: |
Zhang Chen |
Subject: |
[Qemu-devel] [PATCH 5/6] COLO-compare: Rename the colo_compare_inconsistency_notify |
Date: |
Sun, 2 Jun 2019 11:42:38 +0800 |
From: Zhang Chen <address@hidden>
We have add the notify_remote_frame function for Xen,
so we rename the colo_compare_inconsistency_notify to
notify_native_frame(KVM-qemu COLO frame) looks better.
Signed-off-by: Zhang Chen <address@hidden>
---
net/colo-compare.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/net/colo-compare.c b/net/colo-compare.c
index 19075c7a66..101c1f477e 100644
--- a/net/colo-compare.c
+++ b/net/colo-compare.c
@@ -120,7 +120,7 @@ enum {
SECONDARY_IN,
};
-static void colo_compare_inconsistency_notify(void)
+static void notify_native_frame(void)
{
notifier_list_notify(&colo_compare_notifiers,
migrate_get_current());
@@ -449,7 +449,7 @@ sec:
if (s->notify_dev) {
notify_remote_frame(s);
} else {
- colo_compare_inconsistency_notify();
+ notify_native_frame();
}
}
}
@@ -606,7 +606,7 @@ static int colo_old_packet_check_one_conn(Connection *conn,
if (s->notify_dev) {
notify_remote_frame(s);
} else {
- colo_compare_inconsistency_notify();
+ notify_native_frame();
}
return 0;
}
@@ -660,7 +660,7 @@ static void colo_compare_packet(CompareState *s, Connection
*conn,
if (s->notify_dev) {
notify_remote_frame(s);
} else {
- colo_compare_inconsistency_notify();
+ notify_native_frame();
}
break;
}
--
2.17.GIT
- [Qemu-devel] [PATCH 0/6] Add Xen COLO support, Zhang Chen, 2019/06/01
- [Qemu-devel] [PATCH 2/6] COLO-compare: Add remote notification chardev handler frame, Zhang Chen, 2019/06/01
- [Qemu-devel] [PATCH 4/6] COLO-compare: Add colo-compare remote notify support, Zhang Chen, 2019/06/01
- [Qemu-devel] [PATCH 3/6] COLO-compare: Make the compare_chr_send() can send notification message., Zhang Chen, 2019/06/01
- [Qemu-devel] [PATCH 1/6] COLO-compare: Add new parameter to communicate with remote colo-frame, Zhang Chen, 2019/06/01
- [Qemu-devel] [PATCH 5/6] COLO-compare: Rename the colo_compare_inconsistency_notify,
Zhang Chen <=
- [Qemu-devel] [PATCH 6/6] migration/colo.c: Add missed filter notify for Xen COLO., Zhang Chen, 2019/06/01