Re: [Qemu-devel] [PATCH 10/41] migration: use qemu_file_set_error

2013-02-22 Thread Juan Quintela
Paolo Bonzini wrote: > Remove the return value of buffered_flush, pass it via the error code > of s->file. Once this is done, the error can be retrieved simply > via migrate_fd_close's call to qemu_fclose. > > Signed-off-by: Paolo Bonzini Reviewed-by: Juan Quintela

Re: [Qemu-devel] [PATCH 10/41] migration: use qemu_file_set_error

2013-02-18 Thread Orit Wasserman
On 02/15/2013 07:46 PM, Paolo Bonzini wrote: > Remove the return value of buffered_flush, pass it via the error code > of s->file. Once this is done, the error can be retrieved simply > via migrate_fd_close's call to qemu_fclose. > > Signed-off-by: Paolo Bonzini > --- > migration.c | 22 +

[Qemu-devel] [PATCH 10/41] migration: use qemu_file_set_error

2013-02-15 Thread Paolo Bonzini
Remove the return value of buffered_flush, pass it via the error code of s->file. Once this is done, the error can be retrieved simply via migrate_fd_close's call to qemu_fclose. Signed-off-by: Paolo Bonzini --- migration.c | 22 ++ 1 files changed, 6 insertions(+), 16 del