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

Wang yong posted 3 patches 6 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1502967483-4090-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] [PATCHv3 00/03] Replace the COLO comparing thread with IOThread
Posted by Wang yong 6 years, 7 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


Re: [Qemu-devel] [PATCHv3 00/03] Replace the COLO comparing thread with IOThread
Posted by Zhang Chen 6 years, 7 months ago
Hi~ Wang Yong.

I have rebased this series to colo-for-qemu-2.10-2017-4-22 
<https://github.com/coloft/qemu/tree/colo-for-qemu-2.10-2017-4-22>,

But with this patch set COLO can't start normally, something I missed?

Can you give me a github branch based on colo-for-qemu-2.10-2017-4-22 
<https://github.com/coloft/qemu/tree/colo-for-qemu-2.10-2017-4-22>that 
we can test?


Thanks

Zhang Chen


On 08/17/2017 06:58 PM, Wang yong wrote:
> 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
>
>
>
> .
>

-- 
Thanks
Zhang Chen