diff options
author | Juan Quintela <quintela@redhat.com> | 2020-01-23 17:41:36 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2020-02-28 09:25:28 +0100 |
commit | 6a9ad1542065ca0bd54c6fe756c5eac3e093dfb5 (patch) | |
tree | e59640cff5d547f8c30f5ed4ea697f17da9af2db /monitor | |
parent | 3a67848134d0c07da49033f9ed08bf0ddeec0c6d (diff) |
multifd: Add multifd-zstd-level parameter
This parameter specifies the zstd compression level. The next patch
will put it to use.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/hmp-cmds.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/monitor/hmp-cmds.c b/monitor/hmp-cmds.c index 409ebb2b03..30313858c2 100644 --- a/monitor/hmp-cmds.c +++ b/monitor/hmp-cmds.c @@ -1841,6 +1841,10 @@ void hmp_migrate_set_parameter(Monitor *mon, const QDict *qdict) p->has_multifd_zlib_level = true; visit_type_int(v, param, &p->multifd_zlib_level, &err); break; + case MIGRATION_PARAMETER_MULTIFD_ZSTD_LEVEL: + p->has_multifd_zstd_level = true; + visit_type_int(v, param, &p->multifd_zstd_level, &err); + break; case MIGRATION_PARAMETER_XBZRLE_CACHE_SIZE: p->has_xbzrle_cache_size = true; visit_type_size(v, param, &cache_size, &err); |