Re: [PATCH 3/6] qemu: create object for qemu monitor events

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

 



On Fri, Jan 31, 2014 at 07:12:08PM -0700, Eric Blake wrote:
> Create qemu monitor events as a distinct class to normal domain
> events, because they will be filtered differently.  For ease of
> review, the logic for filtering by event name is saved for a later
> patch.
> 
> * src/conf/domain_event.c (virDomainQemuMonitorEventClass): New
> class.
> (virDomainEventsOnceInit): Register it.
> (virDomainQemuMonitorEventDispose, virDomainQemuMonitorEventNew)
> (virDomainQemuMonitorEventDispatchFunc)
> (virDomainQemuMonitorEventStateRegisterID): New functions.
> * src/conf/domain_event.h (virDomainQemuMonitorEventNew)
> (virDomainQemuMonitorEventStateRegisterID): New prototypes.
> * src/libvirt_private.syms (conf/domain_conf.h): Export them.
> ---
>  src/conf/domain_event.c  | 140 +++++++++++++++++++++++++++++++++++++++++++++++
>  src/conf/domain_event.h  |  22 ++++++++
>  src/libvirt_private.syms |   2 +
>  3 files changed, 164 insertions(+)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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