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

Dmitry Andreev dandreev at virtuozzo.com
Sat Mar 12 15:39:34 UTC 2016


The original idea of this patch-set was to notify API clients
about changes in domain configuration on revert to a snapshot.
But in the last review Cole noticed that updated configuration
doesn't saved to a file and libvirtd reboot drops changes.

So in the patch-set v5 configuration is saved and event is emitted
for all cases when persistent domain configuration was updated
from a snapshot.

Dmitry Andreev (2):
  Introduce new VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT sub-event
  qemuDomainRevertToSnapshot: save domain configuration

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

-- 
1.8.3.1




More information about the libvir-list mailing list