Re: [Qemu-devel] [RFC PATCH V5 3/4] colo-compare: introduce packet comparison thread

2016-07-11 Thread Zhang Chen
On 07/08/2016 12:23 PM, Jason Wang wrote: On 2016年06月23日 19:34, Zhang Chen wrote: if packets are same, we send primary packet and drop secondary packet, otherwise notify COLO do checkpoint. More verbose please, e.g how to handle each case of exception (or maybe comment in the code). O

Re: [Qemu-devel] [RFC PATCH V5 3/4] colo-compare: introduce packet comparison thread

2016-07-07 Thread Jason Wang
On 2016年06月23日 19:34, Zhang Chen wrote: if packets are same, we send primary packet and drop secondary packet, otherwise notify COLO do checkpoint. More verbose please, e.g how to handle each case of exception (or maybe comment in the code). Signed-off-by: Zhang Chen Signed-off-by: Li Z

[Qemu-devel] [RFC PATCH V5 3/4] colo-compare: introduce packet comparison thread

2016-06-23 Thread Zhang Chen
if packets are same, we send primary packet and drop secondary packet, otherwise notify COLO do checkpoint. Signed-off-by: Zhang Chen Signed-off-by: Li Zhijian Signed-off-by: Wen Congyang --- net/colo-base.c| 1 + net/colo-base.h| 3 + net/colo-compare.c | 214 +