Re: [RFC PATCH v2 02/11] qemu: Convert target_name() to TargetInfo API

2025-04-18 Thread Philippe Mathieu-Daudé
On 18/4/25 18:23, Pierrick Bouvier wrote: On 4/18/25 07:02, Philippe Mathieu-Daudé wrote: On 18/4/25 05:01, Pierrick Bouvier wrote: On 4/17/25 17:50, Philippe Mathieu-Daudé wrote: Have target_name() be a target-agnostic method, dispatching to a per-target TargetInfo singleton structure. By def

Re: [RFC PATCH v2 02/11] qemu: Convert target_name() to TargetInfo API

2025-04-18 Thread Pierrick Bouvier
On 4/18/25 07:02, Philippe Mathieu-Daudé wrote: On 18/4/25 05:01, Pierrick Bouvier wrote: On 4/17/25 17:50, Philippe Mathieu-Daudé wrote: Have target_name() be a target-agnostic method, dispatching to a per-target TargetInfo singleton structure. By default a stub singleton is used. No logical c

Re: [RFC PATCH v2 02/11] qemu: Convert target_name() to TargetInfo API

2025-04-18 Thread Philippe Mathieu-Daudé
On 18/4/25 05:01, Pierrick Bouvier wrote: On 4/17/25 17:50, Philippe Mathieu-Daudé wrote: Have target_name() be a target-agnostic method, dispatching to a per-target TargetInfo singleton structure. By default a stub singleton is used. No logical change expected. Inspired-by: Pierrick Bouvier S

Re: [RFC PATCH v2 02/11] qemu: Convert target_name() to TargetInfo API

2025-04-17 Thread Pierrick Bouvier
On 4/17/25 17:50, Philippe Mathieu-Daudé wrote: Have target_name() be a target-agnostic method, dispatching to a per-target TargetInfo singleton structure. By default a stub singleton is used. No logical change expected. Inspired-by: Pierrick Bouvier Signed-off-by: Philippe Mathieu-Daudé Revie

[RFC PATCH v2 02/11] qemu: Convert target_name() to TargetInfo API

2025-04-17 Thread Philippe Mathieu-Daudé
Have target_name() be a target-agnostic method, dispatching to a per-target TargetInfo singleton structure. By default a stub singleton is used. No logical change expected. Inspired-by: Pierrick Bouvier Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier --- meson.build