
26 Feb
2016
26 Feb
'16
5:54 p.m.
On Tue, Feb 23, 2016 at 16:41:45 +0100, Jiri Denemark wrote:
The VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event will be triggered once a job (such as migration) finishes and it will contain statistics for the job as one would get by calling virDomainGetJobStats. Thanks to this event it is now possible to get statistics of a completed migration of a transient domain on the source host.
...
/** + * virConnectDomainEventJobCompletedCallback: + * @conn: connection object + * @dom: domain on which the event occurred + * @type: job type (one of virDomainJobType)
@type doesn't make a lot of sense since it will always be VIR_DOMAIN_JOB_COMPLETED. I'll remove it in the next version of this series (which I'll send after the release). Jirka