Re: Determining domain job kind from job stats?

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

 



On Fri, Feb 10, 2017 at 21:50:19 +0100, Milan Zamazal wrote:
> Hi, is there a reliable way to find out to what kind of job does the
> information returned from virDomainGetJobStats or provided in
> VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event callback belong to?

No, libvirt expects that the caller knows what job it started. All jobs
currently reported using virDomainGetJobStats API or
VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event are internally implemented as
migration in QEMU driver (either to a file or to a network socket),
which may confuse any heuristics for detecting the job type from the set
of fields returned by libvirt.

What is the problem you are trying to solve?

Jirka

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux