[libvirt] [PATCHv4 0/4] Add initial support for reverting snapshots

Michal Privoznik mprivozn at redhat.com
Mon Nov 19 17:19:28 UTC 2012


On 19.11.2012 17:06, Peter Krempa wrote:
> I'm reposting another version of the series. This version fixes small mistakes
> in patches 1-3 and reposts patch 4 as it got missing due to a sending error.
> 
> 
> Peter Krempa (4):
>   qemu: Split out guts of qemuDomainSaveImageStartVM() to allow reuse
>   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/libvirt.c                |  36 ++--
>  src/qemu/qemu_driver.c       | 389 ++++++++++++++++++++++++++++++++++++++++---
>  tools/virsh-snapshot.c       |   7 +
>  tools/virsh.pod              |  19 ++-
>  5 files changed, 410 insertions(+), 44 deletions(-)
> 

We should really split qemu_driver.c - which has now ~15K LOC - e.g. by
moving snapshot code to a separate file.

Michal




More information about the libvir-list mailing list