Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 17 Jul 2018 17:11:15 -0000 Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ffTVK-0005Os-D1 for speck@linutronix.de; Tue, 17 Jul 2018 19:11:14 +0200 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 02B1240122A2 for ; Tue, 17 Jul 2018 17:11:07 +0000 (UTC) Received: from [10.36.116.222] (ovpn-116-222.ams2.redhat.com [10.36.116.222]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 67D992156893 for ; Tue, 17 Jul 2018 17:11:06 +0000 (UTC) Subject: [MODERATED] Re: [PATCH] L1TF KVM ARCH_CAPABILITIES #1 References: <20180715135716.1874-1-pbonzini@redhat.com> <20180715135716.1874-2-pbonzini@redhat.com> <066257c8-1cd8-8600-7bcc-2bc5db5a2580@redhat.com> From: Paolo Bonzini Message-ID: <62b7d28a-1dd4-8ce6-68ed-dabfd413f632@redhat.com> Date: Tue, 17 Jul 2018 19:11:05 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="CTGAOkHZBWb9fnVkjfYOAalOosKR3rNdx"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --CTGAOkHZBWb9fnVkjfYOAalOosKR3rNdx Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 17/07/2018 13:28, speck for Thomas Gleixner wrote: >> It is a bit more complicated, if SMT is disabled and L1D flush on entr= y >> is not required, then effectively _as far as VMX is concerned_ the >> processor is not vulnerable. I'm not sure if we want this to affect >> disable_smt. > The important part is that the host has SMT disabled, but the L1 guest,= > i.e. nested VMM, does not know that at all. >=20 > So for the L1 guest even if the host sets the SKIP FLUSH bit, it's not > clear whether it might still be vulnerable via SMT. Yes, the SMT configuration of the host and the nested VMM must be the same, otherwise things become too complicated. Paolo --CTGAOkHZBWb9fnVkjfYOAalOosKR3rNdx--