diff options
author | Het Gala <het.gala@nutanix.com> | 2023-10-23 15:20:53 -0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-11-02 11:35:04 +0100 |
commit | 8e3766eefbb4036cbc280c1f1a0d28537929f7fb (patch) | |
tree | a939e8ad6cc105b7df95553b70bb699325dbf332 /tests | |
parent | 967f2de5c9ec224480b940d5c9fc207ca625b7d8 (diff) |
migration: modify test_multifd_tcp_none() to use new QAPI syntax.
modify multifd tcp common test to incorporate the new QAPI
syntax defined.
Suggested-by: Aravind Retnakaran <aravind.retnakaran@nutanix.com>
Signed-off-by: Het Gala <het.gala@nutanix.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231023182053.8711-15-farosas@suse.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtest/migration-test.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c index 047b7194df..e803b46039 100644 --- a/tests/qtest/migration-test.c +++ b/tests/qtest/migration-test.c @@ -1310,7 +1310,12 @@ static int migrate_postcopy_prepare(QTestState **from_ptr, migrate_prepare_for_dirty_mem(from); qtest_qmp_assert_success(to, "{ 'execute': 'migrate-incoming'," - " 'arguments': { 'uri': 'tcp:127.0.0.1:0' }}"); + " 'arguments': { " + " 'channels': [ { 'channel-type': 'main'," + " 'addr': { 'transport': 'socket'," + " 'type': 'inet'," + " 'host': '127.0.0.1'," + " 'port': '0' } } ] } }"); /* Wait for the first serial output from the source */ wait_for_serial("src_serial"); |