Re: [PATCH 06/36] conf: domain: Add helper infrastructure for new connection close callbacks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 05, 2023 at 05:29:55PM +0100, Peter Krempa wrote:
> The new connect close callbacks for domains will be represented by a
> virObject associated with the domain object itself.
> 
> To simplify handling the pointer to the close callback data will be done
> by an immutable pointer allocated directly when allocating the
> corresponding virDomainObj struct.
> 
> This patch adds the 'closecallbacks' field to virDomainObj and a
> corresponding callback to allocate it into virDomainXMLOption.
> 
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
>  src/conf/domain_conf.c   | 13 +++++++++++++
>  src/conf/domain_conf.h   | 25 +++++++++++++++++++++++++
>  src/libvirt_private.syms |  1 +
>  3 files changed, 39 insertions(+)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux