[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is avail
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available |
Date: |
Mon, 25 Jan 2021 15:45:30 +0100 |
Some new users get confused with 'TCG' and 'TCI', and enable TCI
support expecting to enable TCG.
Emit a warning when native TCG backend is available on the
host architecture, mentioning this is a suboptimal configuration.
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Suggested-by: Daniel Berrangé <berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
meson.build | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/meson.build b/meson.build
index 16b2560e7e7..f675c54e636 100644
--- a/meson.build
+++ b/meson.build
@@ -228,6 +228,13 @@
else
error('Unsupported CPU @0@, try --enable-tcg-interpreter'.format(cpu))
endif
+ elif get_option('tcg_interpreter')
+ warning('Use of the TCG interpretor is not recommended on this host')
+ warning('architecture. There is a native TCG execution backend available')
+ warning('which provides substantially better performance and reliability.')
+ warning('It is strongly recommended to remove the
--enable-tcg-interpreter')
+ warning('configuration option on this architecture to use the native')
+ warning('backend.')
endif
if get_option('tcg_interpreter')
tcg_arch = 'tci'
--
2.26.2
- [PATCH v4 0/4] meson: Try to clarify TCG / TCI options for new users, Philippe Mathieu-Daudé, 2021/01/25
- [PATCH v4 1/4] configure: Fix --enable-tcg-interpreter, Philippe Mathieu-Daudé, 2021/01/25
- [PATCH v4 2/4] configure: Improve TCI feature description, Philippe Mathieu-Daudé, 2021/01/25
- [PATCH v4 3/4] meson: Explicit TCG backend used, Philippe Mathieu-Daudé, 2021/01/25
- [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available,
Philippe Mathieu-Daudé <=
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Daniel P . Berrangé, 2021/01/25
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Daniel P . Berrangé, 2021/01/25
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Philippe Mathieu-Daudé, 2021/01/25
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Stefan Weil, 2021/01/25
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Richard Henderson, 2021/01/25
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Stefan Weil, 2021/01/25
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Richard Henderson, 2021/01/25
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Stefan Weil, 2021/01/26
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Alex Bennée, 2021/01/26
- Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available, Stefan Weil, 2021/01/26