[libvirt PATCH 06/30] qemu_monitor: introduce qemuMonitorJobFinalize

Peter Krempa pkrempa at redhat.com
Tue Dec 13 08:49:21 UTC 2022


On Thu, Dec 08, 2022 at 14:30:42 +0100, Pavel Hrdina wrote:
> 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 at redhat.com>
> ---
>  src/qemu/qemu_monitor.c      | 12 ++++++++++++
>  src/qemu/qemu_monitor.h      |  5 +++++
>  src/qemu/qemu_monitor_json.c | 22 ++++++++++++++++++++++
>  src/qemu/qemu_monitor_json.h |  5 +++++
>  tests/qemumonitorjsontest.c  |  2 ++

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list