[PATCH 0/7 v2] Misc improvements to events code

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

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

This is a followup to the recent network events patches to
improve a few things I noticed when testing this out for
real.

In v2:

 - Changed the way event dispatch works to avoid
   race with creation of classes

Daniel P. Berrange (7):
  Move examples/domain-events/event-c to examples/object-events
  Update event demo program to support network events too
  Add 'detail' arg to network lifecycle event internals
  Introduce abstract virNetworkEvent class
  Associate a dispatch function with the event objects
  Remove the event namespace concept
  Add debug output when registering event handlers

 Makefile.am                                        |  2 +-
 configure.ac                                       |  2 +-
 .../events-c => object-events}/Makefile.am         |  0
 .../events-c => object-events}/event-test.c        | 45 ++++++++++-
 src/conf/domain_event.c                            | 27 +++++--
 src/conf/domain_event.h                            |  7 --
 src/conf/network_event.c                           | 59 ++++++++++----
 src/conf/network_event.h                           |  9 +--
 src/conf/object_event.c                            | 94 +++++++++-------------
 src/conf/object_event.h                            | 11 +--
 src/conf/object_event_private.h                    | 11 ++-
 src/network/bridge_driver.c                        | 15 ++--
 src/remote/remote_driver.c                         |  2 +-
 src/test/test_driver.c                             | 15 ++--
 14 files changed, 182 insertions(+), 117 deletions(-)
 rename examples/{domain-events/events-c => object-events}/Makefile.am (100%)
 rename examples/{domain-events/events-c => object-events}/event-test.c (94%)

-- 
1.8.3.1

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