Message ID | 20240312202634.63349-1-het.gala@nutanix.com (mailing list archive) |
---|---|
Headers | show |
Series | tests/qtest/migration: Add tests for introducing 'channels' argument in migrate QAPIs | expand |
Can find the passed build here: https://gitlab.com/galahet/Qemu/-/pipelines/1210931136 On 13/03/24 1:56 am, Het Gala wrote: > With recent migrate QAPI changes, enabling the direct use of the > 'channels' argument to avoid redundant URI string parsing is achieved. > > To ensure backward compatibility, both 'uri' and 'channels' are kept as > optional parameters in migration QMP commands. However, they are mutually > exhaustive, requiring at least one for a successful migration connection. > This patchset adds qtests to validate 'uri' and 'channels' arguments' > mututally exhaustive behaviour. > > Additionally, all migration qtests fail to employ 'channel' as the primary > method for validating migration QAPIs. This patchset also adds test to > enforce only use of 'channel' argument as the initial entry point for > migration QAPIs. [...] > > Het Gala (8): > tests/qtest/migration: Add 'to' object into migrate_qmp() > tests/qtest/migration: Replace connect_uri and move > migrate_get_socket_address inside migrate_qmp > tests/qtest/migration: Replace migrate_get_connect_uri inplace of > migrate_get_socket_address > tests/qtest/migration: Add channels parameter in migrate_qmp_fail > tests/qtest/migration: Add migrate_set_ports into migrate_qmp to > update migration port value > tests/qtest/migration: Add channels parameter in migrate_qmp > tests/qtest/migration: Add multifd_tcp_plain test using list of > channels instead of uri > tests/qtest/migration: 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(-) > Regards, Het Gala
On Tue, Mar 12, 2024 at 08:26:26PM +0000, Het Gala wrote: > With recent migrate QAPI changes, enabling the direct use of the > 'channels' argument to avoid redundant URI string parsing is achieved. > > To ensure backward compatibility, both 'uri' and 'channels' are kept as > optional parameters in migration QMP commands. However, they are mutually > exhaustive, requiring at least one for a successful migration connection. > This patchset adds qtests to validate 'uri' and 'channels' arguments' > mututally exhaustive behaviour. > > Additionally, all migration qtests fail to employ 'channel' as the primary > method for validating migration QAPIs. This patchset also adds test to > enforce only use of 'channel' argument as the initial entry point for > migration QAPIs. queued for 9.1, thanks.