On Wed, Apr 11, 2018 at 04:41:35PM +0200, Jiri Denemark wrote:
There's no need to call this API explicitly in the migration code.
We
can pass the compression parameters to qemuMigrationParamsFromFlags and
it can internally call qemuMigrationParamsSetCompression to apply them
to the qemuMigrationParams structure.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/qemu/qemu_driver.c | 30 ++++++++++++-------------
src/qemu/qemu_migration.c | 38 ++++++++++----------------------
src/qemu/qemu_migration.h | 2 --
src/qemu/qemu_migration_params.c | 11 +++++----
src/qemu/qemu_migration_params.h | 8 ++-----
5 files changed, 36 insertions(+), 53 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano