[libvirt] [PATCH 05/10] qemu: hotplug: Don't leak 'disk' if VM crashes during unplug finishing

Ján Tomko jtomko at redhat.com
Wed Jul 18 15:34:52 UTC 2018


On Tue, Jul 17, 2018 at 02:14:25PM +0200, Peter Krempa wrote:
>qemuDomainRemoveDiskDevice would leak the disk to be removed if the VM
>crashed since it was removed from the definition but not freed.
>
>Broken in commit 105bcdde76b which moved the removal from the definition
>earlier.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_hotplug.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 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: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180718/3ee4c4da/attachment-0001.sig>


More information about the libvir-list mailing list