
6 Jan
2023
6 Jan
'23
12:55 p.m.
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@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@redhat.com>