Skip to content

Commit 8e3766e

Browse files
hetgala99Juan Quintela
authored andcommitted
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>
1 parent 967f2de commit 8e3766e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/qtest/migration-test.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,12 @@ static int migrate_postcopy_prepare(QTestState **from_ptr,
13101310

13111311
migrate_prepare_for_dirty_mem(from);
13121312
qtest_qmp_assert_success(to, "{ 'execute': 'migrate-incoming',"
1313-
" 'arguments': { 'uri': 'tcp:127.0.0.1:0' }}");
1313+
" 'arguments': { "
1314+
" 'channels': [ { 'channel-type': 'main',"
1315+
" 'addr': { 'transport': 'socket',"
1316+
" 'type': 'inet',"
1317+
" 'host': '127.0.0.1',"
1318+
" 'port': '0' } } ] } }");
13141319

13151320
/* Wait for the first serial output from the source */
13161321
wait_for_serial("src_serial");

0 commit comments

Comments
 (0)