[libvirt] [PATCH 0/5] storage: implement a skeleton for volume events.

Julio Faracco posted 5 patches 5 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180527192539.17922-1-jcfaracco@gmail.com
Test syntax-check passed
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(+)
[libvirt] [PATCH 0/5] storage: implement a skeleton for volume events.
Posted by Julio Faracco 5 years, 10 months ago
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
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list