mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: driver: Allow cancellation of the backup job
Use the helper which cancels all blockjobs to perform the backup job cancellation in qemuDomainAbortJob. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -14044,7 +14044,8 @@ static int qemuDomainAbortJob(virDomainPtr dom)
|
||||
break;
|
||||
|
||||
case QEMU_ASYNC_JOB_BACKUP:
|
||||
/* TODO: to be implemented later */
|
||||
qemuBackupJobCancelBlockjobs(vm, priv->backup, true);
|
||||
ret = 0;
|
||||
break;
|
||||
|
||||
case QEMU_ASYNC_JOB_LAST:
|
||||
|
||||
Reference in New Issue
Block a user