aboutsummaryrefslogtreecommitdiff
path: root/rules.mak
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-22 17:36:17 +0100
committerJuan Quintela <quintela@redhat.com>2013-03-11 13:32:01 +0100
commitdba433c03a0f5dc22a459435dd89557886298921 (patch)
tree7311d20dd8d7b3cc767486023df055d8f5ab69a9 /rules.mak
parent63dfbd7ee03185c181a0791958ec9c8337089b55 (diff)
migration: simplify error handling
Always use qemu_file_get_error to detect errors, since that is how QEMUFile itself drops I/O after an error occurs. There is no need to propagate and check return values all the time. Also remove the "complete" member, since we know that it is set (via migrate_fd_cleanup) only when the state changes. 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 'rules.mak')
0 files changed, 0 insertions, 0 deletions