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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
  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@xxxxxxxxxx>

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux