]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virclosecallbacks: Add new close callbacks APIs
authorPeter Krempa <pkrempa@redhat.com>
Thu, 6 Oct 2022 13:20:13 +0000 (15:20 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 6 Jan 2023 14:29:08 +0000 (15:29 +0100)
commitcb195c19b780534672d15e991099e14e16d24335
tree26f2eeaa3e7d0d7e8f654bd9ebb396ab1194327a
parent2cb13113c29a467909b180d6e9d2867a34904137
virclosecallbacks: Add new close callbacks APIs

The new APIs store the list of callbacks for a VM inside the
virDomainObj and also allow registering multiple callbacks for a single
domain and also for multiple connections.

For now this code is dormant until each driver using the old APIs is not
refactored to use the new APIs.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/hypervisor/virclosecallbacks.c
src/hypervisor/virclosecallbacks.h
src/libvirt_private.syms