From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure Date: Mon, 29 Jan 2018 14:41:24 -0800 Message-ID: <20180129224124.GU26209@tassilo.jf.intel.com> References: <7EB9643C-D2DD-477A-90DE-05DC653D2D4B@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Eduardo Habkost , Arjan van de Ven , KarimAllah Ahmed , "Wilson, Matt" , "linux-kernel@vger.kernel.org" , Andrea Arcangeli , Andy Lutomirski , Ashok Raj , Asit Mallick , Borislav Petkov , Dan Williams , Dave Hansen , Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , Janakarajan Natarajan , Joerg Roedel , Jun Nakajima , Laura Abbott , Li To: David Dunn Return-path: Content-Disposition: inline In-Reply-To: <7EB9643C-D2DD-477A-90DE-05DC653D2D4B@vmware.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org > Even if we expose bit to indicate that FMS matches the underlying host, when does the guest know to query that? The VM can be moved at any point in time, including after the guest asks if FMS matches host. There's no way to enable these mitigations later, so if you always have to enable the super set of all the mitigations for all the hosts you might be migrating too. As of currently that means if you want to ever migrate to Skylake you should set the Skylake model number and you're good. -Andi