With recent migrate QAPI changes, enabling the direct use of the
'channels' argument to avoid redundant URI string parsing is achieved.
v4->v5 Changelog:
----------------
1. Remove redundant imports from migration-test.c after moving helper
functions to migration-helpers.c
2. call migrate_get_socket_address(to) and internally let qdict_get() call
“socket-address” parameter to make more sense to the reader.
3. qdict needs to be freed, other small fixups.
Het Gala (8):
Add 'to' object into migrate_qmp()
Replace connect_uri and move migrate_get_socket_address inside
migrate_qmp
Replace migrate_get_connect_uri inplace of migrate_get_socket_address
Add channels parameter in migrate_qmp_fail
Add migrate_set_ports into migrate_qmp to update migration port value
Add channels parameter in migrate_qmp
Add multifd_tcp_plain test using list of channels instead of uri
Add negative tests to validate migration QAPIs
tests/qtest/migration-helpers.c | 158 +++++++++++++++++++++++++++-
tests/qtest/migration-helpers.h | 10 +-
tests/qtest/migration-test.c | 180 +++++++++++++++++---------------
3 files changed, 257 insertions(+), 91 deletions(-)