Skip to content
Commit 787d134f authored by Liang Li's avatar Liang Li Committed by Amit Shah
Browse files

migration: fix live migration failure with compression



Because of commit 11808bb0, 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: default avatarLiang Li <liang.z.li@intel.com>
Reported-by: default avatarJinshi Zhang <jinshi.c.zhang@intel.com>
Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1470702146-24399-1-git-send-email-liang.z.li@intel.com>
Signed-off-by: default avatarAmit Shah <amit.shah@redhat.com>
parent 0e8b3cdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment