From: Ikey Doherty <michael.i.doherty@intel.com>
To: Eduardo Habkost <ehabkost@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 1/2] arch_init: Drop target-x86_64.conf
Date: Tue, 26 May 2015 17:30:34 +0100 [thread overview]
Message-ID: <55649FAA.1060005@intel.com> (raw)
In-Reply-To: <20150526162512.GS17796@thinpad.lan.raisama.net>
On 26/05/15 17:25, Eduardo Habkost wrote:
> 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 <michael.i.doherty@intel.com>
>
> 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?
>
Ack. End of day here, will submit a fresh patch-set tomorrow drawing
any further conversations had here into consideration.
> 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).
Sure.
>
> 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).
If that's needed/agreed-upon by tomorrow I can add that too, as another
patch.
-ikey
>
>>> ---
>>> 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
>>>
>
next prev parent reply other threads:[~2015-05-26 16:30 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-22 15:42 [Qemu-devel] [PATCH] arch_init: Use stateless configuration for default target_${target}.conf Ikey Doherty
2015-05-22 21:58 ` Eric Blake
2015-05-26 11:11 ` [Qemu-devel] [PATCH v2] " Ikey Doherty
2015-05-26 11:23 ` Paolo Bonzini
2015-05-26 12:54 ` [Qemu-devel] [PATCH v3 1/2] arch_init: Drop target-x86_64.conf Ikey Doherty
2015-05-26 12:54 ` [Qemu-devel] [PATCH v3 2/2] qemu-bridge-helper: Use stateless configuration for bridge.conf Ikey Doherty
2015-05-26 14:00 ` Paolo Bonzini
2015-05-26 16:38 ` Eduardo Habkost
2015-05-26 16:41 ` Ikey Doherty
2015-05-26 16:57 ` Eduardo Habkost
2015-05-27 14:02 ` Stefan Hajnoczi
2015-05-27 14:00 ` Stefan Hajnoczi
2015-05-26 14:00 ` [Qemu-devel] [PATCH v3 1/2] arch_init: Drop target-x86_64.conf Paolo Bonzini
2015-05-26 16:25 ` Eduardo Habkost
2015-05-26 16:29 ` Paolo Bonzini
2015-05-26 16:40 ` Eduardo Habkost
2015-05-26 16:51 ` Paolo Bonzini
2015-05-26 16:59 ` Eduardo Habkost
2015-05-26 16:30 ` Ikey Doherty [this message]
2015-05-26 15:37 ` Eric Blake
2015-05-26 17:01 ` Eduardo Habkost
2015-05-26 11:13 ` [Qemu-devel] [PATCH] arch_init: Use stateless configuration for default target_${target}.conf Ikey Doherty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55649FAA.1060005@intel.com \
--to=michael.i.doherty@intel.com \
--cc=ehabkost@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).