]> git.proxmox.com Git - qemu.git/commit
migration-tcp: call migrate_fd_error() instead of close() and free().
authorYoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
Wed, 9 Jun 2010 21:50:10 +0000 (06:50 +0900)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Jun 2010 20:46:28 +0000 (15:46 -0500)
commit304e3a7c802969811fe82b6247f63fcba063f52e
treeab39133951665f811186d8d1c604c6ebf58ed4e8
parentfaa1f8ddc18fe30257f2ed6c378fce848b159dab
migration-tcp: call migrate_fd_error() instead of close() and free().

This patch fixes the following error report.  When changing
migration-tcp.c to call migrate_fd_error() instead of close() and
free() by itself, monitor is resumed, and returns allocated mig_state
is set to current_migration in migration.c allows us to print "info
migrate".

Reported-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration-tcp.c