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=-7.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 E2748C433E0 for ; Thu, 25 Feb 2021 20:37:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8C7CF60201 for ; Thu, 25 Feb 2021 20:37:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234310AbhBYUhd (ORCPT ); Thu, 25 Feb 2021 15:37:33 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:34854 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234102AbhBYUez (ORCPT ); Thu, 25 Feb 2021 15:34:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614285194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qrF+Ni2Yvil2kIq/7VfKLEGp6/CXFjij6cAq88xAmxE=; b=fOLV0jvcXfr2ilU4CWZfdXDJqRJPaDuXFph5nK4Z6nKNN+wpn3NzfsMwWM5QOuUtuU/f6s YyeuLk2JYtia3WAo2GtOgmbB/gsXt+H36Ns005a/OVlNq18VYPJPqXDBjzwXKUliOgm5Jm kyulFCL5jyHjgA2i/N4WP/m8V5mxxYw= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-286-iAiW_Jf3N5SUPHZossBoDw-1; Thu, 25 Feb 2021 15:33:13 -0500 X-MC-Unique: iAiW_Jf3N5SUPHZossBoDw-1 Received: by mail-wr1-f71.google.com with SMTP id p15so3548324wre.13 for ; Thu, 25 Feb 2021 12:33:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qrF+Ni2Yvil2kIq/7VfKLEGp6/CXFjij6cAq88xAmxE=; b=PbrRb9gDSZAyBN5YnTmsxZCigoOtoR3j/wVYkmTKToqfol8sJ73Y6Vgkedg0XZb99w lBMBUts0+edSsYf4KUYqF99AkeNRQcTbzi8s9sG/kk3lbdLoyCRwkZ8oGq0KquqZYRUO juBRzL1XFLUnMhmVKk0NXqHbjDfUHLemjTHcfmGy6VMoowWl8TjavVwWAn9OPVoWdCRK 29uZnJfDykYsv48J/uAMrG9Lkjc1r+229qMj8HWnvWzjjt/FQYsFDJr4gP1WEGudy+WX qggUPOS5CoYDqDlzI575MK1lfYPwMadCVko/FRnN2oqkZ3vGA6WiLVo3GgstY+dJf3Hm jpNw== X-Gm-Message-State: AOAM5301p3KQQsE/P88W6slT3VIUwqzMJBC6jRHt09k9H/7KAAlAfcUA +2ux3JQvYl3CTWfM11vHQage8LsrVt7m44WOKray4DSQCM19fW1jvgFmL9XX0PtiBZ1lG7l92Mk 3mtwBmSE0J3jIRkfSff3KsIUq X-Received: by 2002:adf:c54a:: with SMTP id s10mr5332872wrf.58.1614285191799; Thu, 25 Feb 2021 12:33:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiUc9+l4ySZeqyFxoKprpfooBMz8zXXybLQPxr5oMIikAdNnqwvHSl61IP+s6ufodA9vyIZQ== X-Received: by 2002:adf:c54a:: with SMTP id s10mr5332864wrf.58.1614285191591; Thu, 25 Feb 2021 12:33:11 -0800 (PST) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id k15sm8569395wmj.6.2021.02.25.12.33.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Feb 2021 12:33:10 -0800 (PST) Subject: Re: [RFC] KVM: x86: Support KVM VMs sharing SEV context To: Ashish Kalra , James Bottomley Cc: natet@google.com, brijesh.singh@amd.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, rientjes@google.com, seanjc@google.com, srutherford@google.com, thomas.lendacky@amd.com, x86@kernel.org, Tobin Feldman-Fitzthum , DOV MURIK References: <20210224085915.28751-1-natet@google.com> <7cb132ce522728f7689618832a65e31e37788201.camel@HansenPartnership.com> <20210225181812.GA5046@ashkalra_ubuntu_server> From: Paolo Bonzini Message-ID: Date: Thu, 25 Feb 2021 21:33:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210225181812.GA5046@ashkalra_ubuntu_server> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/02/21 19:18, Ashish Kalra wrote: > I do believe that some of these alternative SEV live migration support > or Migration helper (MH) solutions will still use SEV PSP migration for > migrating the MH itself, therefore the SEV live migration patches > (currently v10 posted upstream) still make sense and will be used. I think that since the migration helper (at least for SEV, not -ES) is part of the attested firmware, it can be started on the destination before the rest of the VM. Paolo