diff options
author | Juan Quintela <quintela@redhat.com> | 2020-01-23 17:08:52 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2020-02-28 09:24:43 +0100 |
commit | 9004db48c080632aef2329c1ac154c448d7da276 (patch) | |
tree | 323c5db26876b58006633ee3622dcff8a93564da /monitor | |
parent | ab7cbb0b9a3b229025cae3d132504cbb9f25170f (diff) |
multifd: Add multifd-zlib-level parameter
This parameter specifies the zlib compression level. The next patch
will put it to use.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@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 d9b4861f94..409ebb2b03 100644 --- a/monitor/hmp-cmds.c +++ b/monitor/hmp-cmds.c @@ -1837,6 +1837,10 @@ void hmp_migrate_set_parameter(Monitor *mon, const QDict *qdict) } p->multifd_compression = compress_type; break; + case MIGRATION_PARAMETER_MULTIFD_ZLIB_LEVEL: + p->has_multifd_zlib_level = true; + visit_type_int(v, param, &p->multifd_zlib_level, &err); + break; case MIGRATION_PARAMETER_XBZRLE_CACHE_SIZE: p->has_xbzrle_cache_size = true; visit_type_size(v, param, &cache_size, &err); |