Re: [PATCH 6/7] Introduce job completed event

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]