[PULL 13/18] migration: Move migrate_allow_multifd and helpers into migration.c

2022-04-21 Thread Dr. David Alan Gilbert (git)
From: Peter Xu This variable, along with its helpers, is used to detect whether multiple channel will be supported for migration. In follow up patches, there'll be other capability that requires multi-channels. Hence move it outside multifd specific code and make it public. Meanwhile rename

[PULL 13/18] migration: Move migrate_allow_multifd and helpers into migration.c

2022-04-21 Thread Dr. David Alan Gilbert (git)
From: Peter Xu This variable, along with its helpers, is used to detect whether multiple channel will be supported for migration. In follow up patches, there'll be other capability that requires multi-channels. Hence move it outside multifd specific code and make it public. Meanwhile rename