All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lluís Vilanova" <vilanova@ac.upc.edu>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: "Igor Mammedov" <imammedo@redhat.com>,
	qemu-devel@nongnu.org, "Anthony Liguori" <anthony@codemonkey.ws>,
	"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [PATCH 3/3] eliminate cpus-x86_64.conf file
Date: Thu, 02 Aug 2012 13:11:30 +0300	[thread overview]
Message-ID: <876291wqlp.fsf@fimbulvetr.bsc.es> (raw)
In-Reply-To: <20120801195344.GB3702@otherpad.lan.raisama.net> (Eduardo Habkost's message of "Wed, 1 Aug 2012 16:53:44 -0300")

Eduardo Habkost writes:

> On Wed, Aug 01, 2012 at 10:37:04PM +0300, Lluís Vilanova wrote:
>> Eduardo Habkost writes:
>> 
>> > 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.
>> 
>> > Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
>> > ---
>> >  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
>> 
>> > diff --git a/Makefile b/Makefile
>> > index 621cb86..3722320 100644
>> > --- a/Makefile
>> > +++ b/Makefile
>> > @@ -298,7 +298,6 @@ install-confdir:
>> 
>> >  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 "$(DESTDIR)$(qemu_datadir)"
>> 
>> >  install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig install-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-config) */
>> >      bool userconfig;
>> >  } default_config_files[] = {
>> > -    { 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/cpus-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 code
>> > -- 
>> > 1.7.11.2
>> 
>> Without actually having looked at it, shouldn't the code handling its parsing 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

-- 
 "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

  reply	other threads:[~2012-08-02 10:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 18:45 [Qemu-devel] [PATCH 0/3] Move CPU model definitions to C Eduardo Habkost
2012-08-01 18:45 ` [Qemu-devel] [PATCH 1/3] i386: add missing CPUID_* constants Eduardo Habkost
2012-08-01 18:45 ` [Qemu-devel] [PATCH 2/3] move CPU models from cpus-x86_64.conf to C Eduardo Habkost
2012-08-01 18:45 ` [Qemu-devel] [PATCH 3/3] eliminate cpus-x86_64.conf file Eduardo Habkost
2012-08-01 19:37   ` Lluís Vilanova
2012-08-01 19:53     ` Eduardo Habkost
2012-08-02 10:11       ` Lluís Vilanova [this message]
2012-08-01 18:53 ` [Qemu-devel] [PATCH 0/3] Move CPU model definitions to C Anthony Liguori
2012-08-13 18:36   ` Eduardo Habkost
2012-08-01 20:04 ` Andreas Färber
2012-08-01 20:27   ` Eduardo Habkost
2012-08-01 20:41     ` Anthony Liguori
2012-08-02 12:01       ` Eduardo Habkost
2012-08-01 21:53     ` Andreas Färber
2012-08-02 11:44       ` Igor Mammedov
2012-08-02 12:15       ` Eduardo Habkost

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=876291wqlp.fsf@fimbulvetr.bsc.es \
    --to=vilanova@ac.upc.edu \
    --cc=afaerber@suse.de \
    --cc=anthony@codemonkey.ws \
    --cc=ehabkost@redhat.com \
    --cc=imammedo@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.