]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use 'format' nodename accessors for block dirty bitmap operations
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 Oct 2023 14:20:27 +0000 (16:20 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Oct 2023 12:16:17 +0000 (14:16 +0200)
commitabab5130f88e45394cf96764c54e62e4ad5bcdbd
tree0b8af07c16bf5446b489e47116e00035a2bfeb0d
parentac6cd5869afb9ec01ccf5d6e57bc15b4a5066110
qemu: Use 'format' nodename accessors for block dirty bitmap operations

In most cases the bitmap operations are relevant only on qcow2 images
thus the 'format' layer will be present. Although in certain specific
cases temporary bitmaps can be created on top of other images as well,
thus we use the 'effective' bitmap name in all cases for bitmap
operations.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_block.c
src/qemu/qemu_blockjob.c
src/qemu/qemu_checkpoint.c
src/qemu/qemu_driver.c
src/qemu/qemu_snapshot.c