]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move ParamsCheck closer to ParamsApply on Src side
authorJiri Denemark <jdenemar@redhat.com>
Wed, 7 Mar 2018 13:43:23 +0000 (14:43 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Apr 2018 08:46:23 +0000 (10:46 +0200)
commit2943c52e39bd4ade6943deb5febcf93a0bfd519e
tree86afd313a1edb763b0fcf1c92b065eb4c15ad3e6
parent38c6189d416c6a3f3492dda557bc2f0c226e9be0
qemu: Move ParamsCheck closer to ParamsApply on Src side

We reached the point when qemuMigrationParamsApply is the only API which
sends migration parameters and capabilities to QEMU. Thus all but the
TLS parameters can be set before we ask QEMU for the current values of
all parameters in qemuMigrationParamsCheck.

Supported migration capabilities are queried as soon as libvirt connects
to QEMU monitor so we can check them anytime.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_migration.c