Re: [libvirt] [PATCH 2/9] api: Allow keeping completed domain job stats when reading them

2019-11-26 Thread Eric Blake
On 11/25/19 9:01 AM, Peter Krempa wrote: virDomainGetJobStats destroys the completed statistics on the first read. Give the user possibility to keep them around if they wish so. Add a flag VIR_DOMAIN_JOB_STATS_COMPLETED_KEEP which will read the stats without destroying them. Signed-off-by: Pete

[libvirt] [PATCH 2/9] api: Allow keeping completed domain job stats when reading them

2019-11-25 Thread Peter Krempa
virDomainGetJobStats destroys the completed statistics on the first read. Give the user possibility to keep them around if they wish so. Add a flag VIR_DOMAIN_JOB_STATS_COMPLETED_KEEP which will read the stats without destroying them. Signed-off-by: Peter Krempa --- include/libvirt/libvirt-doma