« Previous | Next » 

Revision 2350e13c

ID2350e13c93c28f717e2ba1b31560b49ac6f81d4d

Added by Yoshiaki Tamura over 12 years ago

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 <>
Signed-off-by: Juan Quintela <>
Reviewed-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences