Received: from eggs.gnu.org ([2001:4830:134:3::10]:39725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXYtY-0008Bj-Tu for qemu-devel@nongnu.org; Wed, 10 Aug 2016 15:10:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXYtS-0002En-Sk for qemu-devel@nongnu.org; Wed, 10 Aug 2016 15:10:27 -0400 Received: from 1.mo173.mail-out.ovh.net ([178.33.111.180]:40678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXYtS-0002Ed-Lr for qemu-devel@nongnu.org; Wed, 10 Aug 2016 15:10:22 -0400 Received: from player157.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo173.mail-out.ovh.net (Postfix) with ESMTP id D44A51000E73 for ; Wed, 10 Aug 2016 21:10:21 +0200 (CEST) References: <1470856081-28168-1-git-send-email-clg@kaod.org> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Message-ID: <6f4b7710-1e78-b200-04ae-e263ead20650@kaod.org> Date: Wed, 10 Aug 2016 21:10:16 +0200 MIME-Version: 1.0 In-Reply-To: <1470856081-28168-1-git-send-email-clg@kaod.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for 2.7] ppc: parse cpu features once List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: David Gibson , Bharata B Rao , qemu-devel@nongnu.org, Eduardo Habkost , Greg Kurz On 08/10/2016 09:08 PM, C=C3=A9dric Le Goater wrote: > From: Greg Kurz >=20 > Considering that features are converted to global properties and > global properties are automatically applied to every new instance > of created CPU (at object_new() time), there is no point in > parsing cpu_model string every time a CPU created. So move > parsing outside CPU creation loop and do it only once. >=20 > Parsing also should be done before any CPU is created so that > features would affect the first CPU a well. >=20 > This patch does that for all PowerPC machine types. >=20 > It is based on previous work from Bharata: >=20 > https://lists.nongnu.org/archive/html/qemu-devel/2016-06/msg07564.html >=20 > Signed-off-by: Greg Kurz > [clg: only kept the fix for the spapr platform. support for other > platform will be added in 2.8 ] > Signed-off-by: C=C3=A9dric Le Goater Eduardo, Greg being away, I gave his patch a respin. Could you please give it=20 a try ? Thanks, C.