[libvirt] [PATCH 11/21] Add 'backup' block job type

Eric Blake eblake at redhat.com
Wed Nov 27 18:02:15 UTC 2019


On 11/26/19 3:39 PM, Peter Krempa wrote:
> A backup job may consist of many backup sub-blockjobs. Add the new
> blockjob type and add all type converter strings.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---

> +++ b/include/libvirt/libvirt-domain.h
> @@ -2446,6 +2446,9 @@ typedef enum {
>        * exists as long as sync is active */
>       VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT = 4,
> 
> +    /* Backup (virDomainBackupBegin), job exists until virDomainBackupEnd */

s/virDomainBackupEnd/virDomainAbortJob/

> +    VIR_DOMAIN_BLOCK_JOB_TYPE_BACKUP = 5,
> +
>   # ifdef VIR_ENUM_SENTINELS
>       VIR_DOMAIN_BLOCK_JOB_TYPE_LAST
>   # endif
With that fix,
Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list