From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Mueller Subject: Re: [PATCH v3 01/16] Introduce probe mode for machine type none Date: Tue, 3 Mar 2015 11:23:35 +0100 Message-ID: <20150303112335.0f4bd12b@bee> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-s390@vger.kernel.org, kvm@vger.kernel.org, Gleb Natapov , qemu-devel@nongnu.org, linux-kernel@vger.kernel.org, Christian Borntraeger , Alexander Graf , "Jason J. Herne" , Cornelia Huck , Paolo Bonzini , Andreas Faerber , Richard Henderson To: Eduardo Habkost Return-path: In-Reply-To: <20150302191733.GK3513@thinpad.lan.raisama.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.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