Signed-off-by: Claudio Fontana <cfontana(a)suse.de>
---
src/qemu/qemu_driver.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 6ea23ee187..faaa6d4243 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -2865,6 +2865,7 @@ qemuDomainSaveParams(virDomainPtr dom,
g_autoptr(virCommand) compressor = NULL;
const char *to = NULL;
const char *dxml = NULL;
+ const char *pcomp = NULL;
int compressed;
int ret = -1;
int nconn = 2;
@@ -2881,6 +2882,8 @@ qemuDomainSaveParams(virDomainPtr dom,
VIR_TYPED_PARAM_STRING,
VIR_DOMAIN_SAVE_PARAM_PARALLEL_CONNECTIONS,
VIR_TYPED_PARAM_INT,
+ VIR_DOMAIN_SAVE_PARAM_PARALLEL_COMPRESSION,
+ VIR_TYPED_PARAM_STRING,
NULL) < 0)
return -1;
@@ -2892,6 +2895,8 @@ qemuDomainSaveParams(virDomainPtr dom,
return -1;
if (virTypedParamsGetInt(params, nparams, VIR_DOMAIN_SAVE_PARAM_PARALLEL_CONNECTIONS,
&nconn) < 0)
return -1;
+ if (virTypedParamsGetString(params, nparams,
VIR_DOMAIN_SAVE_PARAM_PARALLEL_COMPRESSION, &pcomp) < 0)
+ return -1;
if (!(vm = qemuDomainObjFromDomain(dom)))
goto cleanup;
@@ -2914,7 +2919,7 @@ qemuDomainSaveParams(virDomainPtr dom,
goto cleanup;
ret = qemuDomainSaveInternal(driver, vm, to, compressed,
- compressor, dxml, nconn, NULL, flags);
+ compressor, dxml, nconn, pcomp, flags);
cleanup:
virDomainObjEndAPI(&vm);
--
2.35.3