mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00: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:
parent
5ea6cec9ef
commit
e0daa03a35
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user