Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1526009pxv; Fri, 25 Jun 2021 15:25:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRDFu38eTkkMsL1kj2TKY5wLOn/dyAThvr/x9jFJSYZzjGbM0cdXmYuMKKjerRjRYuIwXA X-Received: by 2002:a6b:c985:: with SMTP id z127mr10262364iof.33.1624659931546; Fri, 25 Jun 2021 15:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624659931; cv=none; d=google.com; s=arc-20160816; b=fGHe8i3uFo2z0kHTkyH7MV22s/tg3NVJPMJoxoN5TDho1A8XBe+z62uGkIz5jq0j4F QYZixKNEKSzK8alqB4G6F2UTFqEHAwAMjjG0MlMveyU0HQEQh0ShdUgeMcdAw1nWU2M/ ECkdhqGIg6OxRgHKNJ/iGmcReW3Xp3veaPBCQT6FxqOkHwuyecZv4oOnCwVmVxZ2ymmN KPYPL2j9yWunFDY1q7GCiKi6sD6i1N0HiNYfhpKOlGycLj0VEPeKJ96+P5krFoLZ7Smz vxn0+680HHslakVEPIU9by7Md8tU84sKfdySINAqjU9uubiW0bg4KlWHeVKaZghZ9jTM Y8iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+EONHP3FxD4di+ShTJpnxsP/RC0RC7lxCcSSvwzWleg=; b=mYp8XFHNGlxpIcBifEG2LZqrrq81Aa5DXN9xfTW4GrEYLdvlWj/hvdSdUXOzJ4Bn2Q a1pjgX+CnII7YKCH0FDuLYWyhItuQmhP05cQmXQHjMk3lDeRB4YVXWQAZqvciJwvlobw bOf51hwB7heQV4EOAWS4ep+yxuT3Bou90mWfcSGUx84WrAytAyEMZoBSXwgJT1WbiTo5 I8WB8J+YuudfQmFoKkgKYAmQ2Jvu2Hf4hSejDu8MRuwf7+dSunBYLthSp3KVdqr0y8Ku n2mOWN8JxoEAkKPR7Ifpt7dHlycoHZ+etwaLsKdRkAXrRIATtDgQmC2FZE1qsw6GjHRW RzFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=XDbsYazI; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si6637737ilv.105.2021.06.25.15.25.15; Fri, 25 Jun 2021 15:25:31 -0700 (PDT) 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=@alien8.de header.s=dkim header.b=XDbsYazI; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbhFYWZZ (ORCPT + 99 others); Fri, 25 Jun 2021 18:25:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbhFYWZY (ORCPT ); Fri, 25 Jun 2021 18:25:24 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BDA1C061574; Fri, 25 Jun 2021 15:23:03 -0700 (PDT) Received: from zn.tnic (p200300ec2f0dae0029e536978a2ce722.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:ae00:29e5:3697:8a2c:e722]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 0D5DE1EC0595; Sat, 26 Jun 2021 00:23:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1624659782; 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:in-reply-to:in-reply-to: references:references; bh=+EONHP3FxD4di+ShTJpnxsP/RC0RC7lxCcSSvwzWleg=; b=XDbsYazIHmjnMgA3eyoGZqu/0xS08Ey48sCw1KZiBKmlSI5s/uqHtWMAUwaLSnq0H8ibeW w78zxDlsg3xQakcGUF7JmKlV9jVDGJzmyS6LmFoBTIEZ5NPwK7+sR6I2vtXfDvaO2XX4xf +52R+PXgRLTXdFdgJbUEVBugJmgNy0M= Date: Sat, 26 Jun 2021 00:22:52 +0200 From: Borislav Petkov To: Steve Rutherford Cc: Ashish Kalra , pbonzini@redhat.com, seanjc@google.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, joro@8bytes.org, thomas.lendacky@amd.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, brijesh.singh@amd.com Subject: Re: [PATCH v4 5/5] x86/kvm: Add guest support for detecting and enabling SEV Live Migration feature. Message-ID: References: <8c581834c77284d5b9465b3388f07fa100f9fc4e.1623421410.git.ashish.kalra@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 25, 2021 at 02:02:32PM -0700, Steve Rutherford wrote: > Boris, do you have any thoughts on the kexec aspect of this change? I'm suspecting you're asking here the wrong guy - I think you mean Paolo. But if I were to give some thoughts on this, I'd first request that this patch be split because it is doing a bunch of things at once. Then, I have no clue what "kexec support for SEV Live Migration" is. So this whole use case would need a lot more detailed explanation of all the moving parts and the "why" and the "because" and so on... But I'm no virt guy so perhaps this all makes sense to virt folks. Oh, and there's silly stuff like +static int __init setup_efi_kvm_sev_migration(void) { ... return true; } returning a bool but that's minor. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette