On Thu, Jan 05, 2023 at 05:30:11PM +0100, Peter Krempa wrote:
For FD-passing of disk sources we'll need to keep the FDs
around.
Introduce a data type helper based on a g_object so that we get
reference counting.
One instance will (due to security labelling) will need to be part of
the virStorageSource struct thus it's declared in the storage_source_conf
module.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/conf/storage_source_conf.c | 41 ++++++++++++++++++++++++++++++++++
src/conf/storage_source_conf.h | 17 ++++++++++++++
src/libvirt_private.syms | 1 +
3 files changed, 59 insertions(+)
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>