diff options
author | Peter Xu <peterx@redhat.com> | 2022-03-31 11:08:42 -0400 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2022-04-21 19:36:46 +0100 |
commit | f444eeda715d2307d45890eb488f309eede99250 (patch) | |
tree | 70ae14070a6e1e29a96136f976293b7764f460fd /migration/migration.h | |
parent | ea2faf0c35f0f9d1f3d7c9c88637b9014575e02b (diff) | |
download | qemu-f444eeda715d2307d45890eb488f309eede99250.zip qemu-f444eeda715d2307d45890eb488f309eede99250.tar.gz qemu-f444eeda715d2307d45890eb488f309eede99250.tar.bz2 |
migration: Move migrate_allow_multifd and helpers into migration.c
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 it from "multifd" to
"multi_channels" to show its real meaning.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20220331150857.74406-5-peterx@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/migration.h')
-rw-r--r-- | migration/migration.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/migration/migration.h b/migration/migration.h index 2de861d..f17ccc6 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -430,4 +430,7 @@ void migration_cancel(const Error *error); void populate_vfio_info(MigrationInfo *info); void postcopy_temp_page_reset(PostcopyTmpPage *tmp_page); +bool migrate_multi_channels_is_allowed(void); +void migrate_protocol_allow_multi_channels(bool allow); + #endif |