[PATCH 11/37] qemu: Clear 'qemuFDPass' helpers of char devices when no longer needed

Ján Tomko jtomko at redhat.com
Wed May 11 09:36:11 UTC 2022


On a Tuesday in 2022, Peter Krempa wrote:
>While the FDs are closed right after use to prevent leaks, at certain
>point we don't need the whole helper any more. Clear them for char
>devices after hotplug and on start.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_command.c |  2 ++
> src/qemu/qemu_domain.c  | 14 ++++++++++++--
> src/qemu/qemu_domain.h  |  3 +++
> src/qemu/qemu_hotplug.c |  3 +++
> 4 files changed, 20 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: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220511/65fb3450/attachment-0001.sig>


More information about the libvir-list mailing list