[Qemu-devel] [PATCH 34/41] savevm: Only qemu_fflush() can generate errors

2012-10-02 Thread Juan Quintela
Move the error check to the beggining of the callers. Once this is fixed qemu_file_set_if_error() is not used anymore, so remove it. Signed-off-by: Juan Quintela Reviewed-by: Paolo Bonzini --- savevm.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-)

Re: [Qemu-devel] [PATCH 34/41] savevm: Only qemu_fflush() can generate errors

2012-09-21 Thread Paolo Bonzini
Il 21/09/2012 10:47, Juan Quintela ha scritto: > Move the error check to the beggining of the callers. Once this is fixed > qemu_file_set_if_error() is not used anymore, so remove it. > > Signed-off-by: Juan Quintela > --- > savevm.c | 35 ++- > 1 file changed, 1

[Qemu-devel] [PATCH 34/41] savevm: Only qemu_fflush() can generate errors

2012-09-21 Thread Juan Quintela
Move the error check to the beggining of the callers. Once this is fixed qemu_file_set_if_error() is not used anymore, so remove it. Signed-off-by: Juan Quintela --- savevm.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/savevm.c b/sav