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 <[email protected]>
> ---
>  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 <[email protected]>

Attachment: signature.asc
Description: PGP signature

Reply via email to