[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v13 10/10] migration: modify test_multifd_tcp_none() to use new Q
|
From: |
Het Gala |
|
Subject: |
[PATCH v13 10/10] migration: modify test_multifd_tcp_none() to use new QAPI syntax. |
|
Date: |
Thu, 12 Oct 2023 15:10:52 +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>
---
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 8eb2053dbb..274e03db43 100644
--- a/tests/qtest/migration-test.c
+++ b/tests/qtest/migration-test.c
@@ -1277,7 +1277,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.22.3
- [PATCH v13 00/10] migration: Modify 'migrate' and 'migrate-incoming' QAPI commands for migration, Het Gala, 2023/10/12
- [PATCH v13 01/10] migration: New QAPI type 'MigrateAddress', Het Gala, 2023/10/12
- [PATCH v13 03/10] migration: convert socket backend to accept MigrateAddress, Het Gala, 2023/10/12
- [PATCH v13 02/10] migration: convert migration 'uri' into 'MigrateAddress', Het Gala, 2023/10/12
- [PATCH v13 04/10] migration: convert rdma backend to accept MigrateAddress, Het Gala, 2023/10/12
- [PATCH v13 05/10] migration: convert exec backend to accept MigrateAddress., Het Gala, 2023/10/12
- [PATCH v13 07/10] migration: modify migration_channels_and_uri_compatible() for new QAPI syntax, Het Gala, 2023/10/12
- [PATCH v13 06/10] migration: New migrate and migrate-incoming argument 'channels', Het Gala, 2023/10/12
- [PATCH v13 08/10] migration: Implement MigrateChannelList to qmp migration flow., Het Gala, 2023/10/12
- [PATCH v13 10/10] migration: modify test_multifd_tcp_none() to use new QAPI syntax.,
Het Gala <=
- [PATCH v13 09/10] migration: Implement MigrateChannelList to hmp migration flow., Het Gala, 2023/10/12
- Re: [PATCH v13 00/10] migration: Modify 'migrate' and 'migrate-incoming' QAPI commands for migration, Het Gala, 2023/10/18