From patchwork Thu Oct 12 15:10:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Het Gala X-Patchwork-Id: 13419362 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 02D69C41513 for ; Thu, 12 Oct 2023 15:11:56 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqxLZ-0006KQ-Mi; Thu, 12 Oct 2023 11:11:33 -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 1qqxLU-0006He-V1 for qemu-devel@nongnu.org; Thu, 12 Oct 2023 11:11:29 -0400 Received: from mx0b-002c1b01.pphosted.com ([148.163.155.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqxLK-0003fZ-6N for qemu-devel@nongnu.org; Thu, 12 Oct 2023 11:11:26 -0400 Received: from pps.filterd (m0127842.ppops.net [127.0.0.1]) by mx0b-002c1b01.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 39C8kUl2027098; Thu, 12 Oct 2023 08:11:15 -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=B8CPtB8VFlLv7xK4hwQmmZb5gV0TH5eYMqmt4mrAn ug=; b=VyDBhOVyTLAs7wBbWng1qDD/zNcG6mdLcAx4tx+7jZPzYw+WgTLZWEsZS CqqE7kGjkI2EEqarsPK23rujvKjvQhS/VIyJkXpzNe44y9fKDijvwUvgSigXjQYh 9LA/bR1uzbLYpi6dFbz4TcX4erFq7+GGG2zhWJwiIFZDky1RUYvwQyD34UOOKgY+ MbaHsm+0myF7D/0pbBadU3SHa7/p7Hj/hmhqMnjPRNKZ2w5MiETiy8414U501nMU Ae422Eln5lV6SVZP0X0EMJxFkkQyW7I4LY6Jl/sIZpD+gAYIDtXVecjoG8QKa1WA iCzJLAemSlnH1T7Hvq3/RrKntIfMg== Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by mx0b-002c1b01.pphosted.com (PPS) with ESMTPS id 3tkhu4ujse-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 08:11:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GSoSvoIXce5eCtMzHq+pM5z4GEoR60P3CnF7mM7fz2/v8PS4WReUynev8pR+H3msZi9PvWcWZxi24kgFnbmv3uPHju6BZhHqQTjk+W7Zbtm1eDQr/JpyKGX939Aw6Pu+E/hFDkfxqLUvBGFXk19EiM4WpCOTVSLUAnlvuGt1uMGAybWiow+N55q0RcSG6yeXh8F4X1ij2hdEZcM6uN104UROTc+Ec1h8iHeycIasX3UqVJmtodn9V9S8fJ4/W5vTk6y8gipPGqJHMsrWmj3yZM8KHH7WhT0PR2/K5wEQZ2S2SUsB5yQgspR4LxAPn9drZ8/H689OvIvopLr24H849A== 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=B8CPtB8VFlLv7xK4hwQmmZb5gV0TH5eYMqmt4mrAnug=; b=mqITf1v/E9FsNy1rgdMZAQK77UH6q41VCBV7DBQxN+pabfBLU4mFlo1VF5QXqtlQIHaFWeNeWnAKty6y8iTM5mKCQMxkVQvpPeP93PkSSvf2nZ/iSVc/r89yI5F7UW57f8SHAyd0Qsr7/5hcRQ3Ei0gFiu9aUf1In9Rb8cE8meNwv5bHyh3ElHw9Op9iMGe12k8xeFfz+4lgsT4thtMjyzUiMJIfFl/q/vtmM+gnz7B+65hqty7kcEQ3+Hn8/bciZH43IN4lxRId1OVJObRqu5r42wq0dmhbjJBGkeIrnItHApqemSuA7zhsPrkH6AIeKaxabcxrCL0OpIUpHCgHKA== 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=B8CPtB8VFlLv7xK4hwQmmZb5gV0TH5eYMqmt4mrAnug=; b=fqDqWXnMnEIbjz6HXvc246OrPdBswD3gHrMGS0FtUq1JgMfU93VzvZNtBPkw9emkq8HFsJFPdjjzzvCFsfUZHDkxOSB55F/L/7g27JzMjq9p5rjkVnv2/67/69S3EUQFEUO3FoIO8Fmbm8NmwtThqFyH1rdH5evul3zyCmVw0SEUTQHJ9HmWV2QcTg9NPQ9AVmVJ05Q4ZzTxQF8IHfckGR9qUeXaahS3kWpB9SbvjNh4TY/GWtUrd0kru7nyP15ufQYyeoGYlKf/8aS6c3XqGVAA4ezFmg2MW+qLjfipV3lSL1lDQKe6gZMkeCWahHGDjc9ZZeAeYpnG4naYW6V/Vg== Received: from SJ2PR02MB9955.namprd02.prod.outlook.com (2603:10b6:a03:55f::16) by IA0PR02MB9510.namprd02.prod.outlook.com (2603:10b6:208:403::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.45; Thu, 12 Oct 2023 15:11:13 +0000 Received: from SJ2PR02MB9955.namprd02.prod.outlook.com ([fe80::f13d:ea:118b:b4ae]) by SJ2PR02MB9955.namprd02.prod.outlook.com ([fe80::f13d:ea:118b:b4ae%4]) with mapi id 15.20.6863.043; Thu, 12 Oct 2023 15:11:13 +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, farosas@suse.de, manish.mishra@nutanix.com, aravind.retnakaran@nutanix.com, Het Gala Subject: [PATCH v13 04/10] migration: convert rdma backend to accept MigrateAddress Date: Thu, 12 Oct 2023 15:10:46 +0000 Message-Id: <20231012151052.154106-5-het.gala@nutanix.com> X-Mailer: git-send-email 2.22.3 In-Reply-To: <20231012151052.154106-1-het.gala@nutanix.com> References: <20231012151052.154106-1-het.gala@nutanix.com> X-ClientProxiedBy: MN2PR12CA0004.namprd12.prod.outlook.com (2603:10b6:208:a8::17) To SJ2PR02MB9955.namprd02.prod.outlook.com (2603:10b6:a03:55f::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR02MB9955:EE_|IA0PR02MB9510:EE_ X-MS-Office365-Filtering-Correlation-Id: 79a0733e-fe6a-4f2b-289b-08dbcb357966 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: IEHvTDVWgAD90XKbjOcc7Ya+uxMZs4jCvXR9jRZ8hq7qJxxlHnfvvHTcvOpvTDjBBL7B0KiOx89+ZhmxtkPo0JEoWQJ5JGVwD/hVoqtJ3f5IioUEQI0HuiLVlhni5QsENAzIDD/s0KR5RTcw4v0cgdzP6FcMyPoMfkUn0+HIHYexoS3orcGnV5L+XHqtdTp1mXY7h7WmlFSu7UvCgtlO0K65Tpn9ExW7CReDh80rkAisZ714p/NCXTrstumd5UPkiM8X9mAtJZJoc0knEc9AL29Fnx4CouQzbx9YGI1UFn6lckC4bRNgUCI+WUv7z9Qp7bwaUv5wBWIQG56M6GRd4f7fb7hwUwpL1mwabM6yWU6JQM7iee8jMcDBBuGX+B5aryVmHuPBk5zqdfY3+oY0+u7aSKCNS4Rn1ZIan3xVT1y8gdU3niP6rIG8VkMfkD+O3xJCj2Tdu3yP61IZ6yH1xDEBBS9sDp9/iLl1zYcwSAHBU3MobTDUhDKPdxKznaEd2br6Zz7p1i3zV76tMM4dAv0LdVhO0R7TYHxSwNzUv/w45qx+7YeCYZvfEfXhxx8jncvVQQ8JWy4IDCojcCTnbC+8Msyk0Kb2eJ1dYEPtgI2wgCWwb2z96D5sY8uGhQWK X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR02MB9955.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(136003)(376002)(346002)(366004)(39860400002)(230922051799003)(1800799009)(64100799003)(451199024)(186009)(6512007)(38350700002)(38100700002)(26005)(2616005)(1076003)(107886003)(478600001)(6486002)(44832011)(5660300002)(8936002)(4326008)(8676002)(86362001)(2906002)(6916009)(316002)(66476007)(36756003)(41300700001)(66556008)(66946007)(6666004)(52116002)(6506007)(83380400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?fhEgs/HdOTMlFAWHCc84XTTbwITp?= =?utf-8?q?PwTKT/4QJdXZsQQ8xXl3B2jw7oJA8IXonfR3GYXn73y43ThEsv7ZyNIjbByfP7iVu?= =?utf-8?q?TdWU9nSXBJul8uCbpQuSHyxSLy57vFbDiUbNyEWipeHrzi6jo9A0OQ7vZrQzeU4V6?= =?utf-8?q?cQIBbPdhgdnqhRVihQw5QUIFsU1SizLADGkvl3a23d5B3hgWpcGlyJbi8g92G4MgQ?= =?utf-8?q?1IHG25Po6BujhDs92LYEOkxjIUZfBcuHQv0gUv/Ix28UcVBtw0mjY7znxY+bd3kBg?= =?utf-8?q?zXRdHyWEcoL30gisI2ZE5Nux/IXPfdOR1LLhyo/WAzqMVhnOkNci0MzwLCBSBgeVN?= =?utf-8?q?GIyMkQV1wypUfVCNJbu4gfVSsJ02KaPO/IK8kBpJZc0xs2Ic7fLJlIgDB6dk/U8aF?= =?utf-8?q?xTlzjoQK5CvD3Kv5SQAex2GhJWFmEAFjgImh2lNTLBxqn9EyOmh3dzMVlj/MUiQ9F?= =?utf-8?q?tuvWoCedMtHUECk1EEeBuAEKG70pPrqAKEDAr/ZbKNCmqmAoVZVGoVr5F3K6D6xli?= =?utf-8?q?gh4J3B0ruNt0l32AjwkpMfvVREPTFJDHBZzbYcLd1rbrPacZXJIBHT4QeIRv0ZoBE?= =?utf-8?q?MA6ZP+MuGcOH5BrmLVRfEuR4qLXYeZxVgE3iitZu5IRbyAB6VzAq5lpWwDt4fdcm/?= =?utf-8?q?BA3OAdNiEcUutLMvim1TbqsnW1YLhf8NkP8dPlpox99Ze6yeUm7lpKseqvcnBIZym?= =?utf-8?q?O46Ek6GshNTLvb/sQDqXlpui5qLoodTUO7AsSx+3ajEgWm9K4oqbmq9CqCOkUKoLr?= =?utf-8?q?mW/RfVj4ObuJFK552UAnDWoQ6hZ/QKnKgfy/6ZLmOATDNawwSf25Xn5RydGgsBMFN?= =?utf-8?q?frDCJ4fTcVl0iMHPp42fw/8b7qtsPq7lp8b+mq4crHwet9n3aYdvb7qWe0Tk2rH5Y?= =?utf-8?q?I2V6Isvx5ht/C2/AGwZeqSuNi1gS96tx0JQ/VN/B2UEoSS7HoZRMz55+aARKrGZc/?= =?utf-8?q?Utsvikbehp1uvt2VTXqTv7yWWqePRWhn6NJYIMed96qz5/pfNvktPchoAW6zI5SAj?= =?utf-8?q?8EEiJwO+HJpsLrIrRtAjDprYM5T7Ot2g9QUeIiVoRngj+4hIlpRwhlib7HczwGKKQ?= =?utf-8?q?YXaCQUNLMInh62DxX/7JCzBdqJ5PUHrYTneZRodUwFw2lnx1j4+0dEzPG/0rTKwLz?= =?utf-8?q?wPUJyFHYUpXn21BXUYAF4q1/l/BHfQjZUDX2NE7Cmn7bDDzBqYfEbVV+j42lxiTTa?= =?utf-8?q?OuCtgBjqMT9zfAazcQICclFGqF5nA1X6EUXusQ5QspuKLFt/pYS1fHr+G9rr+ecoK?= =?utf-8?q?sVOKaUbKZ6Q9cDttw1hw27OE2ccQsPESrc69pyU0X4fQObfajtMoq6er95fX/Oy84?= =?utf-8?q?HaZOKrLUUTnueLlAVfbmWjXMxDO/9tV1L3MVfVQLUbr22Zoi9sNhnlOaCj3aDSH6E?= =?utf-8?q?G94Es4YipOUvlarsA1+naO83eVriecUcq7/K3NFV2Lh46bV6JLwn2quAiNvo5dVzE?= =?utf-8?q?J41FOIU38EvWE5dWjP1r9RiuLYda/PIv8ip+BjPL3EEDI1qWtIG5JHTKnN9RZxP4V?= =?utf-8?q?2rtLz7W9Jvo7?= X-OriginatorOrg: nutanix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79a0733e-fe6a-4f2b-289b-08dbcb357966 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR02MB9955.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2023 15:11:13.5284 (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: I4L5YLWEHSeWvNlgtOUJQhuTyzd4qbp4W6R+GX91QRwzzXdHwRYAmNC+wUA35dJA9rNnzloyXVnKfNitEqa4Kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR02MB9510 X-Proofpoint-ORIG-GUID: gMAlKNEQ320EranwnExb_h4Yw4uEgbRP X-Proofpoint-GUID: gMAlKNEQ320EranwnExb_h4Yw4uEgbRP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-12_05,2023-10-12_01,2023-05-22_02 X-Proofpoint-Spam-Reason: safe Received-SPF: pass client-ip=148.163.155.12; envelope-from=het.gala@nutanix.com; helo=mx0b-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 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 RDMA based transport backend for 'migrate'/'migrate-incoming' QAPIs accept new wire protocol of MigrateAddress struct. It is achived by parsing 'uri' string and storing migration parameters required for RDMA connection into well defined InetSocketAddress struct. Suggested-by: Aravind Retnakaran Signed-off-by: Het Gala Reviewed-by: Daniel P. Berrangé --- migration/migration.c | 8 ++++---- migration/rdma.c | 33 +++++++++++---------------------- migration/rdma.h | 6 ++++-- 3 files changed, 19 insertions(+), 28 deletions(-) diff --git a/migration/migration.c b/migration/migration.c index 66eebfc74a..03b6deb45a 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -502,8 +502,8 @@ static void qemu_start_incoming_migration(const char *uri, Error **errp) fd_start_incoming_migration(saddr->u.fd.str, errp); } #ifdef CONFIG_RDMA - } else if (strstart(uri, "rdma:", &p)) { - rdma_start_incoming_migration(p, errp); + } else if (channel->transport == MIGRATION_ADDRESS_TYPE_RDMA) { + rdma_start_incoming_migration(&channel->u.rdma, errp); #endif } else if (strstart(uri, "exec:", &p)) { exec_start_incoming_migration(p, errp); @@ -1774,8 +1774,8 @@ void qmp_migrate(const char *uri, bool has_blk, bool blk, fd_start_outgoing_migration(s, saddr->u.fd.str, &local_err); } #ifdef CONFIG_RDMA - } else if (strstart(uri, "rdma:", &p)) { - rdma_start_outgoing_migration(s, p, &local_err); + } else if (channel->transport == MIGRATION_ADDRESS_TYPE_RDMA) { + rdma_start_outgoing_migration(s, &channel->u.rdma, &local_err); #endif } else if (strstart(uri, "exec:", &p)) { exec_start_outgoing_migration(s, p, &local_err); diff --git a/migration/rdma.c b/migration/rdma.c index f6fc226c9b..db8ef110c3 100644 --- a/migration/rdma.c +++ b/migration/rdma.c @@ -289,7 +289,6 @@ typedef struct RDMALocalBlocks { typedef struct RDMAContext { char *host; int port; - char *host_port; RDMAWorkRequestData wr_data[RDMA_WRID_MAX]; @@ -2444,9 +2443,7 @@ static void qemu_rdma_cleanup(RDMAContext *rdma) rdma->channel = NULL; } g_free(rdma->host); - g_free(rdma->host_port); rdma->host = NULL; - rdma->host_port = NULL; } @@ -2739,28 +2736,16 @@ static void qemu_rdma_return_path_dest_init(RDMAContext *rdma_return_path, rdma_return_path->is_return_path = true; } -static RDMAContext *qemu_rdma_data_init(const char *host_port, Error **errp) +static RDMAContext *qemu_rdma_data_init(InetSocketAddress *saddr, Error **errp) { RDMAContext *rdma = NULL; - InetSocketAddress *addr; rdma = g_new0(RDMAContext, 1); rdma->current_index = -1; rdma->current_chunk = -1; - addr = g_new(InetSocketAddress, 1); - if (!inet_parse(addr, host_port, NULL)) { - rdma->port = atoi(addr->port); - rdma->host = g_strdup(addr->host); - rdma->host_port = g_strdup(host_port); - } else { - error_setg(errp, "RDMA ERROR: bad RDMA migration address '%s'", - host_port); - g_free(rdma); - rdma = NULL; - } - - qapi_free_InetSocketAddress(addr); + rdma->host = g_strdup(saddr->host); + rdma->port = atoi(saddr->port); return rdma; } @@ -3359,6 +3344,7 @@ static int qemu_rdma_accept(RDMAContext *rdma) .private_data_len = sizeof(cap), }; RDMAContext *rdma_return_path = NULL; + g_autoptr(InetSocketAddress) isock = g_new0(InetSocketAddress, 1); struct rdma_cm_event *cm_event; struct ibv_context *verbs; int ret; @@ -3374,13 +3360,16 @@ static int qemu_rdma_accept(RDMAContext *rdma) goto err_rdma_dest_wait; } + isock->host = rdma->host; + isock->port = g_strdup_printf("%d", rdma->port); + /* * initialize the RDMAContext for return path for postcopy after first * connection request reached. */ if ((migrate_postcopy() || migrate_return_path()) && !rdma->is_return_path) { - rdma_return_path = qemu_rdma_data_init(rdma->host_port, NULL); + rdma_return_path = qemu_rdma_data_init(isock, NULL); if (rdma_return_path == NULL) { rdma_ack_cm_event(cm_event); goto err_rdma_dest_wait; @@ -4111,7 +4100,8 @@ static void rdma_accept_incoming_migration(void *opaque) } } -void rdma_start_incoming_migration(const char *host_port, Error **errp) +void rdma_start_incoming_migration(InetSocketAddress *host_port, + Error **errp) { int ret; RDMAContext *rdma; @@ -4154,13 +4144,12 @@ cleanup_rdma: err: if (rdma) { g_free(rdma->host); - g_free(rdma->host_port); } g_free(rdma); } void rdma_start_outgoing_migration(void *opaque, - const char *host_port, Error **errp) + InetSocketAddress *host_port, Error **errp) { MigrationState *s = opaque; RDMAContext *rdma_return_path = NULL; diff --git a/migration/rdma.h b/migration/rdma.h index de2ba09dc5..ee89296555 100644 --- a/migration/rdma.h +++ b/migration/rdma.h @@ -14,12 +14,14 @@ * */ +#include "qemu/sockets.h" + #ifndef QEMU_MIGRATION_RDMA_H #define QEMU_MIGRATION_RDMA_H -void rdma_start_outgoing_migration(void *opaque, const char *host_port, +void rdma_start_outgoing_migration(void *opaque, InetSocketAddress *host_port, Error **errp); -void rdma_start_incoming_migration(const char *host_port, Error **errp); +void rdma_start_incoming_migration(InetSocketAddress *host_port, Error **errp); #endif