]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Introduce qemuMigrationParty enum
authorJiri Denemark <jdenemar@redhat.com>
Fri, 9 Mar 2018 10:23:49 +0000 (11:23 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Apr 2018 08:46:23 +0000 (10:46 +0200)
commitb51415513ca1cec65833960355267f5fb9e5b39b
tree6f925df8bc10d568c2a7cc5ca6b6365a60f07f8d
parent657980693c9cdeb17eb40db4b5268d67f5be7cbd
qemu: Introduce qemuMigrationParty enum

Some migration parameters and capabilities are supposed to be set on
both sides of migration while others should only be set on one side. For
example, CPU throttling parameters make no sense on the destination and
they can be used even if the destination is too old to support them.

To make qemuMigrationParamsFromFlags more general and usable on both
sides of migration, we need to tell it what side it's been called on.

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