aboutsummaryrefslogtreecommitdiff
path: root/check-qlist.c
diff options
context:
space:
mode:
authorYoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>2011-02-23 00:01:24 +0900
committerJuan Quintela <quintela@redhat.com>2011-10-20 13:23:51 +0200
commit2350e13c93c28f717e2ba1b31560b49ac6f81d4d (patch)
tree4b2862a3fdf4467d126e05e5056215677c129659 /check-qlist.c
parente6494061690df2af7368752f35f5c22b5856e83c (diff)
downloadqemu-2350e13c93c28f717e2ba1b31560b49ac6f81d4d.zip
qemu-2350e13c93c28f717e2ba1b31560b49ac6f81d4d.tar.gz
qemu-2350e13c93c28f717e2ba1b31560b49ac6f81d4d.tar.bz2
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>
Diffstat (limited to 'check-qlist.c')
0 files changed, 0 insertions, 0 deletions