Re: [Qemu-devel] [PATCH] migration: fix live migration failure with compression

2016-08-11 Thread Dr. David Alan Gilbert
* Amit Shah (amit.s...@redhat.com) wrote: > On (Wed) 10 Aug 2016 [18:58:21], Dr. David Alan Gilbert wrote: > > * Li, Liang Z (liang.z...@intel.com) wrote: > > > > Subject: Re: [PATCH] migration: fix live migration failure with > > > > compression > > > > > > > > * Liang Li (liang.z...@intel.com)

Re: [Qemu-devel] [PATCH] migration: fix live migration failure with compression

2016-08-10 Thread Amit Shah
On (Wed) 10 Aug 2016 [18:58:21], Dr. David Alan Gilbert wrote: > * Li, Liang Z (liang.z...@intel.com) wrote: > > > Subject: Re: [PATCH] migration: fix live migration failure with > > > compression > > > > > > * Liang Li (liang.z...@intel.com) wrote: > > > > Because of commit 11808bb0c422, which r

Re: [Qemu-devel] [PATCH] migration: fix live migration failure with compression

2016-08-10 Thread Dr. David Alan Gilbert
* Li, Liang Z (liang.z...@intel.com) wrote: > > Subject: Re: [PATCH] migration: fix live migration failure with compression > > > > * Liang Li (liang.z...@intel.com) wrote: > > > Because of commit 11808bb0c422, which remove some condition checks of > > > 'f->ops->writev_buffer', 'qemu_put_qemu_fil

Re: [Qemu-devel] [PATCH] migration: fix live migration failure with compression

2016-08-09 Thread Li, Liang Z
> Subject: Re: [PATCH] migration: fix live migration failure with compression > > * Liang Li (liang.z...@intel.com) wrote: > > Because of commit 11808bb0c422, which remove some condition checks of > > 'f->ops->writev_buffer', 'qemu_put_qemu_file' should be enhanced to > > clear the 'f_src->iovcnt'

Re: [Qemu-devel] [PATCH] migration: fix live migration failure with compression

2016-08-09 Thread Dr. David Alan Gilbert
* Liang Li (liang.z...@intel.com) wrote: > Because of commit 11808bb0c422, which remove some condition checks > of 'f->ops->writev_buffer', 'qemu_put_qemu_file' should be enhanced > to clear the 'f_src->iovcnt', or 'f_src->iovcnt' may exceed the > MAX_IOV_SIZE which will break live migration. This

[Qemu-devel] [PATCH] migration: fix live migration failure with compression

2016-08-08 Thread Liang Li
Because of commit 11808bb0c422, which remove some condition checks of 'f->ops->writev_buffer', 'qemu_put_qemu_file' should be enhanced to clear the 'f_src->iovcnt', or 'f_src->iovcnt' may exceed the MAX_IOV_SIZE which will break live migration. This should be fixed. Signed-off-by: Liang Li Report