[libvirt] [PATCH RFC 36/40] qemu: domain: Track backup job data in the status XML

Eric Blake eblake at redhat.com
Thu Nov 7 23:18:42 UTC 2019


On 10/18/19 11:11 AM, Peter Krempa wrote:
> Store the data of a backup job along with the index counter for new
> backup jobs in the status XML. Currently we will support only one
> backup job and thus there's no necessity to add arrays of jobs.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/qemu/qemu_domain.c | 72 ++++++++++++++++++++++++++++++++++++++++++
>   src/qemu/qemu_domain.h |  4 +++
>   2 files changed, 76 insertions(+)
> 
> diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
> index d5a2ddaa8c..738f06bc5b 100644
> --- a/src/qemu/qemu_domain.c
> +++ b/src/qemu/qemu_domain.c
> @@ -61,6 +61,7 @@
>   #include "locking/domain_lock.h"
>   #include "virdomainsnapshotobjlist.h"
>   #include "virdomaincheckpointobjlist.h"
> +#include "backup_conf.h"

Do we try to keep this list sorted in any way?

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