[PATCH 10/36] qemu: Use new connection close callbacks API

Pavel Hrdina phrdina at redhat.com
Fri Jan 6 12:01:39 UTC 2023


On Thu, Jan 05, 2023 at 05:29:59PM +0100, Peter Krempa wrote:
> 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 at redhat.com>
> ---
>  src/qemu/qemu_conf.c      | 17 +++++++++-----
>  src/qemu/qemu_conf.h      |  3 ---
>  src/qemu/qemu_driver.c    |  8 +------
>  src/qemu/qemu_migration.c | 47 +++++++++++++--------------------------
>  src/qemu/qemu_process.c   | 35 ++++-------------------------
>  src/qemu/qemu_process.h   | 11 ++-------
>  6 files changed, 34 insertions(+), 87 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/e5109bcf/attachment.sig>


More information about the libvir-list mailing list