]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBlockReopenAccess: Don't require backing chain terminator for non-chained images
authorPeter Krempa <pkrempa@redhat.com>
Tue, 26 Nov 2024 08:10:10 +0000 (09:10 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 28 Nov 2024 09:27:55 +0000 (10:27 +0100)
commited656f4c8fdd4e156127c4c2bf40d14f50dcc6a0
tree895f319d69a48b14672128b89629cf76b6cb7171
parentb83e87ca78afc44352b5c7a6850acdc53513728a
qemuBlockReopenAccess: Don't require backing chain terminator for non-chained images

Add an exception for image formats not supporting backing images so that
they can be reopened RW/RO without the need for adding a terminating
virStorageSource as they simply can't have a backing image.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_block.c