From patchwork Wed Jul 26 14:18:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Het Gala X-Patchwork-Id: 13328297 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 83041C001B0 for ; Wed, 26 Jul 2023 15:34:30 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOfMl-0003v4-24; Wed, 26 Jul 2023 10:19:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOfM8-0003Vj-8x for qemu-devel@nongnu.org; Wed, 26 Jul 2023 10:19:17 -0400 Received: from mx0a-002c1b01.pphosted.com ([148.163.151.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOfM2-0001Dm-GL for qemu-devel@nongnu.org; Wed, 26 Jul 2023 10:19:09 -0400 Received: from pps.filterd (m0127838.ppops.net [127.0.0.1]) by mx0a-002c1b01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36QBXhfP001667; Wed, 26 Jul 2023 07:19:04 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :content-type:content-transfer-encoding:mime-version; s= proofpoint20171006; bh=RdgxwxeGbHHnnEjYoUYHgW6WKRbn9x9SsTaVbo11m YE=; b=eO20EN1DdH3hZdKC5qGtyRjwTYevN1ovAHbmqUMWWTeNyAy5gzlcyMVsh BzhMohGGZFcHfji8dSdtJu7nCecLobqmNb8AJbKenR2Gjj76H1ZN+Na0YHRCvTop 0YZ6xDmgRD2vvctlUsUKjXgClORxUgAh9GTxyz8SnXxkaDTVDks0F7Aj3NJkvBbD T5akomD1DBYhs54reOH9u/oEnNXFWNcii3ZzBtlWAByznM4VmOJPwvjOnsmUt+Jk FoFUO7Z9moNF45Jy/NTgohoSfwIYbRbm78kvz8z62PjHa5Z6b7AK/e4wbK8pslKo R2wuGq4v9Wj2kZIYYc97ahMmEDIXQ== Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by mx0a-002c1b01.pphosted.com (PPS) with ESMTPS id 3s0envfyep-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jul 2023 07:19:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KvuUZ9ROCT+mpieQG+4T/1CNuLcKP1X0lIL/oJoUY6D8V/fJ8iwGM79tp+xpDjpzme7CE3fhe0ATIf/K2OXFh+jBWpB8eUCCXVjNp386aYoXsBOyA4Lh7CjoM/xF2TmQ0lRAFhDUOH9I52ursSaoBD6z1AZOZh95rOs+uBsK9AD291PFv5W5YQA5U+aCgUzlhSaBmbc7AHAy2wo+3YJJjoMdZcQS55AaGX4/dMYxYmLlwi40W7xTqQdBdWXI4sUr1dEoZGV4edaLJbL1q+dnbCUg72fgnBw0nT+B3I5MnpmADeH6nqOxDXRWj9FlTO6Zn3JOfyEfazD6y9AjWSwS4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RdgxwxeGbHHnnEjYoUYHgW6WKRbn9x9SsTaVbo11mYE=; b=ZcyDsEsqsIbfH9Te584VyQ1nFSNgPqac6+HseNQXO4PZBwGBkr93CimJz6yzWmjbm91/FLDHLX3iHKnwFznRBg1af3R3cGSRsb42Ox2d4thCWkT0fYqZxiTP5YnXcGnTAil4V02+ox5fAcaKhpAFahCVL+O12VdWH+Rxttzh11rbmpBSa7atxnevmUWFBjStUdloznO1ZTohCrcietD4b3YvDPiRBxXJxZCeyy26qSQ2FgFy3VDrE1T/1wUlQlx0SFBab0KuGxFxB+OYZ+8s4goDUROctrTTRl8n8HTU9Emk+Izms+rOXjZk8XSniLzjtqCnuL4Docsrl/asYa/huQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nutanix.com; dmarc=pass action=none header.from=nutanix.com; dkim=pass header.d=nutanix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RdgxwxeGbHHnnEjYoUYHgW6WKRbn9x9SsTaVbo11mYE=; b=dWhRbLjzAzzCO0TO7CAZY9b6UrwfcPV9eEWF/dE1vP9+UqnHqI8VdM4WP96x56ocwp3D5zWfM/ibgJ91sEACypTc5ealVsb/5QG1Vu+9TejzdnLoIy3UDfOdvcev39/RoF/ArdSIMen00XClqLvg5sgLWZM/68CVx+aAHcgg3/Mqz5m3F6h63E8PfDcqG1QckLcQMytzRJsj+Ijv6DFfebySMgfeioJKxG1aN+VgEY3ScSyE6nDUQtLRc2Tlhi2fpStdvFTl24V6X9o95voVCl02RZP4g09RXXiumsNbnTlKAbcT56lMJVg3uBKiTlrZCfPWzB5Ba5PBceWkJeh4rw== Received: from BYAPR02MB4343.namprd02.prod.outlook.com (2603:10b6:a03:57::18) by MN2PR02MB6861.namprd02.prod.outlook.com (2603:10b6:208:15f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.24; Wed, 26 Jul 2023 14:18:57 +0000 Received: from BYAPR02MB4343.namprd02.prod.outlook.com ([fe80::2c:438b:2b97:26ad]) by BYAPR02MB4343.namprd02.prod.outlook.com ([fe80::2c:438b:2b97:26ad%3]) with mapi id 15.20.6631.026; Wed, 26 Jul 2023 14:18:57 +0000 From: Het Gala To: qemu-devel@nongnu.org Cc: prerna.saxena@nutanix.com, quintela@redhat.com, dgilbert@redhat.com, pbonzini@redhat.com, berrange@redhat.com, armbru@redhat.com, eblake@redhat.com, manish.mishra@nutanix.com, aravind.retnakaran@nutanix.com, Het Gala Subject: [PATCH v10 10/10] migration: modify test_multifd_tcp_none() to use new QAPI syntax. Date: Wed, 26 Jul 2023 14:18:33 +0000 Message-Id: <20230726141833.50252-11-het.gala@nutanix.com> X-Mailer: git-send-email 2.22.3 In-Reply-To: <20230726141833.50252-1-het.gala@nutanix.com> References: <20230726141833.50252-1-het.gala@nutanix.com> X-ClientProxiedBy: BYAPR07CA0096.namprd07.prod.outlook.com (2603:10b6:a03:12b::37) To BYAPR02MB4343.namprd02.prod.outlook.com (2603:10b6:a03:57::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR02MB4343:EE_|MN2PR02MB6861:EE_ X-MS-Office365-Filtering-Correlation-Id: 74920a2e-4258-41a6-7b71-08db8de33fec x-proofpoint-crosstenant: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HMSRqPJIh3tqzTsXxZquwuVqa/NbswpY4k/MApmXSDgE0Ru0i0vf3FSWTVFDweXIHf1ZdCcfr/QsUirv2m8RJCXyys2wWDzzvDQwcD27b5cNCbG2Kz8p1xvt3CNRppOgC6bh+w+rQ9WitE9Mjp/hM9jt2tr8uXHJq329egWGjYGuuIikDSGETr1bCxAdkwzsEzqmjptxJgQxNzra0RjZ3NPA3FWPlifoZsAb/G0NdNHFbnKNhKl7xFSfbbEk27MhfxzPJXuruv/uHkcfhVZjd4aBH7jrv5K3IQ5pB5RTfHtygLJPW39KgRvOdUDZlsTbUO0SFopD37qw3c+bBbOX4F329jPqU4u+qoCdsLSWafZ8dHwUQZeRlUp2JTUG4/ZJmM+FOc3wWNKgyJrb58JLKI84dRSvXqBlV0urk1giyltAHV8bCDJc46BqNI5cxlaT0xljqiXtDjGz74oEzCWUGpHqn+N5pYggCWC+lf9BJR5gC158Uf3vNkbOOjhvgr9Nk6f27EtGq8zGCEtUVSZjNkKaE/BsuEa1PPdmwJrhmS2CabTALZmm2bGloRxbyq2/g8EJDmqQfD2YP1zrv16NWchd4UqO8EqpvCbaqmi4NaJPZgOKTRzYUw8S5FunH/BK X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR02MB4343.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(376002)(346002)(39860400002)(366004)(136003)(451199021)(1076003)(26005)(38100700002)(86362001)(4744005)(38350700002)(6506007)(36756003)(186003)(2906002)(44832011)(8676002)(8936002)(5660300002)(2616005)(83380400001)(41300700001)(107886003)(6916009)(4326008)(316002)(66476007)(66946007)(66556008)(6486002)(6512007)(6666004)(478600001)(52116002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?t7HzPZ2L8WgnmDG2xEmmTtQbmqW6?= =?utf-8?q?EsTuKTsKpAvKBPcl8MHr1o7WFqZdH98QOgK02R++yF6A1yW80IxWRKEMSQ7Lq0MKv?= =?utf-8?q?xRlXB+vNuwARzlCft7bW2QosTKWgYYqsneJc57o2kODM2Dw2oSh1OSHR7GriwFCs8?= =?utf-8?q?vBWWru2fa6QUFL5+ZdJujrIg1WvpagXcxPKYHDfSlr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jufL0uG1DRcD9w5?= =?utf-8?q?9hB1oFZLpfBjKvpgUUDM1SSkoWB97fd/ZuidMeESr5G7Fj3JR2uEOvtEFzdTv3p2a?= =?utf-8?q?hbtl8Qak8eF3PCYlRwtA6kIpgnZvPD6abufJis3oLCjQ1+LMMRV5RhSILpuxQmo2K?= =?utf-8?q?LNkdZ7Jbi/0upHUnipJ72pDXtXMa2tgUY7JN2MnMpv+tcNk5OYuHophQMjy5VQuPj?= =?utf-8?q?xaHSy7wogUBOXWrTE3JLrwkcBlEZ+eHxS1a4YyYHWycDgavy1Rc5X+qSNEGwiqViY?= =?utf-8?q?rlE3SWSwoobOnS0kt3qZNsohYUA4WBE9ro5HVk/exdBAFLAuiht9G88AVTiZJQIou?= =?utf-8?q?m+i84dIDV/SzTMX8fdMu7r5pLNs+Ms+4iV21iufuKppECAC2ItBd1k40pCQ4hnmWJ?= =?utf-8?q?nf7bDx/uI+loMYBos5ztQ4yTP6bDxQej48ezNjdAQCCaaXzbwKOZzvl28Qp5eOyQv?= =?utf-8?q?IxUCyYG2qV0wJGJP6hHk1PJGv71qUy36uQ=3D=3D?= X-OriginatorOrg: nutanix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74920a2e-4258-41a6-7b71-08db8de33fec X-MS-Exchange-CrossTenant-AuthSource: BYAPR02MB4343.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2023 14:18:57.4513 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bb047546-786f-4de1-bd75-24e5b6f79043 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: dMOzxEzHr0YKhSSq5xONh6SPZYSyyS5qmIWHGP+tH/j0o+skMawiPzyOGsEse2mIzprK4sJm2Px2YKm/bU3Pbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR02MB6861 X-Proofpoint-GUID: kiTKG2aC5K7ooBym4mnJmNuEkXgRTVkB X-Proofpoint-ORIG-GUID: kiTKG2aC5K7ooBym4mnJmNuEkXgRTVkB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-26_06,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Reason: safe Received-SPF: pass client-ip=148.163.151.68; envelope-from=het.gala@nutanix.com; helo=mx0a-002c1b01.pphosted.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org modify multifd tcp common test to incorporate the new QAPI syntax defined. Suggested-by: Aravind Retnakaran Signed-off-by: Het Gala Reviewed-by: Daniel P. Berrangé --- 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 e256da1216..376fad8311 100644 --- a/tests/qtest/migration-test.c +++ b/tests/qtest/migration-test.c @@ -2185,7 +2185,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; }