Received: from eggs.gnu.org ([208.118.235.92]:37492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiD97-0003fk-AT for qemu-devel@nongnu.org; Mon, 10 Dec 2012 18:52:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiD94-0006Jp-6E for qemu-devel@nongnu.org; Mon, 10 Dec 2012 18:52:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:26759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiD93-0006Jb-Us for qemu-devel@nongnu.org; Mon, 10 Dec 2012 18:52:22 -0500 Date: Mon, 10 Dec 2012 21:53:44 -0200 From: Eduardo Habkost Message-ID: <20121210235344.GU4255@otherpad.lan.raisama.net> References: <1354645978-17362-1-git-send-email-ehabkost@redhat.com> <1355082353-322-1-git-send-email-afaerber@suse.de> <1355082353-322-4-git-send-email-afaerber@suse.de> <20121210180920.GQ4255@otherpad.lan.raisama.net> <50C66C57.9010800@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <50C66C57.9010800@suse.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH qom-cpu 3/4] Really finally kill cpudef config section support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: blauwirbel@gmail.com, imammedo@redhat.com, Anthony Liguori , Riku Voipio , qemu-devel@nongnu.org On Tue, Dec 11, 2012 at 12:12:23AM +0100, Andreas F=E4rber wrote: > Am 10.12.2012 19:09, schrieb Eduardo Habkost: > > On Sun, Dec 09, 2012 at 08:45:52PM +0100, Andreas F=E4rber wrote: > >> Commit 511c68d3af626cb0a39034cb77e7ac64d3a26c0c (finally kill cpudef > >> config section support) removed the cpudef parsing support but left > >> cpudef_* hooks behind. Remove those. > >=20 > > The cpudef_* functions have nothing to do with the cpudef config sect= ion > > since QEMU 1.2, it is just about initializing CPU-definition-related > > data structures, so the patch subject is a bit misleading. >=20 > My memory tells me they were specifically added for the config file > support... git-blame proves me wrong and shows they were added by Johan > Cooper and refactored by Blue, explaining his sudden cpudef patch > involvement. Sorry. >=20 > Do you have a proposal for a better text? My reasoning is we should > clean up before we forget about it and things stay behind. Something like "kill the cpudef_setup() hook that we don't need anymore [because only x86 uses it, and we can simply use class_init to initialize data structures]" sounds good enough to me. --=20 Eduardo