[libvirt] [PATCH v2 60/73] qemu: Check remote caps when enabling always-on capabilities

Ján Tomko jtomko at redhat.com
Sun Apr 15 13:05:50 UTC 2018


On Wed, Apr 11, 2018 at 04:41:50PM +0200, Jiri Denemark wrote:
>When an always-on migration capability is supposed to be enabled on both
>sides of migration, each side can only enable the feature if it is
>enabled by the other side.
>
>Thus the source host sends a list of supported migration capabilities in
>the migration cookie generated in the Begin phase. The destination host
>consumes the list in the Prepare phase and decides what capabilities can
>be enabled when starting a QEMU process for incoming migration. Once
>done the destination sends the list of supported capabilities back to
>the source where it is used during the Perform phase to determine what
>capabilities can be automatically enabled.
>
>Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>---
> src/qemu/qemu_migration.c        | 17 ++++++++++++-----
> src/qemu/qemu_migration_params.c | 22 ++++++++++++++++++++--
> src/qemu/qemu_migration_params.h |  3 ++-
> 3 files changed, 34 insertions(+), 8 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: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180415/756ed947/attachment-0001.sig>


More information about the libvir-list mailing list