Received: from eggs.gnu.org ([2001:4830:134:3::10]:58152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtfpC-0002Az-SA for qemu-devel@nongnu.org; Tue, 03 Nov 2015 12:56:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ztfp8-0003T0-L8 for qemu-devel@nongnu.org; Tue, 03 Nov 2015 12:56:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ztfp8-0003Sl-FQ for qemu-devel@nongnu.org; Tue, 03 Nov 2015 12:56:46 -0500 Date: Tue, 3 Nov 2015 15:56:43 -0200 From: Eduardo Habkost Message-ID: <20151103175643.GE20436@thinpad.lan.raisama.net> References: <1446231660-24394-1-git-send-email-ehabkost@redhat.com> <20151030191323.GA20436@thinpad.lan.raisama.net> <56374AF4.5070406@redhat.com> <20151103174131.GC20436@thinpad.lan.raisama.net> <5638F394.2050603@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5638F394.2050603@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/3] target-i386: Don't trigger "check" warnings by default in KVM mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Igor Mammedov , "Michael S. Tsirkin" , qemu-devel@nongnu.org, "Dr. David Alan Gilbert" , Richard Henderson On Tue, Nov 03, 2015 at 06:49:08PM +0100, Paolo Bonzini wrote: > > > On 03/11/2015 18:41, Eduardo Habkost wrote: > > I just got a report from David that the lack of ABM on Sandy Bridge > > hosts will trigger the warning, too. I guess we don't want to require a > > Haswell CPU to run the default CPU model with KVM, so ABM would be > > disabled by default in KVM mode too. > > > > We really should make the defaults different in TCG and KVM mode. The > > question is what to do about the TCG defaults in QEMU 2.5. > > > > I propose we remove ABM and SSE4E from qemu64 in 2.5, > > But if we do that for all machine types we break guest ABI for >=Haswell > on old machine types; if we do that for 2.5 only we get "-cpu check" > warnings on old machine types. I don't propose we remove it from all machine-types, but just from pc-2.5 and newer. > > This is true even if we implement different defaults for KVM and TCG. > Should we disable "-cpu check" for old machine types (or do we already > do that)? That would suck, but it would let us drop ABM and SSE4A from > the 2.4 machine type without much hassle. You mean dropping from the 2.5 machine-type, right? > > > and implement a > > proper mechanism to have different KVM and TCG defaults after 2.5. We > > never pretended that qemu64 had all TCG-supported features enabled > > anyway: the last time the feature set of qemu64 was changed was in 2009 > > (when we added ABM). > > That's true. So, trying to summarize what I would like to do: * Remove ABM and SEE4A from qemu64 in pc-2.5 * Keep ABM and SSE4A in qemu64 in pc-2.4 and older * Disable "check" by default in pc-2.4 and older, to avoid spurious warnings -- Eduardo