[libvirt] [PATCH 00/13] qemu: External disk snapshot code refactors/cleanups (blockdev-add saga)

Peter Krempa posted 13 patches 4 years, 10 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1559748399.git.pkrempa@redhat.com
src/qemu/qemu_driver.c | 189 +++++++++++++++++------------------------
1 file changed, 79 insertions(+), 110 deletions(-)
[libvirt] [PATCH 00/13] qemu: External disk snapshot code refactors/cleanups (blockdev-add saga)
Posted by Peter Krempa 4 years, 10 months ago
Few cleanups to the snapshot code extracted from my blockdev branch.

Peter Krempa (13):
  qemu: snapshot: Pass 'cfg' to external snapshot functions
  qemu: Use VIR_AUTOPTR in qemuDomainSnapshotCreateDiskActive
  qemu: Use virErrorPreserveLast in qemuDomainSnapshotCreateDiskActive
  qemu: Use VIR_AUTO* in qemuDomainSnapshotCreateActiveExternal
  qemu: snapshot: Remove unused cleanup section in
    qemuDomainSnapshotCreateSingleDiskActive
  qemu: snapshot: Always save status and config after
    qemuDomainSnapshotCreateDiskActive
  qemu: snapshot: Always save config XML after
    qemuDomainSnapshotCreateDiskActive
  qemu: snapshot: Densely pack data in qemuDomainSnapshotDiskDataCollect
  qemu: snapshot: Move all cleanup of snapshot disk data to
    qemuDomainSnapshotDiskDataFree
  qemu: snapshot: Don't overload 'ret' in
    qemuDomainSnapshotCreateDiskActive
  qemu: snapshot: Unify 'cleanup' and 'error' in
    qemuDomainSnapshotCreateDiskActive
  qemu: snapshot: Return early if there's nothing to snapshot
  qemu: snapshot: Remove unnecessary 'do_transaction' logic in
    qemuDomainSnapshotCreateDiskActive

 src/qemu/qemu_driver.c | 189 +++++++++++++++++------------------------
 1 file changed, 79 insertions(+), 110 deletions(-)

-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list