Received: from eggs.gnu.org ([208.118.235.92]:43882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwsNZ-0004Pq-5Y for qemu-devel@nongnu.org; Thu, 02 Aug 2012 06:11:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwsNU-00023b-Bo for qemu-devel@nongnu.org; Thu, 02 Aug 2012 06:11:41 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:48740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwsNU-00022w-17 for qemu-devel@nongnu.org; Thu, 02 Aug 2012 06:11:36 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <1343846728-8611-1-git-send-email-ehabkost@redhat.com> <1343846728-8611-4-git-send-email-ehabkost@redhat.com> <87y5lyxv33.fsf@fimbulvetr.bsc.es> <20120801195344.GB3702@otherpad.lan.raisama.net> Date: Thu, 02 Aug 2012 13:11:30 +0300 In-Reply-To: <20120801195344.GB3702@otherpad.lan.raisama.net> (Eduardo Habkost's message of "Wed, 1 Aug 2012 16:53:44 -0300") Message-ID: <876291wqlp.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 3/3] eliminate cpus-x86_64.conf file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Igor Mammedov , qemu-devel@nongnu.org, Anthony Liguori , Andreas =?utf-8?Q?F=C3=A4rber?= Eduardo Habkost writes: > On Wed, Aug 01, 2012 at 10:37:04PM +0300, Llu=C3=ADs Vilanova wrote: >> Eduardo Habkost writes: >>=20 >> > This file is not needed anymore, as QEMU won't ship any config-based >> > cpudefs out of the box, relying only on the builtin CPU models. >>=20 >> > Signed-off-by: Eduardo Habkost >> > --- >> > Makefile | 1 - >> > arch_init.c | 1 - >> > sysconfigs/target/cpus-x86_64.conf | 1 - >> > 3 files changed, 3 deletions(-) >> > delete mode 100644 sysconfigs/target/cpus-x86_64.conf >>=20 >> > diff --git a/Makefile b/Makefile >> > index 621cb86..3722320 100644 >> > --- a/Makefile >> > +++ b/Makefile >> > @@ -298,7 +298,6 @@ install-confdir: >>=20 >> > install-sysconfig: install-datadir install-confdir >> > $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(= DESTDIR)$(qemu_confdir)" >> > - $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/cpus-x86_64.conf "$(DE= STDIR)$(qemu_datadir)" >>=20 >> > install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig instal= l-datadir >> > $(INSTALL_DIR) "$(DESTDIR)$(bindir)" >> > diff --git a/arch_init.c b/arch_init.c >> > index 26f30ef..a8399e5 100644 >> > --- a/arch_init.c >> > +++ b/arch_init.c >> > @@ -131,7 +131,6 @@ static struct defconfig_file { >> > /* Indicates it is an user config file (disabled by -no-user-conf= ig) */ >> > bool userconfig; >> > } default_config_files[] =3D { >> > - { CONFIG_QEMU_DATADIR "/cpus-" TARGET_ARCH ".conf", false }, >> > { CONFIG_QEMU_CONFDIR "/qemu.conf", true }, >> > { CONFIG_QEMU_CONFDIR "/target-" TARGET_ARCH ".conf", true }, >> > { NULL }, /* end of list */ >> > diff --git a/sysconfigs/target/cpus-x86_64.conf b/sysconfigs/target/cp= us-x86_64.conf >> > deleted file mode 100644 >> > index 3902189..0000000 >> > --- a/sysconfigs/target/cpus-x86_64.conf >> > +++ /dev/null >> > @@ -1 +0,0 @@ >> > -# The CPU models from this file are now built-in in the QEMU source c= ode >> > --=20 >> > 1.7.11.2 >>=20 >> Without actually having looked at it, shouldn't the code handling its pa= rsing be >> also removed? > What's being removed is just the file for QEMU-provided cpudefs. The > user may still add their own cpudef sections to the config files on > /etc, or using -readconfig. > (We can consider removing completely the support for [cpudef] config > sections. If we do that, we will break compatibility with existing user > configurations that use the feature). True. Sorry for the confusion. Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth