Hi For v2: - dropped the qio patch, get the address later with qio_socket_get_local_address (danp) - set the uri with all the options (danp found it) - rebase on top of latest rc
Please review. Later, Juan. [v1] This series (on top of my last pull requset) do: - Make update port for address work for port 0. Right now we only update the _port_ that we ask for, not the one that we receive. - Print global options as everything else (i.e. one by line, and on/off) - Move addr cleanup to the place where we created it - Create an uri migration parameter - Fill the migrate parameter and set it. - make the uri parameter optional for migrate Please review. Later, Juan. Juan Quintela (6): migration: print features as on off migration: free addr in the same function that we created it migration: Create uri parameter migration: Now set the migration uri migration: make migrate uri parameter optional migration: Set the new port/address in the uri parameter hmp-commands.hx | 4 ++-- hmp.c | 12 +++++++++-- migration/migration.c | 59 ++++++++++++++++++++++++++++++++++++++++----------- migration/migration.h | 2 ++ migration/socket.c | 41 +++++++++++++++++++++++++++++------ qapi/migration.json | 20 +++++++++++++---- 6 files changed, 111 insertions(+), 27 deletions(-) -- 2.13.6