This series includes two parts: codes optimization and bug fix.
patch 1 tries to move timer process into colo compare thread as
a new coroutine.
patch 2 ~ 4 fixe some bugs of colo compare.
v2:
- Squash patch 3 of last version into patch 2. (ZhangChen's suggestion)
zhanghailiang (4):
colo-compare: use g_timeout_source_new() to process the stale packets
colo-compare: kick compare thread to exit after some cleanup in
finalization
char: remove the right fd been watched in qemu_chr_fe_set_handlers()
colo-compare: Fix removing fds been watched incorrectly in
finalization
chardev/char-io.c | 13 ++++--
chardev/char-io.h | 2 +
chardev/char.c | 2 +-
net/colo-compare.c | 115 +++++++++++++++++++++++++++--------------------------
4 files changed, 71 insertions(+), 61 deletions(-)
--
1.8.3.1