The series add a skeleton for a lifecycle event (and other events in the
future) for volumes to cover actions like create and delete. Others 
events can be added in the future, but the storage driver has some 
functions to support it.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1578836

Julio Faracco (5):
  storage: adding a skeleton for libvirt volume events.
  driver: adding two new driver functions to support volume events.
  conf: implementing some functions to generate volume events.
  virsh: implementing 'vol-event' command.
  examples: adding volume events into event-test example.

 examples/object-events/event-test.c |  65 ++++++++++
 include/libvirt/libvirt-storage.h   |  86 +++++++++++++
 src/conf/storage_event.c            | 155 ++++++++++++++++++++++
 src/conf/storage_event.h            |  19 +++
 src/driver-storage.h                |  13 ++
 src/libvirt-storage.c               | 125 ++++++++++++++++++
 src/libvirt_private.syms            |   2 +
 src/libvirt_public.syms             |   6 +
 tools/virsh-completer.c             |  27 ++++
 tools/virsh-completer.h             |   4 +
 tools/virsh-volume.c                | 192 ++++++++++++++++++++++++++++
 tools/virsh-volume.h                |   8 ++
 12 files changed, 702 insertions(+)

-- 
2.17.0

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to