Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2644710lqo; Tue, 14 May 2024 05:23:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWI68qQqlrEtaBlHAjRVzf/VUT2yikwXSmVJApzB159/pU0aA3RmuUUODDQswyfjfUyy668wYKtnzzrFvVPLXTCSj90vnoU+b3DUUwkSg== X-Google-Smtp-Source: AGHT+IFljNMXZPU58qTQ4UO5MeMUde0eb00yxMKNh8BWjyfkoAXEUbRkUibXSj/wXvTjSuiS8NRY X-Received: by 2002:a05:6a21:2727:b0:1a3:e2c4:956e with SMTP id adf61e73a8af0-1afde0d54e0mr12799965637.25.1715689437246; Tue, 14 May 2024 05:23:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715689437; cv=pass; d=google.com; s=arc-20160816; b=EUH/jWquIVALbIT1e2D34OCefB6Ahg0o4hm6eU1rrO//PIr0T0OO/B9w3SUDTc/ZAr 8/cvnb2Eu1DV9OqZNbTV2NmAB6HcZv1WCFOILp3N401Y+HqO6FnVYAVwtgh+qewgRKvA yh6Vb+3on+8OmdRcTArnVAIYL6RAovXllATyxW5ohq/IpFpLKdK7zxsuNJu91JfB2j7F ugQ3HQnoVbwCKS2CqrkrzEbDbGf6PD4LawwuERSXbHITtudtInbzcVcdfSkBoa3Xv/XZ k+K8bJBcc55vfeBrckT+EvseJ+d6pDopDbdGKiIRdk21DMXqYq8txfCKweqorGaxNmYs jvEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=I0eZWdP4Q+KPu4Hx3s3mpwHuoQ0UvkeO9/nafOAr82w=; fh=pGGpp1VVAPjJm/vVKwucXaFrUxiVVh8PJXoxraus/f4=; b=xlYy/fxa/2NZkR8OKAcByGhFq8HoPQ1+VKlX79KeLP4rdV/pUHPt3H3/W4ENfic5uv FaTyS3M0OOTvCR+RkoEDOk0eZ+oo6LIWjFnaAe0WVhYrlywJBlqfE0oyB2f+8rM/m6e7 ft0FlyRwy2bnSohqvrHmsaVT93vV/M+u3YaalEPcxnX0KRJUoMmc/AbisealKUxdHbBn IqxijaSfpYd9aHbO7dTBhZwUQwSgA+vOS9LYeUz9dVqqskG04WXqde/wf4duWMJQHXLF sowcFQSHPn2J0YYDAVIYC+3pNsi4lS1e7S6ILVWRo5zO76Fmuw1gB+zZZNYEs5OVc6k3 rGTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=HUYIhJQS; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-178656-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178656-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c133df7si118534635ad.438.2024.05.14.05.23.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 05:23:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178656-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=HUYIhJQS; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-178656-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178656-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A4283280C7B for ; Tue, 14 May 2024 12:23:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2E3F4594C; Tue, 14 May 2024 12:23:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="HUYIhJQS" Received: from smtp-bc08.mail.infomaniak.ch (smtp-bc08.mail.infomaniak.ch [45.157.188.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 571CADDC0 for ; Tue, 14 May 2024 12:23:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.157.188.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715689430; cv=none; b=AuNPB4Xv73sZKeyK2aKhOlvJ8mTbPBnW54hK726xBpegeWHPubxm2mwLFMkRN407VuUkHrnndH3IkQ6vUoNIqUqlzLh/At0xpZHbxQBwbVzZX9L1k81aEznQFCnbFqKd9zohM1IOfahR8XJ61W1PxUVko/7bPMgqNIlnOMpDGMI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715689430; c=relaxed/simple; bh=bRkarWPZPXCcGNKnN/GFmEsDu3L8Us8oWBdG536diIA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aDqmsVx0AWGclm5pnYXmL5HnW/GobpyaT/hnZbwO/hgwc7kzNiFG/bS83SkbbuR9HYtYF/nzSmKjxq/Ar6kRASj9kQtvdPG8ObNeL7aAPl8A4BFAuPF4XPDNCQ77MljM9pXjaf2MWsEsFY+pDN7gFfJvIPs0DiJmQZp0y5239Ps= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net; spf=pass smtp.mailfrom=digikod.net; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b=HUYIhJQS; arc=none smtp.client-ip=45.157.188.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=digikod.net Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VdwWP64pbzTXk; Tue, 14 May 2024 14:23:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digikod.net; s=20191114; t=1715689425; bh=I0eZWdP4Q+KPu4Hx3s3mpwHuoQ0UvkeO9/nafOAr82w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HUYIhJQSGxJF3jwUizanlmonUX7sygOvcV8noUaAFzN0V3a3iKwuGB8/GEum6Clxq EcKo1qBH3Un5VS8jWoGkoTi3TiKlCjIcaIL1kB+8poVzqExKvp5IQ2ywDDPeKqlugY OVZlyAPCKt5gtA5k6143lcqKUer3NgtqPGvwYp+A= Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4VdwWN5tzlzF2L; Tue, 14 May 2024 14:23:44 +0200 (CEST) Date: Tue, 14 May 2024 14:23:42 +0200 From: =?utf-8?Q?Micka=C3=ABl_Sala=C3=BCn?= To: Nicolas Saenz Julienne Cc: Sean Christopherson , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , Ingo Molnar , Kees Cook , Paolo Bonzini , Thomas Gleixner , Vitaly Kuznetsov , Wanpeng Li , Rick P Edgecombe , Alexander Graf , Angelina Vu , Anna Trikalinou , Chao Peng , Forrest Yuan Yu , James Gowans , James Morris , John Andersen , "Madhavan T . Venkataraman" , Marian Rotariu , Mihai =?utf-8?B?RG9uyJt1?= , =?utf-8?B?TmljdciZb3IgQ8OuyJt1?= , Thara Gopinath , Trilok Soni , Wei Liu , Will Deacon , Yu Zhang , =?utf-8?Q?=C8=98tefan_=C8=98icleru?= , dev@lists.cloudhypervisor.org, kvm@vger.kernel.org, linux-hardening@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, x86@kernel.org, xen-devel@lists.xenproject.org Subject: Re: [RFC PATCH v3 3/5] KVM: x86: Add notifications for Heki policy configuration and violation Message-ID: <20240514.mai3Ahdoo2qu@digikod.net> References: <20240503131910.307630-1-mic@digikod.net> <20240503131910.307630-4-mic@digikod.net> <20240506.ohwe7eewu0oB@digikod.net> <20240507.ieghomae0UoC@digikod.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Infomaniak-Routing: alpha On Fri, May 10, 2024 at 10:07:00AM +0000, Nicolas Saenz Julienne wrote: > On Tue May 7, 2024 at 4:16 PM UTC, Sean Christopherson wrote: > > > If yes, that would indeed require a *lot* of work for something we're not > > > sure will be accepted later on. > > > > Yes and no. The AWS folks are pursuing VSM support in KVM+QEMU, and SVSM support > > is trending toward the paired VM+vCPU model. IMO, it's entirely feasible to > > design KVM support such that much of the development load can be shared between > > the projects. And having 2+ use cases for a feature (set) makes it _much_ more > > likely that the feature(s) will be accepted. > > Since Sean mentioned our VSM efforts, a small update. We were able to > validate the concept of one KVM VM per VTL as discussed in LPC. Right > now only for single CPU guests, but are in the late stages of bringing > up MP support. The resulting KVM code is small, and most will be > uncontroversial (I hope). If other obligations allow it, we plan on > having something suitable for review in the coming months. Looks good! > > Our implementation aims to implement all the VSM spec necessary to run > with Microsoft Credential Guard. But note that some aspects necessary > for HVCI are not covered, especially the ones that depend on MBEC > support, or some categories of secure intercepts. We already implemented support for MBEC, so that should not be an issue. We just need to find the best interface to configure it. > > Development happens > https://github.com/vianpl/{linux,qemu,kvm-unit-tests} and the vsm-next > branch, but I'd advice against looking into it until we add some order > to the rework. Regardless, feel free to get in touch. Thanks for the update. Could we schedule a PUCK meeting to synchronize and help each other? What about June 12?