]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use new connection close callbacks API
authorPeter Krempa <pkrempa@redhat.com>
Mon, 29 Aug 2022 15:08:57 +0000 (17:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 6 Jan 2023 14:30:09 +0000 (15:30 +0100)
commitaa8e187fa97caf6787cb6d1355adfc1fec6abb23
tree5eba2baa41bc9db9d01adc3d87f3cff77834a974
parentba6f53d77844688938a817e1ff78ab13b056733e
qemu: Use new connection close callbacks API

The qemu driver uses connection close callbacks in more places requiring
more changes than other drivers, but luckily the changes are very
straightforward. The migration code was written in a way ensuring that
there's just one callback present so this can be preserved directly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_process.c
src/qemu/qemu_process.h