]> git.proxmox.com Git - qemu.git/commit - migration.c
migration: Introduce migrate_fd_completed() for consistency
authorJuan Quintela <quintela@redhat.com>
Tue, 22 Feb 2011 22:32:54 +0000 (23:32 +0100)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Oct 2011 11:23:53 +0000 (13:23 +0200)
commit458cf28e6b01ff9b87a20d199d42b1c1c904cd29
tree7b560cabe08e0f78b626b46eba843332742ca623
parent67afff79111f0ce1ae20010c27a30b5ec61f362c
migration: Introduce migrate_fd_completed() for consistency

This function is a bit different of the others that change the state,
in the sense that if migrate_fd_cleanup() returns an error, it set the
status to error, not completed.

Signed-off-by: Juan Quintela <quintela@redhat.com>
migration.c