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(a)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(a)redhat.com>