Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
savevm: Only qemu_fflush() can generate errors
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 <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
- Loading branch information
Juan Quintela
committed
Oct 17, 2012
1 parent
02c4a05
commit c10682c
Showing
1 changed file
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters