[PATCH for 8.0 0/3] Fix creation of snapshots without libvirt metadata

Peter Krempa pkrempa at redhat.com
Tue Jan 11 09:53:19 UTC 2022


After a recent unreleased refactor we don't remove the temporary
snapshot object from the list when finishing a snapshot without metadata
thus we should fix it before releasing a buggy release.

This patchset fixes it by not adding it into the list in the first
place.

Peter Krempa (3):
  virdomainmomentobjlist.h: Convert to modern header style
  conf: moment: Export helpers to create the virDomainMoment wrapper
  qemuSnapshotCreate: Don't insert snapshot into list with
    VIR_DOMAIN_SNAPSHOT_CREATE_NO_METADATA

 src/conf/virdomainmomentobjlist.c |   4 +-
 src/conf/virdomainmomentobjlist.h | 121 +++++++++++++++++++-----------
 src/libvirt_private.syms          |   2 +
 src/qemu/qemu_snapshot.c          |  25 +++---
 4 files changed, 97 insertions(+), 55 deletions(-)

-- 
2.31.1




More information about the libvir-list mailing list