qemu-e2k/include/migration
Paolo Bonzini dba433c03a 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>
2013-03-11 13:32:01 +01:00
..
block.h migration: move include files to include/migration/ 2012-12-19 08:31:32 +01:00
migration.h migration: simplify error handling 2013-03-11 13:32:01 +01:00
page_cache.h migration: move include files to include/migration/ 2012-12-19 08:31:32 +01:00
qemu-file.h qemu-file: temporarily expose qemu_file_set_error and qemu_fflush 2013-03-11 13:32:01 +01:00
vmstate.h hw: move fifo.[ch] to libqemuutil 2013-03-01 13:53:10 +01:00