On 10/7/2026 11:46 AM, Pierrick Bouvier wrote:
> 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(-)
>
This was merged into master (14c00f0e5d4ed837050a7fa1a41e4c1e9ba84cb9).
Regards,
Pierrick