mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +00:00
qemuMigrationSrcWaitForSpice: Remove return value
The only caller doesn't check the return value and actually doesn't have one either. Remove the return value and adjust return statements. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4d1a1fdffd
commit
b76c58081c
@ -1773,21 +1773,20 @@ qemuMigrationDstPostcopyFailed(virDomainObj *vm)
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
static void
|
||||
qemuMigrationSrcWaitForSpice(virDomainObj *vm)
|
||||
{
|
||||
qemuDomainObjPrivate *priv = vm->privateData;
|
||||
qemuDomainJobPrivate *jobPriv = priv->job.privateData;
|
||||
|
||||
if (!jobPriv->spiceMigration)
|
||||
return 0;
|
||||
return;
|
||||
|
||||
VIR_DEBUG("Waiting for SPICE to finish migration");
|
||||
while (!jobPriv->spiceMigrated && !priv->job.abortJob) {
|
||||
if (qemuDomainObjWait(vm) < 0)
|
||||
return -1;
|
||||
return;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user