From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: Stefan Weil <sw@weilnetz.de>, Thomas Huth <thuth@redhat.com>,
Richard Henderson <richard.henderson@linaro.org>,
"Daniel P . Berrange" <berrange@redhat.com>
Subject: Re: [PATCH v3 4/4] configure: Reword --enable-tcg-interpreter as --disable-native-tcg
Date: Sun, 24 Jan 2021 16:49:57 +0100 [thread overview]
Message-ID: <15d52e3f-618a-3ad0-baed-0ae35da94b90@redhat.com> (raw)
In-Reply-To: <c92fdd54-d67c-adfe-66a3-24206b8f4108@redhat.com>
On 1/23/21 7:13 PM, Paolo Bonzini wrote:
> On 22/01/21 14:30, Philippe Mathieu-Daudé wrote:
>> Users might want to enable all features, without realizing some
>> features have negative effect. Rename '--enable-tcg-interpreter'
>> as '--disable-native-tcg' to avoid user selecting this feature
>> without understanding it. '--enable-tcg-interpreter' is kept in
>> for backward compability with scripts.
>>
>> Suggested-by: Thomas Huth <thuth@redhat.com>
>> Reviewed-by: Thomas Huth <thuth@redhat.com>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>> configure | 5 +++--
>> 1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/configure b/configure
>> index 48bd6f48d7a..5e5ff779a69 100755
>> --- a/configure
>> +++ b/configure
>> @@ -1121,7 +1121,8 @@ for opt do
>> ;;
>> --disable-tcg-interpreter) tcg_interpreter="no"
>> ;;
>> - --enable-tcg-interpreter) tcg_interpreter="yes"
>> + --enable-tcg-interpreter) # backward compatibility
>
> Do you really want to break the old option?
I am not breaking it, I'm keeping it, but not listed
in the help. Maybe you meant "not break the old option",
in that case you suggest me to add a warning such "this
option is deprecated and has been replaced by
--disable-native-tcg"?
>
>> + --disable-native-tcg) tcg_interpreter="yes"
>> ;;
>> --disable-cap-ng) cap_ng="disabled"
>> ;;
>> @@ -1753,7 +1754,7 @@ Advanced options (experts only):
>> --with-trace-file=NAME Full PATH,NAME of file to store traces
>> Default:trace-<pid>
>> --disable-slirp disable SLIRP userspace network connectivity
>> - --enable-tcg-interpreter enable TCI (TCG with bytecode interpreter,
>> experimental and slow)
>> + --disable-native-tcg enable TCI (TCG with bytecode interpreter,
>> experimental and slow)
>> --enable-malloc-trim enable libc malloc_trim() for memory
>> optimization
>> --oss-lib path to OSS library
>> --cpu=CPU Build for host CPU [$cpu]
>>
>
> The problem here is that for some CPUs there is no native TCG... I
> mean, what's unclear in "exprimental and slow"?
OK, we can skip this patch then.
>
> Paolo
>
next prev parent reply other threads:[~2021-01-24 15:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 13:30 [PATCH v3 0/4] meson: Try to clarify TCG / TCI options for new users Philippe Mathieu-Daudé
2021-01-22 13:30 ` [PATCH v3 1/4] meson: Explicit TCG backend used Philippe Mathieu-Daudé
2021-01-22 13:30 ` [PATCH v3 2/4] meson: Warn when TCI is selected but TCG backend is available Philippe Mathieu-Daudé
2021-01-25 9:50 ` Daniel P. Berrangé
2021-01-22 13:30 ` [PATCH v3 3/4] configure: Improve TCI feature description Philippe Mathieu-Daudé
2021-01-22 13:30 ` [PATCH v3 4/4] configure: Reword --enable-tcg-interpreter as --disable-native-tcg Philippe Mathieu-Daudé
2021-01-23 18:13 ` Paolo Bonzini
2021-01-24 15:49 ` Philippe Mathieu-Daudé [this message]
2021-01-23 18:13 ` [PATCH v3 0/4] meson: Try to clarify TCG / TCI options for new users Paolo Bonzini
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=15d52e3f-618a-3ad0-baed-0ae35da94b90@redhat.com \
--to=philmd@redhat.com \
--cc=berrange@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=sw@weilnetz.de \
--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).