]> xenbits.xensource.com Git - libvirt.git/commit
qemu_monitor: introduce qemuMonitorJobFinalize
authorPavel Hrdina <phrdina@redhat.com>
Tue, 21 Jun 2022 13:22:15 +0000 (15:22 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 9 Jan 2023 12:32:43 +0000 (13:32 +0100)
commit07b54c3d5a8be7cd67dba97154fed6c01823844d
treef1050848104aa853e8efc61d4b076c4ebcf530cd
parent9a0ce66503d96f28159116f6710da37ab253e05b
qemu_monitor: introduce qemuMonitorJobFinalize

Upcoming snapshot deletion code will require that multiple commit jobs
are finished in sync. To allow aborting then if one fails we will need
to use manual finalization of the jobs.

This commit implements the monitor code for `job-finalize`.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
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