[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v11 10/10] migration: modify test_multifd_tcp_none() to use new Q
|
From: |
Het Gala |
|
Subject: |
[PATCH v11 10/10] migration: modify test_multifd_tcp_none() to use new QAPI syntax. |
|
Date: |
Wed, 4 Oct 2023 07:58:51 +0000 |
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>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
---
tests/qtest/migration-test.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c
index 46f1c275a2..246cab6451 100644
--- a/tests/qtest/migration-test.c
+++ b/tests/qtest/migration-test.c
@@ -2205,7 +2205,12 @@ test_migrate_precopy_tcp_multifd_start_common(QTestState
*from,
/* Start incoming migration from the 1st socket */
qtest_qmp_assert_success(to, "{ 'execute': 'migrate-incoming',"
- " 'arguments': { 'uri': 'tcp:127.0.0.1:0' }}");
+ " 'arguments': { "
+ " 'channels': [ { 'channeltype': 'main',"
+ " 'addr': { 'transport': 'socket',"
+ " 'type': 'inet',"
+ " 'host': '127.0.0.1',"
+ " 'port': '0' } } ] } }");
return NULL;
}
--
2.22.3
- [PATCH v11 04/10] migration: convert rdma backend to accept MigrateAddress, (continued)
[PATCH v11 10/10] migration: modify test_multifd_tcp_none() to use new QAPI syntax.,
Het Gala <=
[PATCH v11 08/10] migration: Implement MigrateChannelList to qmp migration flow., Het Gala, 2023/10/04
[PATCH v11 07/10] migration: modify migration_channels_and_uri_compatible() for new QAPI syntax, Het Gala, 2023/10/04
Re: [PATCH v11 00/10] migration: Modify 'migrate' and 'migrate-incoming' QAPI commands for migration, Fabiano Rosas, 2023/10/04