[libvirt] [PATCH 0/4] qemu: block: implement optional removal of committed snapshot images

Pavel Mores pmores at redhat.com
Wed Nov 20 09:55:23 UTC 2019

Adds handling of the VIR_DOMAIN_BLOCK_COMMIT_DELETE flag to the qemu driver
which previously just ignored it.  This should fix a problem with the virsh
blockcommit command where --delete did nothing.


Pavel Mores (4):
  qemu: block: propagate the delete flag to where it can actually be
  qemu: block: use the delete flag to delete snapshot images if
  qemu: block: store the delete flag in libvirtd's status XML
  qemu: block: add unit test of storing the delete flag in status XML

 src/qemu/qemu_blockjob.c                      | 35 ++++++++++++++++++-
 src/qemu/qemu_blockjob.h                      |  4 ++-
 src/qemu/qemu_domain.c                        |  4 +++
 src/qemu/qemu_driver.c                        |  5 +--
 .../blockjob-blockdev-in.xml                  |  1 +
 5 files changed, 45 insertions(+), 4 deletions(-)


More information about the libvir-list mailing list