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(a)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(a)redhat.com>