[libvirt] [PATCH 6/7] Introduce job completed event

Jiri Denemark jdenemar at redhat.com
Fri Feb 26 17:54:28 UTC 2016


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




More information about the libvir-list mailing list