Re: [Qemu-devel] [PATCH 1/3] COLO: fix setting checkpoint-delay not working properly

2017-02-08 Thread Hailiang Zhang
On 2017/2/8 18:38, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: If we set checkpoint-delay through command 'migrate-set-parameters', It will not take effect until we finish last sleep chekpoint-delay, That's will be offensive espeically when we want to ch

Re: [Qemu-devel] [PATCH 1/3] COLO: fix setting checkpoint-delay not working properly

2017-02-08 Thread Dr. David Alan Gilbert
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: > If we set checkpoint-delay through command 'migrate-set-parameters', > It will not take effect until we finish last sleep chekpoint-delay, > That's will be offensive espeically when we want to change its value > from an extreme big one to a

[Qemu-devel] [PATCH 1/3] COLO: fix setting checkpoint-delay not working properly

2017-01-17 Thread zhanghailiang
If we set checkpoint-delay through command 'migrate-set-parameters', It will not take effect until we finish last sleep chekpoint-delay, That's will be offensive espeically when we want to change its value from an extreme big one to a proper value. Fix it by using timer to realize checkpoint-delay