We need a place to store stats of completed sub-jobs so that we can
later report accurate stats.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/conf/backup_conf.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/conf/backup_conf.h b/src/conf/backup_conf.h
index c970e01920..5dfc42e297 100644
--- a/src/conf/backup_conf.h
+++ b/src/conf/backup_conf.h
@@ -70,6 +70,13 @@ struct _virDomainBackupDef {
size_t ndisks; /* should not exceed dom->ndisks */
virDomainBackupDiskDef *disks;
+
+ /* internal data */
+ /* statistic totals for completed diks */
+ unsigned long long push_transferred;
+ unsigned long long push_total;
+ unsigned long long pull_tmp_used;
+ unsigned long long pull_tmp_total;
};
typedef enum {
--
2.23.0