From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756520AbbCCK66 (ORCPT ); Tue, 3 Mar 2015 05:58:58 -0500 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:44422 "EHLO e06smtp11.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756449AbbCCK63 (ORCPT ); Tue, 3 Mar 2015 05:58:29 -0500 Date: Tue, 3 Mar 2015 11:23:35 +0100 From: Michael Mueller To: Eduardo Habkost Cc: linux-s390@vger.kernel.org, kvm@vger.kernel.org, Gleb Natapov , linux-kernel@vger.kernel.org, Alexander Graf , qemu-devel@nongnu.org, Christian Borntraeger , "Jason J. Herne" , Cornelia Huck , Paolo Bonzini , Andreas Faerber , Richard Henderson Subject: Re: [Qemu-devel] [PATCH v3 01/16] Introduce probe mode for machine type none Message-ID: <20150303112335.0f4bd12b@bee> In-Reply-To: <20150302191733.GK3513@thinpad.lan.raisama.net> References: <1425300248-40277-1-git-send-email-mimu@linux.vnet.ibm.com> <1425300248-40277-2-git-send-email-mimu@linux.vnet.ibm.com> <20150302191733.GK3513@thinpad.lan.raisama.net> Organization: IBM X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15030310-0041-0000-0000-0000038E8332 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2 Mar 2015 16:17:33 -0300 Eduardo Habkost wrote: > > + if (probe_mode) { > > + /* Use these accelerators in probe mode, tcg should be last */ > > + p = probe_mode_accels; > > I don't fully understand the purpose of this patch yet (I will discuss > it in a reply to the cover letter). But if you really want -machine none > to trigger different behavior, why you didn't add a probe_mode field > to MachineClass, so you can set it in the mahine_none class code? I initially had this machine attribute but, when I remember correctly, but wasn't able to communicate it down into the target code. But anyhow, the "mode" is eventually obsolete in light of the temporarily constructed accelerators.. I will further comment on this as reply to your comment on the cover letter to keep it in place. Michael