Re: [Qemu-devel] [PULL 3/8] colo-compare: compare the packet in a specified Connection

2017-11-15 Thread Mao Zhongyi
On 11/16/2017 02:57 AM, Peter Maydell wrote: On 14 November 2017 at 02:11, Jason Wang wrote: From: Mao Zhongyi A package from pri_indev or sec_indev only belongs to a particular Connection, so we only need to compare the package in the specified Connection's primary_list and secondary_list,

Re: [Qemu-devel] [PULL 3/8] colo-compare: compare the packet in a specified Connection

2017-11-15 Thread Peter Maydell
On 14 November 2017 at 02:11, Jason Wang wrote: > From: Mao Zhongyi > > A package from pri_indev or sec_indev only belongs to a particular > Connection, so we only need to compare the package in the specified > Connection's primary_list and secondary_list, rather than for each > the whole Connect

[Qemu-devel] [PULL 3/8] colo-compare: compare the packet in a specified Connection

2017-11-13 Thread Jason Wang
From: Mao Zhongyi A package from pri_indev or sec_indev only belongs to a particular Connection, so we only need to compare the package in the specified Connection's primary_list and secondary_list, rather than for each the whole Connection list to compare. This is time-consuming and unnecessary.