[libvirt] [PATCH 10/10] qemu: hotplug: Remove rest of source backend if hotplug fails

Ján Tomko jtomko at redhat.com
Tue Jun 25 17:55:25 UTC 2019


On Mon, Jun 24, 2019 at 05:38:55PM +0200, Peter Krempa wrote:
>When changing media using blockdev-add we need to remove the leftovers
>if we didn't succeed plugging in the full chain or closing the tray.
>Otherwise the data structures will be freed and thus the backing chain
>members will never be unplugged.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_hotplug.c | 3 +++
> 1 file changed, 3 insertions(+)
>

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/20190625/be938774/attachment-0001.sig>


More information about the libvir-list mailing list