Re: [Qemu-devel] [PATCH] migration: fix saving normal page even if it's been compressed

2018-05-02 Thread Xiao Guangrong
On 05/02/2018 10:46 AM, Peter Xu wrote: On Sat, Apr 28, 2018 at 04:10:45PM +0800, guangrong.x...@gmail.com wrote: From: Xiao Guangrong Fix the bug introduced by da3f56cb2e767016 (migration: remove ram_save_compressed_page()), It should be 'return' rather than 'res' Sorry for this stupid mis

Re: [Qemu-devel] [PATCH] migration: fix saving normal page even if it's been compressed

2018-05-02 Thread Peter Xu
On Wed, May 02, 2018 at 04:30:39PM +0100, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > On Sat, Apr 28, 2018 at 04:10:45PM +0800, guangrong.x...@gmail.com wrote: > > > From: Xiao Guangrong > > > > > > Fix the bug introduced by da3f56cb2e767016 (migration: remove > > >

Re: [Qemu-devel] [PATCH] migration: fix saving normal page even if it's been compressed

2018-05-02 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Sat, Apr 28, 2018 at 04:10:45PM +0800, guangrong.x...@gmail.com wrote: > > From: Xiao Guangrong > > > > Fix the bug introduced by da3f56cb2e767016 (migration: remove > > ram_save_compressed_page()), It should be 'return' rather than > > 'res' > > > > So

Re: [Qemu-devel] [PATCH] migration: fix saving normal page even if it's been compressed

2018-05-01 Thread Peter Xu
On Sat, Apr 28, 2018 at 04:10:45PM +0800, guangrong.x...@gmail.com wrote: > From: Xiao Guangrong > > Fix the bug introduced by da3f56cb2e767016 (migration: remove > ram_save_compressed_page()), It should be 'return' rather than > 'res' > > Sorry for this stupid mistake :( > > Signed-off-by: Xia

[Qemu-devel] [PATCH] migration: fix saving normal page even if it's been compressed

2018-04-28 Thread guangrong . xiao
From: Xiao Guangrong Fix the bug introduced by da3f56cb2e767016 (migration: remove ram_save_compressed_page()), It should be 'return' rather than 'res' Sorry for this stupid mistake :( Signed-off-by: Xiao Guangrong --- migration/ram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif