[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v14 14/14] migration: modify test_multifd_tcp_none() to use new Q
|
From: |
Fabiano Rosas |
|
Subject: |
[PATCH v14 14/14] migration: modify test_multifd_tcp_none() to use new QAPI syntax. |
|
Date: |
Thu, 19 Oct 2023 16:23:53 -0300 |
From: Het Gala <het.gala@nutanix.com>
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>
---
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 e1c110537b..76b3a472ed 100644
--- a/tests/qtest/migration-test.c
+++ b/tests/qtest/migration-test.c
@@ -1284,7 +1284,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");
--
2.35.3
- [PATCH v14 04/14] fixup! migration: convert migration 'uri' into 'MigrateAddress', (continued)
- [PATCH v14 04/14] fixup! migration: convert migration 'uri' into 'MigrateAddress', Fabiano Rosas, 2023/10/19
- [PATCH v14 05/14] migration: convert socket backend to accept MigrateAddress, Fabiano Rosas, 2023/10/19
- [PATCH v14 06/14] migration: convert rdma backend to accept MigrateAddress, Fabiano Rosas, 2023/10/19
- [PATCH v14 07/14] migration: convert exec backend to accept MigrateAddress., Fabiano Rosas, 2023/10/19
- [PATCH v14 08/14] migration: Convert the file backend the new QAPI syntax, Fabiano Rosas, 2023/10/19
- [PATCH v14 09/14] migration: New migrate and migrate-incoming argument 'channels', Fabiano Rosas, 2023/10/19
- [PATCH v14 10/14] fixup! migration: New migrate and migrate-incoming argument 'channels', Fabiano Rosas, 2023/10/19
- [PATCH v14 11/14] migration: modify migration_channels_and_uri_compatible() for new QAPI syntax, Fabiano Rosas, 2023/10/19
- [PATCH v14 12/14] migration: Implement MigrateChannelList to qmp migration flow., Fabiano Rosas, 2023/10/19
- [PATCH v14 13/14] migration: Implement MigrateChannelList to hmp migration flow., Fabiano Rosas, 2023/10/19
- [PATCH v14 14/14] migration: modify test_multifd_tcp_none() to use new QAPI syntax.,
Fabiano Rosas <=