[libvirt RFC 08/24] qemu_blockjob: process QEMU_MONITOR_JOB_STATUS_PENDING signal

Peter Krempa pkrempa at redhat.com
Thu Sep 1 12:57:07 UTC 2022


On Tue, Aug 23, 2022 at 18:32:11 +0200, Pavel Hrdina wrote:
> QEMU emits this signal when autofinalize is disabled and QEMU is waiting
> for the caller to start the finalization manually.
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  src/qemu/qemu_backup.c   |  1 +
>  src/qemu/qemu_blockjob.c | 13 ++++++++++++-
>  src/qemu/qemu_blockjob.h |  1 +
>  3 files changed, 14 insertions(+), 1 deletion(-)

I presume you plan to handle recovery of snapshot deletion job if e.g.
libvirtd is restarted via a domainjob, right?

Otherwise qemuBlockJobRefreshJobs must be able to terminate the block
job properly.

For now:

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


More information about the libvir-list mailing list