From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <laurent@vivier.eu>,
Paolo Bonzini <pbonzini@redhat.com>,
Riku Voipio <riku.voipio@iki.fi>,
Like Xu <like.xu@linux.intel.com>,
Richard Henderson <rth@twiddle.net>,
David Gibson <david@gibson.dropbear.id.au>,
Thomas Huth <thuth@redhat.com>,
Igor Mammedov <imammedo@redhat.com>,
qemu-ppc@nongnu.org, Markus Armbruster <armbru@redhat.com>,
Peter Maydell <peter.maydell@linaro.org>,
Artyom Tarasenko <atar4qemu@gmail.com>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Subject: Re: [Qemu-devel] [PATCH 3/5] linux-user: Use lookup_cpu_class()
Date: Thu, 18 Apr 2019 01:52:08 -0300 [thread overview]
Message-ID: <20190418045208.GE25134@habkost.net> (raw)
In-Reply-To: <20190417025944.16154-4-ehabkost@redhat.com>
On Tue, Apr 16, 2019 at 11:59:42PM -0300, Eduardo Habkost wrote:
> The return value of cpu_get_model() is just a CPU model name and
> never includes extra options. We don't need to call
> parse_cpu_option().
Oops. I was wrong. linux-user also supports extra features in
the "-cpu" option, so we do need to call parse_cpu_option().
e.g.: this worked before:
$ qemu-x86_64 -cpu Nehalem,+popcnt /bin/true
and now this is broken:
$ qemu-x86_64 -cpu Nehalem,+popcnt /bin/true
unable to find CPU model 'Nehalem,+popcnt'
I will drop patches 2-5 from my queue. Sorry for the noise.
--
Eduardo
WARNING: multiple messages have this Message-ID (diff)
From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
Thomas Huth <thuth@redhat.com>, Like Xu <like.xu@linux.intel.com>,
Riku Voipio <riku.voipio@iki.fi>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
Laurent Vivier <laurent@vivier.eu>,
Markus Armbruster <armbru@redhat.com>,
qemu-ppc@nongnu.org, Igor Mammedov <imammedo@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <rth@twiddle.net>,
Artyom Tarasenko <atar4qemu@gmail.com>,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [PATCH 3/5] linux-user: Use lookup_cpu_class()
Date: Thu, 18 Apr 2019 01:52:08 -0300 [thread overview]
Message-ID: <20190418045208.GE25134@habkost.net> (raw)
Message-ID: <20190418045208._Zc22WnZvEqxAjzw3moHkiZCYdQfoPFscvshl9tsXPE@z> (raw)
In-Reply-To: <20190417025944.16154-4-ehabkost@redhat.com>
On Tue, Apr 16, 2019 at 11:59:42PM -0300, Eduardo Habkost wrote:
> The return value of cpu_get_model() is just a CPU model name and
> never includes extra options. We don't need to call
> parse_cpu_option().
Oops. I was wrong. linux-user also supports extra features in
the "-cpu" option, so we do need to call parse_cpu_option().
e.g.: this worked before:
$ qemu-x86_64 -cpu Nehalem,+popcnt /bin/true
and now this is broken:
$ qemu-x86_64 -cpu Nehalem,+popcnt /bin/true
unable to find CPU model 'Nehalem,+popcnt'
I will drop patches 2-5 from my queue. Sorry for the noise.
--
Eduardo
next prev parent reply other threads:[~2019-04-18 4:52 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-17 2:59 [Qemu-devel] [PATCH 0/5] Remove qdev_get_machine() call from ppc_cpu_parse_featurestr() Eduardo Habkost
2019-04-17 2:59 ` Eduardo Habkost
2019-04-17 2:59 ` [Qemu-devel] [PATCH 1/5] cpu: Rename parse_cpu_model() to parse_cpu_option() Eduardo Habkost
2019-04-17 2:59 ` Eduardo Habkost
2019-04-17 5:21 ` David Gibson
2019-04-17 5:21 ` David Gibson
2019-04-18 11:07 ` Igor Mammedov
2019-04-18 11:07 ` Igor Mammedov
2019-04-17 2:59 ` [Qemu-devel] [PATCH 2/5] cpu: Extract CPU class lookup from parse_cpu_option() Eduardo Habkost
2019-04-17 2:59 ` Eduardo Habkost
2019-04-17 5:22 ` David Gibson
2019-04-17 5:22 ` David Gibson
2019-04-17 5:41 ` Markus Armbruster
2019-04-17 5:41 ` Markus Armbruster
2019-04-17 13:55 ` Eduardo Habkost
2019-04-17 13:55 ` Eduardo Habkost
2019-04-17 2:59 ` [Qemu-devel] [PATCH 3/5] linux-user: Use lookup_cpu_class() Eduardo Habkost
2019-04-17 2:59 ` Eduardo Habkost
2019-04-17 5:23 ` David Gibson
2019-04-17 5:23 ` David Gibson
2019-04-18 4:52 ` Eduardo Habkost [this message]
2019-04-18 4:52 ` Eduardo Habkost
2019-04-17 2:59 ` [Qemu-devel] [PATCH 4/5] bsd-user: " Eduardo Habkost
2019-04-17 2:59 ` Eduardo Habkost
2019-04-17 5:23 ` David Gibson
2019-04-17 5:23 ` David Gibson
2019-04-17 2:59 ` [Qemu-devel] [PATCH 5/5] cpu: Add MachineState parameter to parse_features() Eduardo Habkost
2019-04-17 2:59 ` Eduardo Habkost
2019-04-17 5:25 ` David Gibson
2019-04-17 5:25 ` David Gibson
2019-04-17 5:45 ` Markus Armbruster
2019-04-17 5:45 ` Markus Armbruster
2019-04-17 5:45 ` [Qemu-devel] [PATCH 0/5] Remove qdev_get_machine() call from ppc_cpu_parse_featurestr() Markus Armbruster
2019-04-17 5:45 ` Markus Armbruster
2019-04-18 3:35 ` Eduardo Habkost
2019-04-18 3:35 ` 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=20190418045208.GE25134@habkost.net \
--to=ehabkost@redhat.com \
--cc=armbru@redhat.com \
--cc=atar4qemu@gmail.com \
--cc=david@gibson.dropbear.id.au \
--cc=imammedo@redhat.com \
--cc=laurent@vivier.eu \
--cc=like.xu@linux.intel.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=riku.voipio@iki.fi \
--cc=rth@twiddle.net \
--cc=thuth@redhat.com \
/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.