Re: [Qemu-devel] [PATCH 2/5] migration: Fix a potential issue

2016-05-04 Thread Li, Liang Z
ject: Re: [Qemu-devel] [PATCH 2/5] migration: Fix a potential issue > > Liang Li wrote: > > 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

Re: [Qemu-devel] [PATCH 2/5] migration: Fix a potential issue

2016-05-04 Thread Li, Liang Z
> -Original Message- > From: Dr. David Alan Gilbert [mailto:dgilb...@redhat.com] > Sent: Wednesday, May 04, 2016 4:48 PM > To: Li, Liang Z > Cc: qemu-devel@nongnu.org; quint...@redhat.com; > amit.s...@redhat.com; berra...@redhat.com > Subject: Re: [PATCH 2/5] migration: Fix a potential iss

Re: [Qemu-devel] [PATCH 2/5] migration: Fix a potential issue

2016-05-04 Thread Juan Quintela
Liang Li wrote: > 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 t

Re: [Qemu-devel] [PATCH 2/5] migration: Fix a potential issue

2016-05-04 Thread Dr. David Alan Gilbert
* Liang Li (liang.z...@intel.com) wrote: > 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 overwritte

[Qemu-devel] [PATCH 2/5] migration: Fix a potential issue

2016-05-03 Thread Liang Li
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 fi