Recently, a regression was introduced that restricted list of targets returned by target-info by ignoring endianness variants. As a result, qmp query_target output changed compared to previous releases.
Fix that by exporting the full variant, and use that to define arch in target_info, thus giving us back a 1:1 mapping with SYS_EMU_TARGET enum. v2 -- - Add Suggested-by for Yonggang on two first patches - Add test patch from Yonggang Pierrick Bouvier (2): meson.build: export TARGET_ARCH_VARIANT in target config target-info: use TARGET_ARCH_VARIANT Yonggang Luo (1): tests/qtest: check query-target architecture meson.build | 11 +++++++++-- target-info-stub.c | 2 +- tests/qtest/qmp-test.c | 13 +++++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) -- 2.43.0
