From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUH2q-0007hb-EW for qemu-devel@nongnu.org; Thu, 19 Jan 2017 13:02:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUH2n-0003DJ-5T for qemu-devel@nongnu.org; Thu, 19 Jan 2017 13:02:44 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:39282) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cUH2m-0003B6-Uw for qemu-devel@nongnu.org; Thu, 19 Jan 2017 13:02:41 -0500 Date: Thu, 19 Jan 2017 18:02:23 +0000 From: Julian Brown Message-ID: <20170119180223.55d75d6d@squid.athome> In-Reply-To: References: <20170111123552.1873cb3b@squid.athome> <20170112142836.53bbd87b@squid.athome> <20170118165256.GC6657@thinpad.lan.raisama.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/6] Add cfgend parameter for ARM CPU selection. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Eduardo Habkost , QEMU Developers On Thu, 19 Jan 2017 15:12:49 +0000 Peter Maydell wrote: > I'm actually looking at a patch at the moment that attempts > to fix this by adding a cpu_generic_init_unrealized(), > which does everything that cpu_generic_init() does except > the final "set the realized prop to true" step, so that you > can call it, set CPU properties and then realize the CPU > yourself. Does that sound like a good idea, or a bad idea? > [https://github.com/mdavidsaver/qemu/commit/82823fb6f97859dc5f2945bd3b2733df2c81b2d8] > > I'm not sure which board Julian is using, but I guess it's one > of the ones that doesn't call cpu_generic_init(). We're using integratorcp -- I'm working on a v3 of my patch series that adds the CPU-attribute parsing to (just) that. It'll be ready soonish. Thanks, Julian