qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] colo-compare: fix some bugs
@ 2017-02-17  2:53 zhanghailiang
  2017-02-17  2:53 ` [Qemu-devel] [PATCH v3 1/4] colo-compare: use g_timeout_source_new() to process the stale packets zhanghailiang
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: zhanghailiang @ 2017-02-17  2:53 UTC (permalink / raw)
  To: jasowang, zhangchen.fnst, lizhijian
  Cc: qemu-devel, xuquan8, pss.wulizhen, zhanghailiang

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="y", Size: 1098 bytes --]

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->v3:
 - change the definition of remove_fd_in_watch() instead of
   introducing a function (Marc-André Lureau's suggestion)
v1->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-fd.c     |   6 +--
 chardev/char-io.c     |   8 ++--
 chardev/char-io.h     |   2 +-
 chardev/char-pty.c    |   2 +-
 chardev/char-socket.c |   4 +-
 chardev/char-udp.c    |   6 +--
 chardev/char.c        |   2 +-
 net/colo-compare.c    | 115 ++++++++++++++++++++++++++------------------------
 8 files changed, 74 insertions(+), 71 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-02-20  3:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-17  2:53 [Qemu-devel] [PATCH v3 0/4] colo-compare: fix some bugs zhanghailiang
2017-02-17  2:53 ` [Qemu-devel] [PATCH v3 1/4] colo-compare: use g_timeout_source_new() to process the stale packets zhanghailiang
2017-02-17  8:50   ` Zhang Chen
2017-02-17  2:53 ` [Qemu-devel] [PATCH v3 2/4] colo-compare: kick compare thread to exit after some cleanup in finalization zhanghailiang
2017-02-17  3:50   ` Zhang Chen
2017-02-17  2:53 ` [Qemu-devel] [PATCH v3 3/4] char: remove the right fd been watched in qemu_chr_fe_set_handlers() zhanghailiang
2017-02-17  7:35   ` Marc-André Lureau
2017-02-17  2:53 ` [Qemu-devel] [PATCH v3 4/4] colo-compare: Fix removing fds been watched incorrectly in finalization zhanghailiang
2017-02-17  3:50   ` Zhang Chen
2017-02-20  3:34 ` [Qemu-devel] [PATCH v3 0/4] colo-compare: fix some bugs Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).