migration: move more error handling to migrate_fd_cleanup
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Feb 2013 16:36:09 +0000 (17:36 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 11 Mar 2013 12:32:00 +0000 (13:32 +0100)
commit7a2c17216cd5ae4c22844123b8e9360d517932f8
tree0706bacc37853ff1f0547a839bade57c6282d7fc
parent891518abd804401978e402d588733e282be960ad
migration: move more error handling to migrate_fd_cleanup

The next patch will add more cases where qemu_savevm_state_cancel
needs to be called; prepare for that already, the function can be
called twice with no ill effect.

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>
migration.c