[PATCH 02/17] libxl: remove usage of virDomainJobData

Ján Tomko jtomko at redhat.com
Wed Aug 31 16:43:42 UTC 2022


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 <khanicov at 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 <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220831/74a604e8/attachment-0001.sig>


More information about the libvir-list mailing list