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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 0A234C4338F for ; Tue, 17 Aug 2021 23:11:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BCBB46054E for ; Tue, 17 Aug 2021 23:11:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234952AbhHQXLo (ORCPT ); Tue, 17 Aug 2021 19:11:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229466AbhHQXLo (ORCPT ); Tue, 17 Aug 2021 19:11:44 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E08CC061764 for ; Tue, 17 Aug 2021 16:11:10 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id a13so253220iol.5 for ; Tue, 17 Aug 2021 16:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nSPXvVD5O5V1uAajVcwzQDL8XPPrWHEb/KX0Q3ujGGw=; b=DV71LEGEMcriWPqOYp3Q5R0N4RSvbjCLFxLOck0Q7TEvPvU64h7Du0KFJFLqHFTWpJ asLis14FQpp3IqFunafPIOYW7Y79oCZd14ntf7XMxW1dZUdTv8q0NwbV+O9FgenjKzl7 xbzaHOSnzBeCuH7PCFrbbHuTyqgQ03rjFVCuG6di38tfo0nSKzdUKD1s2IZhoUUC7MtB tbUL1dN80a4+/0eWCgJcJpbH8Ju7UD6LJBm4nZVXvXCSzOrLsMSiXW7rdIkHU20SyfqS ZEyQE8pQSLaPG1bTSF7NfC4UsU6T5S4vYxePdJnKP2Ycb6/lt/hK6CuC17oygWSNt5KT K4WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nSPXvVD5O5V1uAajVcwzQDL8XPPrWHEb/KX0Q3ujGGw=; b=qlYZvfm8+ZuzRkswcqWa4I5IdEZGKqu+7tlyfPtzxUVIQStSlzs31gLeUG2GCC6pmw Q/rh1Fb1OpWIcFW6ObTwBySAKJPmti79+c2zYh/YPdDy+fma6DZvxC78I6a4tTiAFYit +x2UQo+mfBesMEFqB9sGjTuW1kciDHEo0WOkZb3ezFuVhkw0Cb0mUfnRFQwh6fkUxm4W +AMPOoz1i+lg+YZmYCJbZkK0GXxvocobVIGxrDY5yEA+qjchRJD8VZVxk/nSdJSk/qol 5tES9RSQcsmAbUnVjE6AqCfTcTc0QUnt4+g4tvhPwwrLD2Z5JzIu0nUOF76odSdI1Vh+ fyOg== X-Gm-Message-State: AOAM530yLKMMiBMBY7afDsCYcR93cUmkY1b0Qw+pGiMJPHH+INc83CHe GtD7IwQrzWQGsPufY7MKQgg/Lq1FX4MboMDecR6/Dw== X-Google-Smtp-Source: ABdhPJxVvNSmVlJ0KA6TSTA1JviGtz5KbzeBvftwQSoQXXKspUz7umEQ409Z7oNaSQXRbv2fkxMVpdeM+d00qN95S/g= X-Received: by 2002:a02:7094:: with SMTP id f142mr5055124jac.19.1629241869799; Tue, 17 Aug 2021 16:11:09 -0700 (PDT) MIME-Version: 1.0 References: <0fcfafde-a690-f53a-01fc-542054948bb2@redhat.com> In-Reply-To: From: Steve Rutherford Date: Tue, 17 Aug 2021 16:10:33 -0700 Message-ID: Subject: Re: [RFC PATCH 00/13] Add support for Mirror VM. To: jejb@linux.ibm.com Cc: Paolo Bonzini , Ashish Kalra , qemu-devel , Thomas Lendacky , Brijesh Singh , "Habkost, Eduardo" , "S. Tsirkin, Michael" , Richard Henderson , Tobin Feldman-Fitzthum , Dov Murik , Hubertus Franke , David Gilbert , kvm Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Tue, Aug 17, 2021 at 3:57 PM James Bottomley wrote: > Realistically, migration is becoming a royal pain, not just for > confidential computing, but for virtual functions in general. I really > think we should look at S3 suspend, where we shut down the drivers and > then reattach on S3 resume as the potential pathway to getting > migration working both for virtual functions and this use case. This type of migration seems a little bit less "live", which makes me concerned about its performance characteristics. Steve 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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 A2360C4338F for ; Tue, 17 Aug 2021 23:12:35 +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 245CD60F11 for ; Tue, 17 Aug 2021 23:12:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 245CD60F11 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:39218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mG8G2-0007dx-3t for qemu-devel@archiver.kernel.org; Tue, 17 Aug 2021 19:12:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG8Ei-0006x1-R0 for qemu-devel@nongnu.org; Tue, 17 Aug 2021 19:11:12 -0400 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]:46626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mG8Eg-00027L-VE for qemu-devel@nongnu.org; Tue, 17 Aug 2021 19:11:12 -0400 Received: by mail-io1-xd31.google.com with SMTP id b200so196414iof.13 for ; Tue, 17 Aug 2021 16:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nSPXvVD5O5V1uAajVcwzQDL8XPPrWHEb/KX0Q3ujGGw=; b=DV71LEGEMcriWPqOYp3Q5R0N4RSvbjCLFxLOck0Q7TEvPvU64h7Du0KFJFLqHFTWpJ asLis14FQpp3IqFunafPIOYW7Y79oCZd14ntf7XMxW1dZUdTv8q0NwbV+O9FgenjKzl7 xbzaHOSnzBeCuH7PCFrbbHuTyqgQ03rjFVCuG6di38tfo0nSKzdUKD1s2IZhoUUC7MtB tbUL1dN80a4+/0eWCgJcJpbH8Ju7UD6LJBm4nZVXvXCSzOrLsMSiXW7rdIkHU20SyfqS ZEyQE8pQSLaPG1bTSF7NfC4UsU6T5S4vYxePdJnKP2Ycb6/lt/hK6CuC17oygWSNt5KT K4WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nSPXvVD5O5V1uAajVcwzQDL8XPPrWHEb/KX0Q3ujGGw=; b=tq686HFZUect3wySFvjlhRF7Fx++oJn4DaZEW5ym2Kq/MJK4edRAWzL0DYeT4ByuGv 3k4xioSST5O379YKez/qq3Epa3nOxFtGz26gQVz46jyqYmkTa5j7CersSAU/qNRg3jAL V/lAz7SUgYAUTlyUZ8i3h87RbQwjasklMXZoaamkC89Ky8i100zqycnI8B44lPIAB+EP ehwO0Jo8pfZE2JQE7MIq3n10IHt4pxxB+CpDc2uyqjgW/ori15qxbds+q1O3nb0F45wC vkauEwOVsW+Ds1bJ9ly/+KcdK7EHRdxMB+adU6GuWz1Y6/t3KqLRhFUDQLyT5bIm0rPs r5AA== X-Gm-Message-State: AOAM531XzqovEd1wBX6E44f19CmKRGi1PmHZv8FX8euXZL2EsOr+KURF fS+mbqE2LfZb4FlniYVnsbR5/AfIjhfbZguy/h23cQ== X-Google-Smtp-Source: ABdhPJxVvNSmVlJ0KA6TSTA1JviGtz5KbzeBvftwQSoQXXKspUz7umEQ409Z7oNaSQXRbv2fkxMVpdeM+d00qN95S/g= X-Received: by 2002:a02:7094:: with SMTP id f142mr5055124jac.19.1629241869799; Tue, 17 Aug 2021 16:11:09 -0700 (PDT) MIME-Version: 1.0 References: <0fcfafde-a690-f53a-01fc-542054948bb2@redhat.com> In-Reply-To: From: Steve Rutherford Date: Tue, 17 Aug 2021 16:10:33 -0700 Message-ID: Subject: Re: [RFC PATCH 00/13] Add support for Mirror VM. To: jejb@linux.ibm.com Cc: Paolo Bonzini , Ashish Kalra , qemu-devel , Thomas Lendacky , Brijesh Singh , "Habkost, Eduardo" , "S. Tsirkin, Michael" , Richard Henderson , Tobin Feldman-Fitzthum , Dov Murik , Hubertus Franke , David Gilbert , kvm Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::d31; envelope-from=srutherford@google.com; helo=mail-io1-xd31.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Tue, Aug 17, 2021 at 3:57 PM James Bottomley wrote: > Realistically, migration is becoming a royal pain, not just for > confidential computing, but for virtual functions in general. I really > think we should look at S3 suspend, where we shut down the drivers and > then reattach on S3 resume as the potential pathway to getting > migration working both for virtual functions and this use case. This type of migration seems a little bit less "live", which makes me concerned about its performance characteristics. Steve