Don't iterate on precopy-only devices during postcopy
commit35ecd943e7ea8a29b6cc6872ad8ba620e91b4407
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 5 Nov 2015 18:11:14 +0000 (5 18:11 +0000)
committerJuan Quintela <quintela@redhat.com>
Tue, 10 Nov 2015 14:00:28 +0000 (10 15:00 +0100)
tree28a2971c2768c387af8bf499814fbfe0f3239b62
parent663e6c1df8721960c0a3bb6cd5dd047b610c3bad
Don't iterate on precopy-only devices during postcopy

During the postcopy phase we must not call the iterate method on
precopy-only devices, since they may have done some cleanup during
the _complete call at the end of the precopy phase.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/sysemu/sysemu.h
migration/migration.c
migration/savevm.c