[PATCH 17/24] conf: checkpoint: Add a flag storing whether disk 'size' is valid

Eric Blake eblake at redhat.com
Thu Jul 2 19:37:32 UTC 2020


On 7/2/20 9:40 AM, Peter Krempa wrote:
> Avoid printing '0' size in case when we weren't able to determine the
> backup size by adding a flag whether the size is valid and interlock
> printing of the field according to the flag.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/conf/checkpoint_conf.c              | 2 +-
>   src/conf/checkpoint_conf.h              | 1 +
>   tests/qemudomaincheckpointxml2xmltest.c | 1 +
>   3 files changed, 3 insertions(+), 1 deletion(-)
> 

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