[PATCH 00/10] virclosecallbacks: Cleanups (part 1)

Ján Tomko jtomko at redhat.com
Tue May 17 14:17:31 UTC 2022


On a Tuesday in 2022, Peter Krempa wrote:
>This series simplifies some aspects of close callbacks in preparation of
>further refactors.
>
>Peter Krempa (10):
>  virclosecallbacks.h: Reformat header to contemporary style
>  virObjectLockGuard: Require that returned value is used
>  qemuMigrationSrcBegin: Automatically free 'xml' variable on error
>  bhyve: Store 'driver' in VM private data
>  lxc: Store 'driver' in VM private data
>  qemuMigrationSrcCleanup: Use 'driver' from VM private data
>  qemuProcessAutoDestroy: Use 'driver' from VM private data
>  lxcProcessAutoDestroy: Use 'driver' from VM private data
>  bhyveProcessAutoDestroy: Use 'driver' from VM private data
>  virclosecallbacks: Don't pass opqaue pointer to callback invocation
>
> src/bhyve/bhyve_domain.c           |  8 ++++++--
> src/bhyve/bhyve_domain.h           |  2 ++
> src/bhyve/bhyve_driver.c           |  2 +-
> src/bhyve/bhyve_process.c          |  6 +++---
> src/hypervisor/virclosecallbacks.c |  5 ++---
> src/hypervisor/virclosecallbacks.h | 29 +++++++++++++++++------------
> src/lxc/lxc_domain.c               |  4 +++-
> src/lxc/lxc_domain.h               |  1 +
> src/lxc/lxc_driver.c               |  2 +-
> src/lxc/lxc_process.c              |  8 +++-----
> src/qemu/qemu_driver.c             |  2 +-
> src/qemu/qemu_migration.c          | 13 +++++--------
> src/qemu/qemu_process.c            |  5 ++---
> src/util/virobject.h               |  2 +-
> 14 files changed, 48 insertions(+), 41 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220517/b4239722/attachment.sig>


More information about the libvir-list mailing list