commit | 2350e13c93c28f717e2ba1b31560b49ac6f81d4d | [log] [tgz] |
---|---|---|
author | Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp> | Wed Feb 23 00:01:24 2011 +0900 |
committer | Juan Quintela <quintela@redhat.com> | Thu Oct 20 13:23:51 2011 +0200 |
tree | 4b2862a3fdf4467d126e05e5056215677c129659 | |
parent | e6494061690df2af7368752f35f5c22b5856e83c [diff] |
migration: add error handling to migrate_fd_put_notify(). Although migrate_fd_put_buffer() sets MIG_STATE_ERROR if it failed, since migrate_fd_put_notify() isn't checking error of underlying QEMUFile, those resources are kept open. This patch checks it and calls migrate_fd_error() in case of error. Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp> Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>