Re: [PATCH-for-10.1 v7 2/8] qemu/target-info: Factor target_arch() out

2025-07-08 Thread Pierrick Bouvier
On 7/8/25 10:19 AM, Philippe Mathieu-Daudé wrote: To keep "qemu/target-info.h" self-contained to native types, declare target_arch() -- which returns a QAPI type -- in "qemu/target-info-qapi.h". No logical change. Keeping native types in "qemu/target-info.h" is necessary to keep building tests

[PATCH-for-10.1 v7 2/8] qemu/target-info: Factor target_arch() out

2025-07-08 Thread Philippe Mathieu-Daudé
To keep "qemu/target-info.h" self-contained to native types, declare target_arch() -- which returns a QAPI type -- in "qemu/target-info-qapi.h". No logical change. Keeping native types in "qemu/target-info.h" is necessary to keep building tests such tests/tcg/plugins/mem.c, as per the comment add