On a Wednesday in 2022, Kristina Hanicova wrote:
Struct virDomainJobData is meant for statistics for async jobs.
It was used to keep track of only two attributes, one of which is
also in the generalized virDomainJobObj ("started") and one which
is always set to the same value, if any job is active
("jobType").

This patch removes usage & allocation of virDomainJobData
structure and rewrites libxlDomainJobUpdateTime() into more
suitable libxlDomainJobGetTimeElapsed().

Signed-off-by: Kristina Hanicova <khani...@redhat.com>
---
src/libxl/libxl_domain.c | 16 ++++++----------
src/libxl/libxl_domain.h |  4 ++--
src/libxl/libxl_driver.c | 16 ++++++++--------
3 files changed, 16 insertions(+), 20 deletions(-)


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to