[PATCH 0/7] qemu_migration_params: Simplify code by using automatic memory handling

Peter Krempa pkrempa at redhat.com
Mon Aug 24 12:05:52 UTC 2020


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




More information about the libvir-list mailing list