]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fd: Add a distinct set of APIs for 'direct' fd passing mode
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 May 2022 12:57:57 +0000 (14:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 May 2022 17:31:07 +0000 (19:31 +0200)
commitbca9047906fd73fd30f275dd45b64998fbbcf6de
treeda726f4c2f639e08cc553dbc233025d7c01a183f
parente04acdf39d4fdb8c3d28758609a724fa15345f28
qemu: fd: Add a distinct set of APIs for 'direct' fd passing mode

Originally I envisioned a common set of APIs for both FD passing
approaches but it turns out they are not really compatible enough for it
to make sense to use one set of APIs.

As of such introduce a distinct set of APIs for the 'direct' mode, which
will later be used to convert all places that currently use
'qemuFDPassNewDirect' and later clean up the existing APIs.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_fd.c
src/qemu/qemu_fd.h