提交 e0daa03a 编写于 作者: P Peter Krempa

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: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NEric Blake <eblake@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 5ea6cec9
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册