migration: Only go to the iterate stage if there is anything to send
commitb22ff1fbed9d7f1f677804cbaa9ee03ca17d0013
authorJuan Quintela <quintela@redhat.com>
Wed, 17 Oct 2012 19:06:31 +0000 (17 21:06 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 17 Jan 2013 12:54:52 +0000 (17 13:54 +0100)
treeef97f5ffa1bf1caa656711d0f47d60e74b89a3b5
parentc369f40d2cb39f4eaaf6589c1113b528256d3a09
migration: Only go to the iterate stage if there is anything to send

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
migration.c