From: Paolo Bonzini <pbonzini@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-trivial@nongnu.org, Thomas Huth <thuth@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Replace '-machine accel=xyz' with '-accel xyz'
Date: Mon, 23 Sep 2019 13:52:16 +0200 [thread overview]
Message-ID: <b27bedba-3046-2350-1f7b-7845277be66e@redhat.com> (raw)
In-Reply-To: <87wodzp7vm.fsf@dusky.pond.sub.org>
On 23/09/19 13:30, Markus Armbruster wrote:
> -accel is yet another convenience option. We have so many of them. I
> dislike the complexity they add to the CLI. Here's how this one got in:
>
> commit 8d4e9146b3568022ea5730d92841345d41275d66
> Author: KONRAD Frederic <fred.konrad@greensocs.com>
> Date: Thu Feb 23 18:29:08 2017 +0000
>
> tcg: add options for enabling MTTCG
>
> We know there will be cases where MTTCG won't work until additional work
> is done in the front/back ends to support. It will however be useful to
> be able to turn it on.
>
> As a result MTTCG will default to off unless the combination is
> supported. However the user can turn it on for the sake of testing.
>
> Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
> [AJB: move to -accel tcg,thread=multi|single, defaults]
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Reviewed-by: Richard Henderson <rth@twiddle.net>
>
> Not a peep on why the existing options are so insufficient we must have
> another one.
>
> Our CLI will remain the steaming mess it has become until we reform the
> habits that got us there.
-accel's accel suboption is currently defined as a convenience option,
but it shouldn't be. It's the older "-M accel=foo:bar" that should
become "-accel foo -accel bar" and -accel then is the preferred way.
The existing option "-M accel" was insufficient because it didn't allow
accelerator-specific suboptions; they were all over the place ("-machine
kernel_irqchip", "-tb-size", etc.) and indeed mostly in wrong places.
Paolo
next prev parent reply other threads:[~2019-09-23 11:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-04 5:27 [Qemu-devel] [PATCH] Replace '-machine accel=xyz' with '-accel xyz' Thomas Huth
2019-09-09 17:06 ` Paolo Bonzini
2019-09-09 18:07 ` Thomas Huth
2019-09-23 11:30 ` Markus Armbruster
2019-09-23 11:52 ` Paolo Bonzini [this message]
2019-09-19 10:02 ` [Qemu-devel] [Qemu-trivial] " Laurent Vivier
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=b27bedba-3046-2350-1f7b-7845277be66e@redhat.com \
--to=pbonzini@redhat.com \
--cc=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--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 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).