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(a)redhat.com>
Jano