Received: from eggs.gnu.org ([2001:4830:134:3::10]:60868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxHfL-0002mS-CJ for qemu-devel@nongnu.org; Tue, 26 May 2015 12:25:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxHfI-0000UY-51 for qemu-devel@nongnu.org; Tue, 26 May 2015 12:25:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxHfH-0000US-SA for qemu-devel@nongnu.org; Tue, 26 May 2015 12:25:16 -0400 Date: Tue, 26 May 2015 13:25:12 -0300 From: Eduardo Habkost Message-ID: <20150526162512.GS17796@thinpad.lan.raisama.net> References: <55645794.3020202@redhat.com> <1432644847-7566-1-git-send-email-michael.i.doherty@intel.com> <55647C8D.2090006@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55647C8D.2090006@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 1/2] arch_init: Drop target-x86_64.conf List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Ikey Doherty , qemu-devel@nongnu.org On Tue, May 26, 2015 at 04:00:45PM +0200, Paolo Bonzini wrote: > CCing maintainer. > > Paolo > > On 26/05/2015 14:54, Ikey Doherty wrote: > > The target-x86_64.conf sysconfig file has been empty and essentially ignored > > now for several years. This change removes the unused file to enable moving > > towards a stateless configuration. > > > > Signed-off-by: Ikey Doherty Can you separate this into two patches? First deleting the empty target-x86_64.conf file from the tree & Makefile, then another patch deleting the { CONFIG_QEMU_CONFDIR "/target-" TARGET_NAME ".conf", true } line in arch_init.c? We can delete sysconfigs/target/target-x86_64.conf from our source tree immediately, but I am not sure we should disable loading of /etc/qemu/target-*.conf with no warning (users may have their own target-*.conf files in their systems). We should probably warn about it in the 2.4 release announcement, and remove the arch_init.c line in 2.5. I would even go further and argue for removing /etc/qemu config file auto-loading entirely in QEMU 2.5 (including qemu.conf and target-*.conf). > > --- > > Makefile | 7 +------ > > arch_init.c | 1 - > > sysconfigs/target/target-x86_64.conf | 0 > > 3 files changed, 1 insertion(+), 7 deletions(-) > > delete mode 100644 sysconfigs/target/target-x86_64.conf > > > > diff --git a/Makefile b/Makefile > > index d945804..2d52536 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -389,13 +389,8 @@ ifneq (,$(findstring qemu-ga,$(TOOLS))) > > endif > > endif > > > > -install-confdir: > > - $(INSTALL_DIR) "$(DESTDIR)$(qemu_confdir)" > > > > -install-sysconfig: install-datadir install-confdir > > - $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(qemu_confdir)" > > - > > -install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig \ > > +install: all $(if $(BUILD_DOCS),install-doc) \ > > install-datadir install-localstatedir > > ifneq ($(TOOLS),) > > $(call install-prog,$(TOOLS),$(DESTDIR)$(bindir)) > > diff --git a/arch_init.c b/arch_init.c > > index 23d3feb..b5d90a4 100644 > > --- a/arch_init.c > > +++ b/arch_init.c > > @@ -136,7 +136,6 @@ static struct defconfig_file { > > bool userconfig; > > } default_config_files[] = { > > { CONFIG_QEMU_CONFDIR "/qemu.conf", true }, > > - { CONFIG_QEMU_CONFDIR "/target-" TARGET_NAME ".conf", true }, > > { NULL }, /* end of list */ > > }; > > > > diff --git a/sysconfigs/target/target-x86_64.conf b/sysconfigs/target/target-x86_64.conf > > deleted file mode 100644 > > index e69de29..0000000 > > -- Eduardo