[libvirt] [PATCH v4 0/2] notify about reverting to a snapshot

Dmitry Andreev dandreev at virtuozzo.com
Thu Feb 18 10:06:05 UTC 2016


Reverting to a snapshot may change domain configuration
but there will be no events about that in some cases.

Lack of the event become a problem for virt-manager 
https://bugzilla.redhat.com/show_bug.cgi?id=1081148

This patch-set introduces new event and emits it in
qemuDomainRevertToSnapshot.

v4: rebase

v3:
[2/2] event is emited only in the case when stopped domain
  is reverted to a stopped domain.

Dmitry Andreev (2):
  Introduce new VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT sub-event
  qemu: emit 'defined' event after reverted to snapshot without state
    changes

 examples/object-events/event-test.c | 2 ++
 include/libvirt/libvirt-domain.h    | 1 +
 src/qemu/qemu_driver.c              | 8 +++++++-
 tools/virsh-domain.c                | 3 ++-
 4 files changed, 12 insertions(+), 2 deletions(-)

-- 
1.8.3.1




More information about the libvir-list mailing list