]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Add support for optional migration capabilities
authorJiri Denemark <jdenemar@redhat.com>
Mon, 8 Jan 2024 15:31:29 +0000 (16:31 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 8 Jan 2024 21:39:56 +0000 (22:39 +0100)
commit61e34b0856832cad1efe13421143e534f691505d
tree297e8e26df4a81dd80562fcfbe3f3091d0852084
parentefc26a665d26278f8cdb075ade9cfc6603d0fe79
qemu: Add support for optional migration capabilities

We enable various migration capabilities according to the flags passed
to a migration API. Missing support for such capabilities results in an
error because they are required by the corresponding flag. This patch
adds support for additional optional capability we may want to enable
for a given API flag in case it is supported. This is useful for
capabilities which are not critical for the flags to be supported, but
they can make things work better in some way.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_migration.c
src/qemu/qemu_migration_params.c
src/qemu/qemu_migration_params.h