mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
qemu: Reindent qemuMigrationParamsSetEmptyTLS
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
8fabea221c
commit
1b100b74a9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user