diff options
| author | Paolo Bonzini | 2013-02-22 17:36:16 +0100 |
|---|---|---|
| committer | Juan Quintela | 2013-03-11 13:32:01 +0100 |
| commit | 63dfbd7ee03185c181a0791958ec9c8337089b55 (patch) | |
| tree | cbb7f27a7bc74e97238b1da1817364242ba9d033 /include/migration | |
| parent | migration: flush all data to fd when buffered_flush is called (diff) | |
| download | qemu-63dfbd7ee03185c181a0791958ec9c8337089b55.tar.gz qemu-63dfbd7ee03185c181a0791958ec9c8337089b55.tar.xz qemu-63dfbd7ee03185c181a0791958ec9c8337089b55.zip | |
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>
Diffstat (limited to 'include/migration')
0 files changed, 0 insertions, 0 deletions
