On Wed, Apr 11, 2018 at 04:41:28PM +0200, Jiri Denemark wrote:
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(a)redhat.com>
---
src/qemu/qemu_migration.c | 6 ------
src/qemu/qemu_migration_params.c | 31 +++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 6 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano