[RFC PATCH 4/7] qemuMigrationSrcNBDStorageCopy: Don't pass migrate_flags

Andrea Bolognani abologna at redhat.com
Wed Apr 14 15:33:12 UTC 2021


On Tue, 2021-04-13 at 17:38 +0200, Peter Krempa wrote:
> 'migrate_flags' can be updated in the only caller and since
> qemuMigrationSrcNBDStorageCopy already takes @flags which contains
> VIR_MIGRATE_NON_SHARED_INC (used to set
>  QEMU_MONITOR_MIGRATE_NON_SHARED_INC) we can completely remove the
> parameter.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 22 ++++++++--------------
>  1 file changed, 8 insertions(+), 14 deletions(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list