I've cleaned up the migration params code before actually going to add new features. Peter Krempa (7): qemuMigrationParamsNew: Use new memory allocation to simplify code qemuMigrationParamsFromFlags: Use 'g_autoptr' to remove 'error:' label qemuMigrationParamsFromJSON: Unify return value handling with other functions qemuMigrationParamsToJSON: Refactor variable cleanup qemuMigrationCapsToJSON: Refactor variable cleanup qemuMigrationParamsParse: Refactor variable cleanup qemuMigrationCapsCheck: Refactor variable cleanup src/qemu/qemu_migration_params.c | 158 +++++++++++-------------------- 1 file changed, 56 insertions(+), 102 deletions(-) -- 2.26.2