Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp696122pxb; Thu, 25 Feb 2021 12:40:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNSzEh2Q5A4GpT208iQ7aFN0NBUU300cRcrGRvkIYiNUJTMj3KG1+TCbf+3dyE/eHG/Qbo X-Received: by 2002:a17:906:f8c4:: with SMTP id lh4mr4470041ejb.14.1614285606376; Thu, 25 Feb 2021 12:40:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614285606; cv=none; d=google.com; s=arc-20160816; b=1BkTCYH7sBkwwB7pgE1szRL/oh7yZltozj3SrmyAIfomcb1K33reU33yMNHbYNUqRn 1m/aCTJOVkLjF3AIT3bAY+9lbvgnKlP2fEuMSnNeIsDOPd6gRfvn9ndbNhoThCUw0rNX qnwWvWpLvWfE3tT29lnGdrTsdqIqBDsit0ibLTrj8giP5yS8Fbz7pC3ccKM/hI9QYu3E TRYFh3Cg8NCiKf9lp9INCG82CsJ5rHVufktjpW5uoUctMug8Pf0yFtDbqIVHXA/XNKuT DYH5QLf8eWNQCgM8zD4vuwkx8a20Dy9xzRQE1iit9daxVYwfdHe8Glh1yfADTNsZTwEC vgoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=qrF+Ni2Yvil2kIq/7VfKLEGp6/CXFjij6cAq88xAmxE=; b=VYiP90H7aoxcGxoeBvJ9MmIJDEkK58M06FZNcSSSku+ERyEca4ePI0IJ8oWq6S/ETy 4qfP3Lqbb1no6FpF7IHWCFSjN/jMit9YzdtoOmuKwOm7tEDo+/Upm+ce//rYx+h690fR m0KEOvulzsLs3QyB9jo02iE0XV06tXhqT5jqJ7Oc6WaWWiEuuQDyWaQF0hZF1eQlbQDz gRl1bUVl9XtblFdAIVGi63eAu5wxOQaOIzSJ4xyePq5sGIwxbIJlggZfeU1X6meeZY5J 1PDXc77tFkDQNBb0W/G4HwpVnm7d3NgO0WTV6Z0L7xVdTYITU5t6eStZodd7St+DwvI9 lVjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fOLV0jvc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g24si3784436edq.417.2021.02.25.12.39.43; Thu, 25 Feb 2021 12:40:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fOLV0jvc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234635AbhBYUhX (ORCPT + 99 others); Thu, 25 Feb 2021 15:37:23 -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-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