summary refs log tree commit diff stats
path: root/migration/qemu-file.c
diff options
context:
space:
mode:
authorLiang Li <liang.z.li@intel.com>2016-05-05 15:32:52 +0800
committerAmit Shah <amit.shah@redhat.com>2016-06-17 18:24:09 +0530
commit5533b2e9bcd222e37ca6c2ff06e79adf9bf036bf (patch)
treea923263edb61d87df0ef9c76f45207e24d8642d6 /migration/qemu-file.c
parent73a8912b8aeed1c992e3f9cb4880e9d1edb935de (diff)
downloadfocaccia-qemu-5533b2e9bcd222e37ca6c2ff06e79adf9bf036bf.tar.gz
focaccia-qemu-5533b2e9bcd222e37ca6c2ff06e79adf9bf036bf.zip
migration: Fix a potential issue
At the end of live migration and before vm_start() on the destination
side, we should make sure all the decompression tasks are finished, if
this can not be guaranteed, the VM may get the incorrect memory data,
or the updated memory may be overwritten by the decompression thread.
Add the code to fix this potential issue.

Suggested-by: David Alan Gilbert <dgilbert@redhat.com>
Suggested-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Liang Li <liang.z.li@intel.com>
Message-Id: <1462433579-13691-3-git-send-email-liang.z.li@intel.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'migration/qemu-file.c')
0 files changed, 0 insertions, 0 deletions