diff options
| author | Liang Li | 2016-08-09 02:22:26 +0200 |
|---|---|---|
| committer | Amit Shah | 2016-08-11 13:29:53 +0200 |
| commit | 787d134fb164e0395685744ef75829c15f5aee8d (patch) | |
| tree | d6a7b271d5329e15a25da5ad9a20afd8ef82aa9c /scripts | |
| parent | migration: mmap error check fix (diff) | |
| download | qemu-787d134fb164e0395685744ef75829c15f5aee8d.tar.gz qemu-787d134fb164e0395685744ef75829c15f5aee8d.tar.xz qemu-787d134fb164e0395685744ef75829c15f5aee8d.zip | |
migration: fix live migration failure with compression
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 <liang.z.li@intel.com>
Reported-by: Jinshi Zhang <jinshi.c.zhang@intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1470702146-24399-1-git-send-email-liang.z.li@intel.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
