Re: [PATCH-for-10.1 v6 02/14] qemu/target-info: Factor target_arch() out

2025-07-09 Thread Zhao Liu
On Mon, Jul 07, 2025 at 07:19:56PM +0200, Philippe Mathieu-Daudé wrote: > Date: Mon, 7 Jul 2025 19:19:56 +0200 > From: Philippe Mathieu-Daudé > Subject: [PATCH-for-10.1 v6 02/14] qemu/target-info: Factor target_arch() > out > X-Mailer: git-send-email 2.49.0 > > To kee

Re: [PATCH-for-10.1 v6 02/14] qemu/target-info: Factor target_arch() out

2025-07-07 Thread Richard Henderson
On 7/7/25 11:19, 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 suc

[PATCH-for-10.1 v6 02/14] qemu/target-info: Factor target_arch() out

2025-07-07 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