[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]