Re: [libvirt] [PATCH 07/11] qemu: process: Terminate backup job on VM destroy

2019-12-20 Thread Daniel P . Berrangé
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. > >

[libvirt] [PATCH 07/11] qemu: process: Terminate backup job on VM destroy

2019-12-20 Thread Peter Krempa
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.