Hi, This series fixes some bugs of colo compare. Patch 1 is trying to move timer process into colo compare thread as a new coroutine.
Patch 2 ~ 5 fix several bugs in colo compare, for more details, please refer to each patch. Please review, thanks. zhanghailiang (5): colo-compare: use g_timeout_source_new() to process the stale packets colo-compare: kick compare thread to exit while finalize colo-compare: release all unhandled packets in finalize function 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