[PATCH 0/7] qemu: snapshot: Fix removal of output files on failure

Jano Tomko jtomko at redhat.com
Thu Jun 17 12:41:23 UTC 2021


On 6/16/21 5:05 PM, Peter Krempa wrote:
> Peter Krempa (7):
>   qemuSnapshotPrepareDiskExternal: Move temp variables into the block
>     using them
>   qemuSnapshotPrepareDiskExternal: Avoid condition squashing
>   qemuSnapshotPrepareDiskExternal: Reject creation of block devices
>     sooner
>   qemuSnapshotPrepareDiskExternal: Enforce match between snapshot type
>     and existing file type
>   qemuSnapshotPrepareDiskExternal: Refactor existing file check
>   conf: snapshot: rename variable holding memory snapshot file location
>   qemuSnapshotCreateActiveExternal: Don't unlink memory snapshot image
>     if it was existing before
> 
>  src/conf/snapshot_conf.c | 10 +++----
>  src/conf/snapshot_conf.h |  2 +-
>  src/qemu/qemu_snapshot.c | 56 +++++++++++++++++++++++++++++-----------
>  3 files changed, 47 insertions(+), 21 deletions(-)
> 

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano




More information about the libvir-list mailing list