This series adds basic support for reverting to a snapshot. For more advanced
support we need the creation of snapshot branches.
As of now, we will be able just to invalidate the snapshot tree from the point
we're reverting to.
I'll follow up with patches that add ability to delete children snapshots when
reverting
to a deeper tree.
Peter Krempa (5):
qemu: Split out guts of qemuDomainSaveImageStartVM() to allow reuse
snapshot: qemu: Fix detection of external snapshots when deleting
snapshot: Add flag VIR_DOMAIN_SNAPSHOT_REVERT_STOPPED
snapshot: Add flag to allow hypervisor restart when reverting
snapshots
snapshot: qemu: Implement reverting of external snapshots
include/libvirt/libvirt.h.in | 3 +
src/conf/snapshot_conf.c | 17 ++
src/conf/snapshot_conf.h | 2 +
src/libvirt.c | 36 ++--
src/libvirt_private.syms | 1 +
src/qemu/qemu_driver.c | 383 ++++++++++++++++++++++++++++++++++++++++---
tools/virsh-snapshot.c | 7 +
tools/virsh.pod | 19 ++-
8 files changed, 423 insertions(+), 45 deletions(-)
--
1.8.0