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

Ján Tomko jtomko at redhat.com
Mon Jul 15 15:48:03 UTC 2019


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 would fail.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_hotplug.c | 17 +++++++++++++----
> 1 file changed, 13 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190715/9e46e44a/attachment-0001.sig>


More information about the libvir-list mailing list