Re: [Qemu-devel] [PATCH 05/36] migration: add error handling to migrate_fd_put_notify().

2011-10-17 Thread Anthony Liguori
On 10/11/2011 05:00 AM, Juan Quintela wrote: From: Yoshiaki Tamura 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 c

[Qemu-devel] [PATCH 05/36] migration: add error handling to migrate_fd_put_notify().

2011-10-11 Thread Juan Quintela
From: Yoshiaki Tamura 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