Re: [libvirt] [PATCH 25/25] qemu: hotplug: Transfer ownership of backing chain to block job on disk unplug

2019-07-15 Thread Ján Tomko
On Fri, Jul 12, 2019 at 06:06:06PM +0200, Peter Krempa wrote: When removing the disk fronted while any block job is still active we need to transfer the ownership of the backing chain to the job itself as the job still holds the reference to the chain members and thus attempts to remove them woul

[libvirt] [PATCH 25/25] qemu: hotplug: Transfer ownership of backing chain to block job on disk unplug

2019-07-12 Thread Peter Krempa
When removing the disk fronted while any block job is still active we need to transfer the ownership of the backing chain to the job itself as the job still holds the reference to the chain members and thus attempts to remove them would fail. Signed-off-by: Peter Krempa --- src/qemu/qemu_hotplug