Re: [PATCH] virsh: support remaining domain events

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

 



On 02/24/2014 02:49 PM, Eric Blake wrote:
> Earlier, I added 'virsh event' for lifecycle events, to get the
> concept approved; this patch finishes the support for all other
> events, although the user still has to register for one event
> type at a time.  A future patch may add an --all parameter to
> make it possible to register for all events through a single
> call.

Ping - this would be nice to have in 1.2.2, since 'virsh event' is new
to this release.

> 
> * tools/virsh-domain.c (vshDomainEventWatchdogToString)
> (vshDomainEventIOErrorToString, vshGraphicsPhaseToString)
> (vshGraphicsAddressToString, vshDomainBlockJobStatusToString)
> (vshDomainEventDiskChangeToString)
> (vshDomainEventTrayChangeToString, vshEventGenericPrint)
> (vshEventRTCChangePrint, vshEventWatchdogPrint)
> (vshEventIOErrorPrint, vshEventGraphicsPrint)
> (vshEventIOErrorReasonPrint, vshEventBlockJobPrint)
> (vshEventDiskChangePrint, vshEventTrayChangePrint)
> (vshEventPMChangePrint, vshEventBalloonChangePrint)
> (vshEventDeviceRemovedPrint): New helper routines.
> (cmdEvent): Support full array of event callbacks.
> 
> Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
> ---
>  tools/virsh-domain.c | 392 +++++++++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 381 insertions(+), 11 deletions(-)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]