From: Eduardo Habkost <ehabkost@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, 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>,
qemu-ppc@nongnu.org, Igor Mammedov <imammedo@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
David Gibson <david@gibson.dropbear.id.au>,
Artyom Tarasenko <atar4qemu@gmail.com>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH 0/5] Remove qdev_get_machine() call from ppc_cpu_parse_featurestr()
Date: Thu, 18 Apr 2019 00:35:27 -0300 [thread overview]
Message-ID: <20190418033527.GD25134@habkost.net> (raw)
In-Reply-To: <87sguhyykr.fsf@dusky.pond.sub.org>
On Wed, Apr 17, 2019 at 07:45:24AM +0200, Markus Armbruster wrote:
> Eduardo Habkost <ehabkost@redhat.com> writes:
>
> > My initial goal was simple: removing the qdev_get_machine() call
> > from ppc_cpu_parse_featurestr() because I want to make
> > qdev_get_machine() available only to softmmu code.
> >
> > Before doing this, I had to make *-user not call
> > CPUClass::parse_features() anymore (it was pointless to call it,
> > anyway).
> >
> > While doing this, I decided to rename parse_cpu_model() to
> > something clearer (parse_cpu_option()).
> >
> > As a nice side effect, now the dependency between machine object
> > creation and parse_cpu_option() is not hidden anymore.
>
> Series
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Thanks. I'm queueing this even though I agree with the comments
at patch 2/5, because I'm already planning to send a separate
cleanup series for cpu_class_by_name() and other related code.
--
Eduardo
WARNING: multiple messages have this Message-ID (diff)
From: Eduardo Habkost <ehabkost@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
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>,
qemu-devel@nongnu.org, Laurent Vivier <laurent@vivier.eu>,
qemu-ppc@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
Igor Mammedov <imammedo@redhat.com>,
Richard Henderson <rth@twiddle.net>,
Artyom Tarasenko <atar4qemu@gmail.com>,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [PATCH 0/5] Remove qdev_get_machine() call from ppc_cpu_parse_featurestr()
Date: Thu, 18 Apr 2019 00:35:27 -0300 [thread overview]
Message-ID: <20190418033527.GD25134@habkost.net> (raw)
Message-ID: <20190418033527.HOegWpaTAaqUtMqgFmHSp0aYS9r_E54Sp3cJeGp1fQ0@z> (raw)
In-Reply-To: <87sguhyykr.fsf@dusky.pond.sub.org>
On Wed, Apr 17, 2019 at 07:45:24AM +0200, Markus Armbruster wrote:
> Eduardo Habkost <ehabkost@redhat.com> writes:
>
> > My initial goal was simple: removing the qdev_get_machine() call
> > from ppc_cpu_parse_featurestr() because I want to make
> > qdev_get_machine() available only to softmmu code.
> >
> > Before doing this, I had to make *-user not call
> > CPUClass::parse_features() anymore (it was pointless to call it,
> > anyway).
> >
> > While doing this, I decided to rename parse_cpu_model() to
> > something clearer (parse_cpu_option()).
> >
> > As a nice side effect, now the dependency between machine object
> > creation and parse_cpu_option() is not hidden anymore.
>
> Series
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Thanks. I'm queueing this even though I agree with the comments
at patch 2/5, because I'm already planning to send a separate
cleanup series for cpu_class_by_name() and other related code.
--
Eduardo
next prev parent reply other threads:[~2019-04-18 3:35 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
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 [this message]
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=20190418033527.GD25134@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.