diff options
author | Juan Quintela <quintela@redhat.com> | 2019-05-15 13:37:46 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2020-02-28 09:24:43 +0100 |
commit | ab7cbb0b9a3b229025cae3d132504cbb9f25170f (patch) | |
tree | fdac5ef4685dd73aa9595e449ee31cfc6032b5c1 /migration/migration.c | |
parent | a2d07731e7e2f1462e90f9d0a7eaf9e39da29eb0 (diff) |
multifd: Make no compression operations into its own structure
It will be used later.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
---
No comp value needs to be zero.
Diffstat (limited to 'migration/migration.c')
-rw-r--r-- | migration/migration.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/migration/migration.c b/migration/migration.c index bc744d1734..eb7b0a2df0 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -2245,6 +2245,15 @@ int migrate_multifd_channels(void) return s->parameters.multifd_channels; } +MultiFDCompression migrate_multifd_compression(void) +{ + MigrationState *s; + + s = migrate_get_current(); + + return s->parameters.multifd_compression; +} + int migrate_use_xbzrle(void) { MigrationState *s; |