Re: [PATCH RFC 2/4] migration: Introduce migrate_is_precopy()

2020-05-06 Thread Peter Xu
On Wed, May 06, 2020 at 11:05:49AM +0100, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > Export a helper globally to check whether we're during a precopy. > > > > Signed-off-by: Peter Xu > > Can you change this to 'migration_in_precopy' to match the existing > 'migrati

Re: [PATCH RFC 2/4] migration: Introduce migrate_is_precopy()

2020-05-06 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Export a helper globally to check whether we're during a precopy. > > Signed-off-by: Peter Xu Can you change this to 'migration_in_precopy' to match the existing 'migration_in_postcopy'. Dave > --- > include/migration/misc.h | 1 + > migration/migration.

[PATCH RFC 2/4] migration: Introduce migrate_is_precopy()

2020-04-28 Thread Peter Xu
Export a helper globally to check whether we're during a precopy. Signed-off-by: Peter Xu --- include/migration/misc.h | 1 + migration/migration.c| 7 +++ 2 files changed, 8 insertions(+) diff --git a/include/migration/misc.h b/include/migration/misc.h index e338be8c30..b4f6bf7842 1006