[PATCH 23/36] qemu: Implement qemuDomainFDAssociate

Pavel Hrdina phrdina at redhat.com
Fri Jan 6 12:55:23 UTC 2023


On Thu, Jan 05, 2023 at 05:30:12PM +0100, Peter Krempa wrote:
> Implement passing and storage of FDs for the qemu driver. The FD tuples
> are g_object instances stored in a per-domain hash table and are
> automatically removed once the connection is closed.
> 
> In the future we can consider supporting also to not tie the lifetime of
> the passed FDs bound to the connection.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/qemu/qemu_domain.c |  2 ++
>  src/qemu/qemu_domain.h |  3 ++
>  src/qemu/qemu_driver.c | 67 ++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 72 insertions(+)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230106/5edd3c00/attachment.sig>


More information about the libvir-list mailing list