mirror of https://gitee.com/openkylin/libvirt.git
qemu: migration: Don't call qemuBlockJobSyncEndDisk when block job has terminated
Now that the data is per-job, we don't really need to bother with finishing the synchronous job handling if the job is already terminated. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
a54acc8570
commit
e5f704c971
|
@ -577,7 +577,6 @@ qemuMigrationSrcNBDCopyCancelled(virDomainObjPtr vm,
|
|||
ATTRIBUTE_FALLTHROUGH;
|
||||
case VIR_DOMAIN_BLOCK_JOB_CANCELED:
|
||||
case VIR_DOMAIN_BLOCK_JOB_COMPLETED:
|
||||
qemuBlockJobSyncEndDisk(vm, asyncJob, disk);
|
||||
diskPriv->migrating = false;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue