* Juan Quintela ([email protected]) wrote: > "Dr. David Alan Gilbert (git)" <[email protected]> wrote: > > From: "Dr. David Alan Gilbert" <[email protected]> > > > > Open a return path, and handle messages that are received upon it. > > > > Signed-off-by: Dr. David Alan Gilbert <[email protected]> > > Reviewed-by: Juan Quintela <[email protected]> > > > +/* > > + * Return true if we're already in the middle of a migration > > + * (i.e. any of the active or setup states) > > + */ > > +static bool migration_is_active(MigrationState *ms) > > +{ > > + switch (ms->state) { > > + case MIGRATION_STATUS_ACTIVE: > > + case MIGRATION_STATUS_SETUP: > > + return true; > > + > > + default: > > + return false; > > + > > + } > > +} > > + > > > If you have to resend, you can split this bit, and update users around.
Done; and renamed to migration_is_setup_or_active. Dave -- Dr. David Alan Gilbert / [email protected] / Manchester, UK
