]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: storage_source: Introduce type for storing FDs associated for storage
authorPeter Krempa <pkrempa@redhat.com>
Wed, 4 Jan 2023 14:25:21 +0000 (15:25 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 9 Jan 2023 13:59:42 +0000 (14:59 +0100)
commite2670a63d23617c2f55ad47907b09667569b43be
tree4f878497c1a7ad943ddb1d75649e901d426f5be2
parent3ea4170551e30b61e20a13f659164056d59ba9c6
conf: storage_source: Introduce type for storing FDs associated for storage

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@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/conf/storage_source_conf.c
src/conf/storage_source_conf.h
src/libvirt_private.syms