mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
cpus.c: add additional error_report when !TARGET_SUPPORT_MTTCG
While we may fail the memory ordering check later that can be confusing. So in cases where TARGET_SUPPORT_MTTCG has yet to be defined we should say so specifically. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
72c1701f62
commit
c34c762015
4
cpus.c
4
cpus.c
@ -202,6 +202,10 @@ void qemu_tcg_configure(QemuOpts *opts, Error **errp)
|
|||||||
} else if (use_icount) {
|
} else if (use_icount) {
|
||||||
error_setg(errp, "No MTTCG when icount is enabled");
|
error_setg(errp, "No MTTCG when icount is enabled");
|
||||||
} else {
|
} else {
|
||||||
|
#ifndef TARGET_SUPPORT_MTTCG
|
||||||
|
error_report("Guest not yet converted to MTTCG - "
|
||||||
|
"you may get unexpected results");
|
||||||
|
#endif
|
||||||
if (!check_tcg_memory_orders_compatible()) {
|
if (!check_tcg_memory_orders_compatible()) {
|
||||||
error_report("Guest expects a stronger memory ordering "
|
error_report("Guest expects a stronger memory ordering "
|
||||||
"than the host provides");
|
"than the host provides");
|
||||||
|
Loading…
Reference in New Issue
Block a user