commit | 63dfbd7ee03185c181a0791958ec9c8337089b55 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Feb 22 17:36:16 2013 +0100 |
committer | Juan Quintela <quintela@redhat.com> | Mon Mar 11 13:32:01 2013 +0100 |
tree | cbb7f27a7bc74e97238b1da1817364242ba9d033 | |
parent | f5821518ed6d49aae9fd0aa6169d2d74bb83054c [diff] |
migration: use qemu_file_set_error 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. Reviewed-by: Orit Wasserman <owasserm@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>