Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/qemu/qemu_migration_params.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/qemu/qemu_migration_params.c b/src/qemu/qemu_migration_params.c
index f78e9ad875..36a9fd3509 100644
--- a/src/qemu/qemu_migration_params.c
+++ b/src/qemu/qemu_migration_params.c
@@ -299,17 +299,17 @@ qemuMigrationParamsSetEmptyTLS(virQEMUDriverPtr driver,
int asyncJob,
qemuMonitorMigrationParamsPtr migParams)
{
- qemuDomainObjPrivatePtr priv = vm->privateData;
+ qemuDomainObjPrivatePtr priv = vm->privateData;
- if (qemuMigrationParamsCheckTLSCreds(driver, vm, asyncJob) < 0)
- return -1;
+ if (qemuMigrationParamsCheckTLSCreds(driver, vm, asyncJob) < 0)
+ return -1;
- if (!priv->migTLSAlias)
- return 0;
+ if (!priv->migTLSAlias)
+ return 0;
- if (VIR_STRDUP(migParams->tlsCreds, "") < 0 ||
- VIR_STRDUP(migParams->tlsHostname, "") < 0)
- return -1;
+ if (VIR_STRDUP(migParams->tlsCreds, "") < 0 ||
+ VIR_STRDUP(migParams->tlsHostname, "") < 0)
+ return -1;
return 0;
}
--
2.17.0