]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Set always-on migration caps in ParamsCheck
authorJiri Denemark <jdenemar@redhat.com>
Wed, 7 Mar 2018 14:59:42 +0000 (15:59 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Apr 2018 08:46:23 +0000 (10:46 +0200)
commit78bd04707513f511eac4bb6994c6e8298f708f24
tree8a5ab7555e1e1433fac804c4c9f2725244d9f3fe
parent1034418b54c493d9b036a218d526b51b8b3ae693
qemu: Set always-on migration caps in ParamsCheck

Some migration capabilities are always enabled if QEMU supports them. We
can just drop the explicit code for them and let
qemuMigrationParamsCheck automatically set such capabilities.

QEMU_MONITOR_MIGRATION_CAPS_EVENTS would normally be one of the always
on features, but it is the only feature we want to enable even for other
jobs which internally use migration (such as save and snapshot). Hence
this capability is set very early after libvirtd connects to QEMU
monitor.

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