Re: [Qemu-devel] [PATCH 3/8] migration: support to detectcompression and decompression errors

2018-03-27 Thread Peter Xu
On Tue, Mar 27, 2018 at 10:35:29PM +0800, Xiao Guangrong wrote: > > > On 03/28/2018 08:43 AM, jiang.bi...@zte.com.cn wrote: > > > On 03/27/2018 07:17 PM, Peter Xu wrote: > > > > On Tue, Mar 27, 2018 at 03:42:32AM +0800, Xiao Guangrong wrote: > > > > > > > > [...] > > > > > > > > > > It'll be un

Re: [Qemu-devel] [PATCH 3/8] migration: support to detectcompression and decompression errors

2018-03-27 Thread Xiao Guangrong
On 03/28/2018 08:43 AM, jiang.bi...@zte.com.cn wrote: On 03/27/2018 07:17 PM, Peter Xu wrote: On Tue, Mar 27, 2018 at 03:42:32AM +0800, Xiao Guangrong wrote: [...] It'll be understandable to me if the problem is that the compress() API does not allow the input buffer to be changed during th

Re: [Qemu-devel] [PATCH 3/8] migration: support to detectcompression and decompression errors

2018-03-27 Thread jiang.biao2
> On 03/27/2018 07:17 PM, Peter Xu wrote: >> On Tue, Mar 27, 2018 at 03:42:32AM +0800, Xiao Guangrong wrote: >> >> [...] >> It'll be understandable to me if the problem is that the compress() API does not allow the input buffer to be changed during the whole period of the call. If