]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_monitor_json: allow configuring autofinalize for block commit
authorPavel Hrdina <phrdina@redhat.com>
Tue, 13 Dec 2022 15:40:02 +0000 (16:40 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 9 Jan 2023 12:32:44 +0000 (13:32 +0100)
commitb308dc4b7786fbc326856bb7d3d4b838efa6ad90
tree77b20e3d1bea8620ca8b66fb85baa8c1bb8bf6e4
parent07b54c3d5a8be7cd67dba97154fed6c01823844d
qemu_monitor_json: allow configuring autofinalize for block commit

Deleting external snapshots will require configuring autofinalize to
synchronize the block jobs for disks withing single snapshot in order to
be able safely abort of one of the jobs fails.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_block.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
tests/qemumonitorjsontest.c