Re: [Qemu-devel] [PATCH v5 4/4] migration: handle the error condition properly

2018-09-03 Thread Juan Quintela
guangrong.x...@gmail.com wrote: > From: Xiao Guangrong > > ram_find_and_save_block() can return negative if any error hanppens, > however, it is completely ignored in current code > > Signed-off-by: Xiao Guangrong Reviewed-by: Juan Quintela Good catch.

[Qemu-devel] [PATCH v5 4/4] migration: handle the error condition properly

2018-09-03 Thread guangrong . xiao
From: Xiao Guangrong ram_find_and_save_block() can return negative if any error hanppens, however, it is completely ignored in current code Signed-off-by: Xiao Guangrong --- migration/ram.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/migration/ram.c