[libvirt] [PATCH 07/11] qemu: process: Terminate backup job on VM destroy
Daniel P. Berrangé
berrange at redhat.com
Fri Dec 20 13:57:26 UTC 2019
On Fri, Dec 20, 2019 at 02:25:25PM +0100, Peter Krempa wrote:
> Commit d75f865fb989b3e6330c78c28e1c3bf7fa28e6a5 caused a job-deadlock if
> a VM is running the backup job and being destroyed as it removed the
> cleanup of the async job type and there was nothing to clean up the
> backup job.
>
> Add an explicit cleanup of the backup job when destroying a VM.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> src/qemu/qemu_backup.c | 2 +-
> src/qemu/qemu_backup.h | 3 +++
> src/qemu/qemu_process.c | 5 +++++
> 3 files changed, 9 insertions(+), 1 deletion(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list