[PATCH 08/36] lxc: Use new connection close callbacks API

Pavel Hrdina phrdina at redhat.com
Fri Jan 6 11:46:41 UTC 2023


On Thu, Jan 05, 2023 at 05:29:57PM +0100, Peter Krempa wrote:
> The rewrite is straightforward as LXC registers only the
> 'lxcProcessAutoDestroy' callback which by design doesn't need any
> special handling (there's just one caller which can start the VM thus
> implicitly there's only one possible registration for that function).
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/lxc/lxc_conf.c    | 15 +++++++++++----
>  src/lxc/lxc_conf.h    |  3 ---
>  src/lxc/lxc_driver.c  |  8 ++------
>  src/lxc/lxc_process.c |  8 +++-----
>  4 files changed, 16 insertions(+), 18 deletions(-)

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/df639e91/attachment.sig>


More information about the libvir-list mailing list