From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24B4AC3A5A6 for ; Wed, 28 Aug 2019 14:25:48 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E7DCB23403 for ; Wed, 28 Aug 2019 14:25:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NNIFa0AL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7DCB23403 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2ytO-0003Pv-SB for qemu-devel@archiver.kernel.org; Wed, 28 Aug 2019 10:25:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54568) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2yrj-0002CA-38 for qemu-devel@nongnu.org; Wed, 28 Aug 2019 10:24:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2yrh-0000Ua-Oh for qemu-devel@nongnu.org; Wed, 28 Aug 2019 10:24:02 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:33164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2yrh-0000Tr-GO for qemu-devel@nongnu.org; Wed, 28 Aug 2019 10:24:01 -0400 Received: by mail-pf1-x442.google.com with SMTP id g2so1857813pfq.0 for ; Wed, 28 Aug 2019 07:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uzWT2Ciu2/Xsydg3JQ+ZbcwkZXpsVsfJ3kWHiDcnJPc=; b=NNIFa0AL/tg+eRrACYqKlv4QNpBuplBEBLLcmvmmoVicJN3o8iuPkw99c0aYdmOXzu ZetRlh7nXQVi8CG/onb5vSZ9wGt28J+2Vux3JDgK88lyjN73oxmyV0kWffDW9JV0CSnF dZi1Ke+8UykcHIer5KwYFpncoB1mP7jJr1p/bqmEDUbRYUYpNwJxyVLTEgOM3r7y0FT4 Vmh8SENkZfxDVCGMWexK1WAwQM7QVOZJnRa8x4DAZy+In8odewAfbkqgfhv/PfWK8kgB ZoVq7e0LjfOYs+9AqIF4UeuReVbG4AQaKR1+1cy7ffgxvIydrQK8wf8TUkL1wbaUZKle zJOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uzWT2Ciu2/Xsydg3JQ+ZbcwkZXpsVsfJ3kWHiDcnJPc=; b=b0ZZ1LKpATrQoC42plIYFKcOezfmN4AISBxiFunfBiQ1210YS5weZ+2SKMrTr89NsQ lp7SoMkyn6LcyxIB6TFGBVQLme4jC7QJbbTMIRdYSNVXObU8Wa6xVj0vflVIyyE3u0A+ nMMXRUcya9+3UsqgW+01aJ9zDTMcZ95upWDd6JNca/fPg1Y0+nK4G5B09sMU+OOJOzHI AbALq8SDHRSKv0MZnu3YPKt6ilHmuzaos5aipUKC+fT6qwIjE3TvKjpELIMmq6W+Xn8m K1B7/or5cYc5DQ61pLFOA6WtA2TWI+jLeIsCh7mGxn745qmm1pQY1aNKeQ7icHPfrr8f HfgQ== X-Gm-Message-State: APjAAAX10SUjy8wahV2uM7WOjtTlwWX030YMpY4auY6C4iZ6wxbHRpYf +dqzVnV9c9fUBEmVrvWspx0Zfbr2 X-Google-Smtp-Source: APXvYqyOY9whSDxCHtu68o4lOB4mYp/seWe2a2/pYUWc4q9WZKOD2N0I+YU/G7/o5ObzXiobBP8Mlw== X-Received: by 2002:a17:90a:be02:: with SMTP id a2mr4547363pjs.94.1567002239389; Wed, 28 Aug 2019 07:23:59 -0700 (PDT) Received: from beta.it.iitb.ac.in ([2405:204:2200:9180:9ba0:a3d7:637f:11ad]) by smtp.gmail.com with ESMTPSA id g1sm3180742pgg.27.2019.08.28.07.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 07:23:58 -0700 (PDT) From: Sukrit Bhatnagar To: qemu-devel@nongnu.org Date: Wed, 28 Aug 2019 19:53:26 +0530 Message-Id: <20190828142328.24561-1-skrtbhtngr@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::442 Subject: [Qemu-devel] [PATCH v1 0/2] Add live migration support in the PVRDMA device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yuval Shaia Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This series enables the migration of various GIDs used by the device. This is in addition to the successful migration of PCI and MSIX states as well as various DMA addresses and ring page information. We have a setup having two hosts and two VMs running atop them. Migrations are performed over the local network. We also have performed various ping-pong tests (ibv_rc_pingpong) in the guest(s) after adding GID migration support and this is the current status: - ping-pong to localhost succeeds, when performed before starting the migration and after the completion of migration. - ping-pong to a peer succeeds, both before and after migration as above, provided that both VMs are running on/migrated to the same host. So, if two VMs were started on two different hosts, and one of them was migrated to the other host, the ping-pong was successful. Similarly, if two VMs are migrated to the same host, then after migration, the ping-pong was successful. - ping-pong to a peer on the remote host is not working as of now. Our next goal is to achieve successful migration with live traffic. This is the same as the RFC v3 series posted earlier: https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg04752.html https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg04753.html https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg04754.html Sukrit Bhatnagar (2): hw/pvrdma: make DSR mapping idempotent in load_dsr() hw/pvrdma: add live migration support hw/rdma/vmw/pvrdma_main.c | 94 +++++++++++++++++++++++++++++++++++---- 1 file changed, 86 insertions(+), 8 deletions(-) -- 2.21.0