[Qemu-devel] [PATCHv4 00/03] Replace the COLO comparing thread with IOThread

Wang yong posted 3 patches 6 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1503391578-6121-1-git-send-email-wang.yong155@zte.com.cn
Test FreeBSD passed
Test checkpatch passed
Test docker passed
Test s390x passed
include/sysemu/iothread.h | 10 +++++++++
iothread.c                | 54 +++++++++++++++++++++++++++++++++++++++++++++++
net/colo-compare.c | 75 ++++++++++++++++++++++++++++--------------------------
docs/colo-proxy.txt | 3 ++-
[Qemu-devel] [PATCHv4 00/03] Replace the COLO comparing thread with IOThread
Posted by Wang yong 6 years, 8 months ago
From: Wang Yong <wang.yong155@zte.com.cn>

It's a good idea to use IOThread instead of COLO comparing thread.
comparing thread can be completely replaced by IOThread, so this idea came.

This series of updates mainly include IOThread supports the GMainContext
event loop, then the old packet regularly check and primary/secondary network
packets compare all into the IOThread processing.

Please review,thanks.

wangyong(3):
qemu-iothread: IOThread supports the GMainContext event loop
colo-compare: Use IOThread to Check old packet regularly and
 Process pactkets of the primary
colo-compare: Update the COLO document to add the IOThread
 configuration

 include/sysemu/iothread.h | 10 +++++++++
 iothread.c                | 54 +++++++++++++++++++++++++++++++++++++++++++++++
 net/colo-compare.c | 75 ++++++++++++++++++++++++++++--------------------------
 docs/colo-proxy.txt | 3 ++- 
 4 file changed, 86 insertions(+), 37 deletions(-)

--
1.8.3.1