migration: simplify while loop
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Feb 2013 16:36:07 +0000 (17:36 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 11 Mar 2013 12:32:00 +0000 (13:32 +0100)
commit5da5aad068def65b5e278a6380192d4bfe279585
tree53029ce336815661ef6f90b18f19aa990a03198e
parentfa3889162ff724d09eb6b6bd06ba54769100a77f
migration: simplify while loop

Unify the goto around the loop, with the exit condition at the end of it.
Both can be expressed as "while (ret >= 0)".

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