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

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.

v2:
[2/2] Reworked. John noted that in some error cases I
send 'defined' event without changes in configuration.

Dmitry Andreev (2):
  Introduce new VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT event
  qemu: emit 'defined' event after reverted to snapshot

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

-- 
1.8.3.1

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

Reply via email to