[PATCH 22/36] conf: storage_source: Introduce type for storing FDs associated for storage

Pavel Hrdina phrdina at redhat.com
Fri Jan 6 12:50:10 UTC 2023


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 at 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 at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230106/d7762789/attachment.sig>


More information about the libvir-list mailing list