Migration/colo.c: Fix double close bug when occur COLO failover
commitb8b5734b092baf3c53f3f117595704ffe9469a75
authorZhang Chen <chen.zhang@intel.com>
Sun, 3 Mar 2019 14:50:15 +0000 (3 22:50 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 6 Mar 2019 10:49:18 +0000 (6 10:49 +0000)
treef0e9807b212090ef70ed50c4eae53c7b3c5d8fcf
parentc13c4153f76db23cac06a12044bf4dd346764059
Migration/colo.c: Fix double close bug when occur COLO failover

In migration_incoming_state_destroy(void) will check the mis->to_src_file
to double close the mis->to_src_file when occur COLO failover.

Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190303145021.2962-2-chen.zhang@intel.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/colo.c